« first day (751 days earlier)      last day (3063 days later) » 

10:00 AM
Hey @Tunaki :).
 
!!/coffee to start this day
 
@Tunaki brews coffee for @Tunaki
 
nice thanks
 
@Drew Ah, saw your edit. You saved me Thanks again :P
 
np
 
10:19 AM
Win
 
:(
 
user3956566
@Tunaki :D
 
@Thaillie You could try be more quick next time :P
 
Survey: who is listening to what atm?
 
@KevinGuan Or you could try being slower :p
 
10:23 AM
lol
 
@Tunaki Van Canto - Last Night of the Kings
 
Wake up @SmokeDetector
.
 
Win
 
(y)
 
So who want to see the worst Python code in the world? (Not sure, maybe mine isn't the worst)
 
10:37 AM
Isn't Python a worst kind of code generator anyway?
;)
 
@Tunaki Hmm...not, it can make the clearest code...but also can make the worst :P
 
@KevinGuan I would like to see it :). It can't be worse then :p
 
@Thaillie That's fine. Here is the link (the code is too long for chat )...don't ask me how to copy that. BTW, run it use Python 3.x.
Oh, Here's a Github Gist version: gist.github.com/K-Guan/9d5fe17f16bdc63b5b9c (which is more easy to copy the code)
 
-1 Not enough Zalgo
 
@Tunaki Still not enough?
So however:
<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>
Try copy and paste the above regex, you'll see an egg.
:(
 
11:17 AM
@cybermonkey hey :)
 
^it's even funnier as there's nothing wrong with their machine, just them not knowing how to use a computer properly
@Tunaki hi :)
 
Is it me or when you select a queue to review, the page shown is blank?
 
11:32 AM
checking...
@Tunaki works for me, no repro
 
@Tunaki No repro here
 
well I no longer repro also, must have been a temporal thingy
 
Blame caching or CF, which ever fits best
 
...or Shog9.
 
!!/blame
 
11:41 AM
@Tunaki It's ArtOfCode's fault.
 
@Tunaki Try reboot your computer's system and your system.
!!/blame
That's fp.
 
11:59 AM
(removed)
 
Dec 8 at 6:29, by Kevin Guan
(removed)
Let's see some funny things, click: chat.stackoverflow.com/search?q=eggs&room=41570
 
user3956566
12:15 PM
woo hoo got notable q badge
 
@MrsEd notable q badge ? Which one? :)
 
Congrats (actually I was asking about which badge called notable q :P)
 
2500+ views
 
Oh, never got it.
Because I always answer
 
user5461770
12:19 PM
boo
 
PANIC, THERE'S A GHOST
 
user3956566
@Ghost hello hello hello :D
 
user3956566
@Tunaki lol
 
user5461770
lol
 
user3956566
hey glad you're still here ghostie
 
user5461770
12:21 PM
somehow i can chat...lol... until I am found and booted
 
user3956566
@Ghost you shouldn'ta left :)
 
user5461770
meh, religious discrimination is beyond what I can tolerate
 
@Tunaki Where? I didn't see any ghost.
 
user5461770
@KevinGuan boo
 
Huh? I hear someone said boo, but I can't see him.
 
user5461770
12:24 PM
such is my power
 
Rob
did I miss something? what religious discrimination?
 
user5461770
on a different site
 
Hmm, when I try opening Ghost's SO profile I get the "Page Not Found".
 
user5461770
i deleted all my memberships
 
@Thaillie Enough, where's that ghost? Are you all kidding me?
 
user5461770
12:26 PM
@KevinGuan BOO!!
 
Wow...that's really noise, but still can't see the person :P
 
user5461770
of course not, I am a ghost!
 
@Ghost It's strange that it still show your parent users rep and badges here chat.stackoverflow.com/users/5461770
 
user5461770
lol!
 
@Thaillie Wait, that's not a joke...how is that possible? Hidden a site profile via Edit Profile (or something like that)?
 
user5461770
12:30 PM
i deleted my profiles a long time ago
 
@Ghost Then how can you talk here?
 
user3956566
Ghost and I go way back
 
user5461770
@KevinGuan beats me - some rooms I can, some I can't
 
