« first day (1816 days earlier)      last day (3029 days later) » 

12:00 AM
lol
 
I'm sure it will be okay.
 
I kept hearing that kittens are making cookies for me....
wat?
:P
 
So I maxed out of all the items...
 
Wow. 150 million cookies per second.
Now, what is the objective of this game?
 
IDK>
 
12:02 AM
How do I win?
 
max out on everything!
 
> News: Crowds of kittens with hard hats found located near facilities.
lol
 
Achievement Unlocked: You can stop now.
 
@Hosch250 By partipating more on PPCG instead of CR.
@Hosch250 DONT!!!!
NEVER GIVE IN!!!
 
40 Quadtrillion cookies.
 
12:04 AM
I WON!
 
NaN cookies is your goal...
 
Easy: Game.Earn(NaN)
 
Game.Earn(10eNaN)
 
See?
I won!
I used up everything!
 
Get 1500 of everything.
 
12:06 AM
tis not possible!
 
Yes, it is.
 
1
Q: Look, up in the sky! It's a super duper array!

DJ McMayhemInspired by this question from our rivals friends over at code-review. Definitions A super array is an array where each new element in the array is larger than the sum of all the previous elements. {2, 3, 6, 13} is a super array because 3 > 2 6 > 3 + 2 (5) 13 > 6 + 3 + 2 (11) {2, 3, 5, 11} i...

 
I have 1500 of everything but Prisms, and am almost there.
 
how?
 
I have NaN cookies.
 
12:09 AM
not possible...
 
What is wrong with my grandma's? :P
 
You added features to them to do work faster...
 
It was a joke.
 
News: the known universe filled with cookies, no vacancies open
and now, back to work...
goodbye cookie clicker!!!
 
Achievement unlocked: Negative void
Reset your game with 1 nonillion cookies baked.
 
12:19 AM
o_o
 
Someone wanna help me with a regex?
(JS flavor)
Split a string along /, but not if the / is escaped.
 
Over 2k of everything.
So, how do I win the game?
 
Is this guy a sock of @Doᴡɴɢᴏᴀᴛ or @CᴏɴᴏʀO'Bʀɪᴇɴ?:
 
12:30 AM
I don't speak spanish
 
that is italian BTW...rofl!
yeah, he isn't a sock of @CᴏɴᴏʀO'Bʀɪᴇɴ
 
@TanMath same thing ¯\_(ツ)_/¯
 
@ՊՓԼՃՐՊՃՈԲՍԼ What's the escape character?
 
they are very similar... but two seperate languages!
 
12:33 AM
@ՊՓԼՃՐՊՃՈԲՍԼ I CAN HELP YOU
 
I just reset and earned 9 more achievements.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ OMG PLZ DO
 
i'm so glad i'm comfortable with brainfuck because it generates free rep on easy questions
5
 
@ՊՓԼՃՐՊՃՈԲՍԼ (?:^|[^\\])\/ might work
 
> "escpaed\\/not/".split(/(?:^|[^\\])\//g)
<  [ "escpaed\/no", "" ]
I don't think it does
 
12:35 AM
It does, but it also takes the char before the slash.
So close!
 
Too bad negative lookbehinds aren't supported
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Ikr. Why JS why???
 
.replace(/(^|[^\\])\//g,"$1\x00/").split("\x00")
try that
 
I NEED PYTHON HELP! ANYBODY KNOW PYTHON?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Hmm... doesn't work as well.
 
12:40 AM
;)
 
@CᴏɴᴏʀO'Bʀɪᴇɴ That's all right, though. It's just for something that you may see within a few days/hours.
 
@ՊՓԼՃՐՊՃՈԲՍԼ Can I have an example of what you're working on?
@ՊՓԼՃՐՊՃՈԲՍԼ Oh?
 
var s = 'foo\\/bar/baz\\/foo/bar\\/baz', re = /\\.|(\/)/g, indices = [], m;
while ((m = re.exec(s)) !== null) {
    if (m[1] !== undefined) indices.push(m.index);
}
indices.push(s.length);
var split = [], prevIndex = -1;
indices.forEach(function(index) {
    split.push(s.slice(prevIndex + 1, index));
    prevIndex = index;
});
console.log(split);
@ՊՓԼՃՐՊՃՈԲՍԼ
 
Oh hey @TanMath, did you read that link I posted a couple nights ago?
 
@El'endiaStarman hello... I started it...
 
12:41 AM
@Doorknob That... was quick.
 
@Doorknob oh my... O.O
 
Anyway, I am working on this challenge:
5
Q: Create a CleverBot

user81655CleverBot is a conversational AI that works fundamentally by repeating responses from real humans it has heard previously. It starts off pretty dumb, but once the database becomes (a lot) larger it begins sounding more like an actual person! How your program should work Output Hi! Receive the ...

 
> indeces it's "indices" last time I checked.
 
@Doorknob Not sure if you spelled it "indeces" on purpose, or if you don't know it's "indices"...
 
same trick as this answer, just with a bit more boilerplate to "split" the string: stackoverflow.com/a/34298263/1223693
 
12:42 AM
and writing a python answer...
 
@El'endiaStarman HAHA NINJA'D A MOD
YEEEEEEEEEEES
 
@El'endiaStarman gahhh, I made that same mistake with one of my recent challenges and Alex pointed it out >_<
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Only partially!
 
goes to the dark corner of the chat room
 
12:43 AM
@Doorknob You know the plural of "vertex", right?
 
@El'endiaStarman vertices?
 
oh
I see
 
Aaand now you should remember it more easily. :)
 
@Doorknob Not quite.
 
12:43 AM
thanks :)
@ՊՓԼՃՐՊՃՈԲՍԼ worked for me in the console. Doesn't work for you?
 
that looked waay too weird
 
hehehehehe
 
( ͡° ͜ʖ ͡°)
 
[ "foo\/bar", "baz\/foo", "bar\/baz" ] is the output I'm getting, which is correct, as I understand your task @ՊՓԼՃՐՊՃՈԲՍԼ
 
it keeps giving me a buffer error...
import re,random
c=random.choice
d={}
print "Hi!"
i=raw_input()
r=re.sub
d["HI"]=i
l=["HI",r('\W+','',i).upper()] #list of responses
print i
while True:
 j=raw_input()
 if j=="break":break
 try:d[l[len(l)-1]]+=[j]
 except:d[l[len(l)-1]]=[j]
 try:print c(d[j]);l+=[r('\W+','',d[j]).upper()]
 except:print d[c(d.keys())];l+=[r('\W+','',d[c(d.keys())])]
 print l,d
TypeError: expected string or buffer
after the following exchange:
Hi!
hi...
hi...
HI
HI
 
12:50 AM
it should give you a line number right?
 
@Doorknob I wanted one regex to do it all... but that's okay. I have found a workaround.
Thanks for the help, y'all.
 
One regex...to parse them all...
3
 

« first day (1816 days earlier)      last day (3029 days later) »