« first day (2437 days earlier)      last day (2404 days later) » 

11:20 PM
exhibit B, "bad grammar of the internet"
 
Much better meme
 
step 1: make bacteria
step 2: bacteria is made
step 3: ???
step 4: profit
 
Umm, why is this still open?
 
@LeakyNun my stackable sequences answer is constant-memory actually ;)
I was thinking of something else when I asked for the limit on the input
 
@orlp constant extra memory?
 
11:24 PM
@LeakyNun no, constant memory
that is
you could feed the input number by number
and I would only ever require a constant amount of total memory
 
@orlp you did use a pointer as input
 
@LeakyNun well if we're going to be nitpicky, I can choose an architecture where virtual memory will read the input bytes one by one :P
but my algorithm doesn't require the whole input at once
 
an online algorithm!
 
which can also be described as "constant extra memory" plus "online"
ninja'd :(
 
:D
@orlp might I plagiarize your algorithm?
 
11:27 PM
@LeakyNun sure
 
actually I'm not sure what your algorithm is lol
your method of storing frequencies just inspired me to come up with an algorithm
 
my algorithm is just storing frequencies and checking if any card c's frequency ever hits zero
 
hmm
I'm storing frequencies of each prefix
and seeing if any frequency table every becomes not decreasing
 
I really should learn Jelly someday...
the rules are so non-intuitive to me though
 
@orlp hmm
interesting
 
11:30 PM
basically if we counter card c
I do f[c]++; f[c-1]--;
and if c>0 and f[c-1] <= 0 it's not stackable.
 
interesting
you mean <0?
 
@LeakyNun well it depends in which order you subtract and compare :)
if you compare first it's <= 0
 
right
 
in my C answer I only check if it's == 0
and check before subtracting
and once the result hits 0 it can never get positive again
r*=!*l||s[*l-1]--
that's what this bit is for
 
right
 
11:34 PM
I love how dense C can be sometimes :P
@LeakyNun what OS do you run?
 
do you have any suggestion for my answer... although I know you don't know Jelly at all
 
@LeakyNun nope :P
 
Windows 10 Pro
 
rip :(
I wanted to show you a cool answer
I mean I can still show you
7
A: Recreate the Windows ME screensaver as ASCII

orlpC (GCC/linux), 402 353 352 302 300 298 296 288 bytes #define R rand()% x,y,w,h,r;main(c){srand(time(0));scanf( "%d%d",&w,&h);for(printf("\e[2J");x%~w* (y%~h)||(c=R 8,(r=R 4)&1?x=1+R w,y=r&2 ?1:h:(y=1+R h,x=r&2?1:w));usleep('??')) printf("\e[%dm\e[%d;%dH\342\224%c\e[H\n", 30+c,y,x,2*"@J_FHAF__L@H...

it's just not the same as running it :P
 
nice
brb installing VM for linux
 
11:37 PM
@LeakyNun I can highly recommend xubuntu
 
I have a POSTed form endpoint and it does a 302 redirect back to my site's homepage. Is there any reason that redirect should happen as a POST. Spec seems to say it should be a GET
 
@orlp nvm too complicated lol
 

« first day (2437 days earlier)      last day (2404 days later) »