Wow, a real ghost.... HELP ME!!!
 
user5461770
bwahahahaha!
 
12:36 PM
Okay, so now I have 4,925 Reputation, and I got 70 rep today. And will get 100 rep tomorrow evening because I answered a bounty question. So however I can do nothing until tomorrow evening and I still can be a 5k user. So what I mean is: May the Jon Skeet God be with me.
 
user5461770
awesome and boo!!
 
user3956566
@KevinGuan you're in the wrong room silly chat.stackoverflow.com/rooms/97599/…
 
user5461770
lol
 
@MrsEd Oh yeah, that one :P
 
user3956566
12:39 PM
@KevinGuan yep that one ;)
 
user5461770
i wwonder how long it will be til i am booted
 
Awh :( I can't find anything about the deleted parent user still showing rep :p. It could also be possible that I'm just terrible at searching meta :p
 
user5461770
such is my power
 
user3956566
@Ghost you really are a ghost
 
user5461770
i'm liking this - being an SO ghost!
 
user5461770
12:43 PM
perhaps i should rejoin SO...
 
user3956566
@Ghost Yes please... shakes head it won't take you long to get a high rep back
 
user5461770
probably just SO
 
@Ghost So why did you delete the profile?
 
user3956566
@Ghost do it
 
user5461770
@KevinGuan i got grumpy-cat
 
user3956566
12:45 PM
@KevinGuan you should prob take that into another room.. go here chat.stackoverflow.com/rooms/97709/room-for-mrsed-and-ghost
 
1:02 PM
What to do with this question? stackoverflow.com/questions/34240106/…
 
user3956566
@Thaillie I answered it
 
user3956566
unless it's a dupe it's a valid question
 
user3956566
may be obvious to us, but we have all been new to programming
 
@MrsEd Go to work now.
@Thaillie What's wrong with it?
Never mind, got it.
 
@Thaillie the OP should have tried removing the concatenation to see what would happen
 
1:08 PM
Upvoted all of the things there, except that question.
 
It's such an easy thing to just test and see what happens :p
 
Sam
Afternoon
 
Hey
 
Plop!
> migration rejected from stackoverflow.com 39 mins ago
Meaning?
> This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.
 
@KevinGuan it got closed on the target site
 
1:14 PM
So I'm trying to do Day 12 part 2 with a regex...
It's been 2 hours now
 
@JonClements Hmm...so why does it locked now?
16
A: I asked a really, really stupid question

bjb568Meh… there are worse. And n00bs will forever be duplicating your question if deprived of your question's answer. Rule of thumb: If it's on-topic and will help the community it should stay. If it will help you (and is on topic), it probably will also help the community, so that isn't a problem.

So if it isn't a dupe, then it's a very good question, and it maybe will get lots of upvotes.
 
Rob
if it's a very question? :)
 
@Rob :P Never mind about that.
BTW, I like this answer better:
32
A: Why do stupid questions and their answers get so many upvotes?

Steven A. LoweThere are no stupid questions, there are only stupid people...and they can vote.

So now I'm very stupid because I searched 5 mins for a stupid question, agreed?
!!/blame
Is he in this room?
!!/blame
 
@KevinGuan It's Thaillie's fault.
 
Hmm...yeah, if he didn't post the link of that question, then I can save my 5 mins.
 
1:25 PM
@KevinGuan The blame list is cross-room.
 
1:35 PM
@KevinGuan I don't possibly know what you mean whistles
 
@ProgramFOX Oh, that one.
@JonClements No, I think you know :P
 
Darn it - I would have got away with it if it wasn't for the pesky kids revision history!
 
Actually we also have timeline :P
 
1:52 PM
Don't know if it is a good thing when it takes longer to explain your code and format the answer than writing the code itself.

If it means the answer will be good explained or the code is just too complicated?
 
@Tunaki Just smashed my head against the table, making a regex for part 2 is to hard :(
 
@Thaillie It's been 3 hours now, I can't seem to get anywhere
 
Sam
@Thaillie How much of your head do you have left?
 
My head is fine, but my desk isn't :p
There is a dent in it now :(
 
Sam
1:58 PM
rofl
 
Right now, I'm dropping the recursive part. I just want to match {} containing the text :"red"
 
So glad you can't regex everything....
 
So what are you talking about?
 
But I can't wrap my head around the fact that you might have an object before or after that doesn't have red in it
regex are so hard...
 
@Tunaki Oh, that makes sense.
 
2:01 PM
@KevinGuan Yup that's what I mean :)
 
@Rizier123 However I think, if you want to make a good answer, then code-only really is a bad idea. A good answer always with some great explanation. So always explain the part you think maybe let someone get confused. Another example is this answer of mine. There's 10 upvotes on it because it's a good solution, but if I remove the explanation maybe it can't get them.
 
Rob
I disagree. The best code is self-explanatory. Unless the code is specific to a library, then either question is too specific, or the poster should become familiar with the constructs of the language before asking the question.
I don't mean that explanations are unnecessary, but some answers are perfect with just code without a big explanation
 
@KevinGuan I just wrote an answer and I took a long time to explain my code as good as possible, but now I'm asking myself if this was good or I do this, because the code is too complicated and I should try to make the code simpler rather then trying to explain everything so long. (So right now I'm just reading my answer multiple times up and down :P)
@Rob I kinda agree with you, but the thing is on SO you are here to learn. So if you have code which explains itself + an explanation to it, I think the chances are higher more people understand the answer. So I always try to put both into my answers.
 
2:19 PM
@Rob I'd say it depends, on the programming language and the question and the answer. For example if someone is asking for a regex, but you suggested another way, use str.split() and other things. Like [i.split() for i in data if len(i) > 20]. However if someone knows little Python (like me) this code is very clear to him. But maybe for other newbies, it's not clear enough. So the link to the document, little explain about what am I doing maybe is good.
However if your answer is very basic, then some explain maybe useless. But if your answer is little complex, also there's some functions or methods or syntax which didn't mention in the question, I'd say add some explain.
@Rizier123 So can I see it? :)
 
Also to append to my previous message: I always try to put a good explanation into my answer, in the hope when OP or another SO visitor reads my answer and needs it just a little bit different they understand with the explanation what each part does and are able to modify the code by their own without asking a new question just for a little modification.
(The answer, which I'm meant in my message above. Ideas to improve it are very welcome :)
 
Sam
@Pham status
 
SOCVR ChatBot version 1.0.0.0, running for 3 days, 39 minutes and 32 seconds.
 
Sam
Yeah... still broken.
 
@Rizier123 Me too :P
 
2:28 PM
@Sam What's broken?
 
Sam
@Thaillie Version numbers.
 
@Rizier123 However I don't know anything about , but I think it's very good in format and explain. But don't know it's wrong or correct. (But a wrong answer shouldn't be VLQ :P, and code-only answers sometimes is).
 
@KevinGuan I just put an example what the code does without any code in the answer, so you can/should understand it without knowing the functions/language :P So if you understand the example then I reached my goal(The two code blocks under: So as an example:).
 
morning
 
Sam
Morning
 
2:37 PM
@Rizier123 I like the second code block, it's very clear :P
Morinng
The last output demo also makes sense.
 
@KevinGuan You've completed 40 CV review items today, thanks! The time between your first and last review today was 429 minutes, averaging to a review every 659.8 seconds.
 
Thank you for reviewing 40 close votes today; come back in 9 hours to continue reviewing.
 
@KevinGuan Your last uncompleted review session was 7 hours, 10 minutes and 28 seconds ago. Because it has exceeded my threshold (5 hours), I can't mark that session with this information. Use the command 'end session' to forcefully end that session.
 
Good...
@Closey end session
 
@KevinGuan I have forcefully ended your last session. To see more details use the command last session stats. In addition, the number of review items is most likely not set, use the command last session edit count <new count> to fix that.
 
Sam
2:40 PM
This is turning into some kind of competition, isn't it?
:p
 
@Sam :P
@Closey last session edit count 40
 
Review item count has been changed:
User: Kevin Guan (5299236)
Start Time: 2015-12-12 07:29:51 UTC
End Time: 2015-12-12 14:40:36 UTC
Items Reviewed: [Not Set] -> 40
Use the command 'last session stats' to see more details.
 
Sam
Who can get closest to 24 hours for one session.
 
@Closey last session stats
 
@KevinGuan Your last completed review session ended 45 seconds ago and lasted 7 hours, 10 minutes and 44 seconds. You reviewed 40 items, averaging a review every 10 minutes and 46 seconds.
 
2:41 PM
@Sam Good idea.
However, sleep time. Plop (means good bye) Night everyone.
 
Sam
Cya
 
storing queries in the database > hard coding queries in your code
just fixed a slow query without having to recompile/deploy/restart my application <3
 
@Tunaki Any progress on the regex?
 
Sam
@cimmanon Nice
 
2:51 PM
@Thaillie No. I dropped it, too difficult for me. I switched to parsing the Json explicitely.
 
@cimmanon Nice. That is how our ERP software works at work.
 
16550.534 ms -> 11.475 ms
 
Regex 1 - 0 Tunaki
 
Sam
Lol
 
That is a hell of performance gain
 
2:52 PM
@Tunaki Awh :(, I was looking forward to seeing a regex solution :(
 
I'm counting on you
 
well it was doing a seq scan on 2 different tables with 240k & 100k rows. i forgot a column in the where clause, which caused the query to not use my index
 
Was there a regex question somewhere? I love regex.
 
@Tunaki I gave up 5 minutes ago :p, I couldn't even get the objects out of the string correctly without cutting them in random spots :p
 
@AndrewCheong Advent of code, day 12 part 2
 
2:56 PM
@Tunaki - How do I skip to part 2?
 
Given a well-formed Json String (on a single line), match all the numbers, ignoring any object (and all of its children) which has any property with the value "red" (only for objects ({...}), not arrays ([...])).
 
write a parser?
 
If someone has a pure-regex solution, great kudos
 
You technically can't do this with regex if escaped literals, e.g. \{, might be present. But they probably didn't think of that.
 
as simplification, no numbers are written as a string and no value contain {}[]
 
2:59 PM
Ah, they thought of it.
 
\{ does not exist in my string
 
Puzzle inputs differ by user. Please log in to get your puzzle input.
 
In fact \ does not exists in my input
 
There's no limit to the nesting level?
 
3:02 PM
nope
that's the problem :D
 
Uh...
That's just not possible even in theory then. Unless you just pretend like 20 levels is enough and work with that.
Someone probably brought this up already but...
 
If there wasn't any nesting it would be easy to do :p
 
129
Q: Can regular expressions be used to match nested patterns?

Richard DormanIs it possible to write a regular expression that matches a nested pattern that occurs an unknown number of times. For example, can a regular expression match an opening and closing brace when there are an unknown number of open closing braces nested within the outer braces. For example: public...

 
1 hour ago, by rene
So glad you can't regex everything....
 
Well of course there should be some nesting. But I'm justing saying it's impossible for an arbitrary amount. Unless you're using .NET regex which has a specific construct for it. I think PHP regex since PHP 5.4 has cool stuff for it too.
And this isn Javascript? Javascript doesn't even has lookbehind assertions yet, does it?
is in*
 
3:05 PM
Regex: "The cause of and the solution to most parsing problems"
 
Rob
I mean, you could probably write a function in excel to parse code, but you probably shouldn't. Same goes with using regex to parse to the input in that question
 
Haha, that's a great one @Thaillie.
 
I am torn between writing my own JSON parser for the second one or just rolling my own. 12.1 was a simple linear search and parse.
 
3:08 PM
@NathanOliver Yes it is that's why I so badly wanted to use a regex :D
 
Part 1 was an easy one to do with regex :p, but part 2 is insane to do with regex :(
 
Rob
I missed it, where's the part 1 & 2?
 
adventofcode.com
I am off for a bit. Ill be back on later
 
Sam
Cya
 
Does it have to be a single regex pulling only valid strings or can it be 2 or 3 regexes in multiple passes?
only valid numbers*
 
3:20 PM
@AndrewCheong so I thought of that also, looping over a regex multiple times to account for the recursion
but... ended up more broken than I started
 
Oh, so you can use multiple. Well, I was thinking it'd be easy enough to do one regex substitution pass that just removes the {...}'s with "red".
Then a second pass to just match all the numbers.
 
Easy enough? Okay :D
 
Does the solution just have to be in Javascript?
 
Any language you want
I'm doing it in Java but I guess a regex that works for all language should be possible
 
@Tunaki ...unless you want back references, which JavaScript doesn't have.
 
3:26 PM
well in this particular case, no need for back references... I think :D
Anyway, I dropped the regex and used a Json parser, much simpler :)
 
user3956566
I gotta go to bed, night all :)
 
Sam
Night
 
night
 
Evening
 
3:39 PM
Hey
 
@cybermonkey he posted it on meta now.
 
Users are reprimanded for bad behavior, but moderators aren't psychic; they don't know that anything's wrong unless you specifically tell them (or on the off-chance they stumble on the behavior). — cybermonkey 50 secs ago
 
@cybermonkey Roger.
 
3:54 PM
Please don't post comments as answers. A question without an accepted answer doesn't necessarily mean that it doesn't have an answer which works, it simply means that the user hasn't clicked the good 'ol green tick. — cybermonkey 9 secs ago
 
Rob
4:14 PM
Why is meta.stackoverflow.com/questions/251758/… closed as 'opinion based'? Isn't meta specifically for opinions...?
about SO, that is
 
@Rob its also locked :p
 
Rob
@cimmanon Yeah, but it seems like a perfectly valid meta post to me...
'primarily opinion based' is 99% of meta posts
 
i think its just a case of the discussion spiraling out of control
 
Sam
4:32 PM
@Rob Why did I read that as "onion based [...]"?
2
 
@Sam hungry?
 
Sam
Well, I am snacking.
 
Well, I misread Tunas to: angry?
 
Sam
Well, it is quite easy to misread a fish.
 
Is that because he is greasy?
 
4:40 PM
Are you implying I'm a fish? Do you want me to throw you some JSON to parse with regex?
 
Sam
@Tunaki Bring it on.
 
Oh, I deleted my answer on this meta post but the OP posted a screenshot of it :)
 
Sam
Lol nice
 
Should I undelete it?
 
Sam
It's up to you.
 
4:46 PM
Nah, it doesn't make sense anymore. It did when the post was "this is a bug" but now that it is a feature-request, I don't see the value.
I'll leave my 56 meta-rep points, just like that.
 
user4639281
Boo!
 
Not even scared.
 
Sam
Hey Tiny
 
hi btw
 
user4639281
:)
 
user4639281
5:07 PM
brb
 
those tags...
 
user4639281
5:26 PM
@rene gone
 
OK, I visit ah.nl and now it thinks my current location is 200km from where I am. And that is pretty weird given the fact that we barely have that many km.
 
Ola
 
Hey
 
5:34 PM
already flagged
 
yes
 
I want to leave a comment, but not in the mood to follow up :)
 
5:49 PM
afk / shopping...
 
Sam
Have fun
 
Ciao
 
6:28 PM
!!/alive
 
Sam
RIP
 
Panic, Smokey is dead.
 
Sam
@Pro
 
I saw, pinged Undo.
 
btw both ^ are gone
 
6:31 PM
Yup, though probably not as efficiently as if we had had Smokey
 
Anyone else getting CloudFare issues?
um, not anymore now
 
Yeah, just had some
 
intermittently yes
Possible spam: 1 2 3 <- 3 answers pointing to the same Youtube link all within 15 minutes
 
Sam
user image
7
 
@Sam haha - brilliant :)
 
6:35 PM
Amazing :P
 
Sam
Just couldn't resist. ;)
afk
 
I've removed the spammy bits, all good now.
 
user5503464
hai
 
Hai o/
 
\o
^ awesome picture
@JarrodRoberson I edited it in better shape
 
user177800
6:55 PM
@cybermonkey more like ranty blog post than even too broad, remove the stupid picture that improved it a little bit
 
still no MCVE though
 
user4639281
9 messages moved to Trash can
 
> Tiny Giant has invited you to join Trash can. See your invitations.
3
Thanks!
 
user4639281
Lol
 
you're welcome
 
user4639281
6:58 PM
@Tunaki There's cookies and waffles.
 

« first day (751 days earlier)      last day (3063 days later) »