« first day (740 days earlier)      last day (3067 days later) » 

5:06 PM
@Drew Already posted above
 
thx. I must be delirious
 
@easwee Yay, got two stars!
 
JAL
Is this appropriate for this answer?
Please do not link to other Stack Overflow posts as an answer. If you feel that this question is a duplicate, you will be able to flag it as such with sufficient reputation. — JAL 20 secs ago
 
looks okay to me.
 
Yeah, I think so. Though I don't think 21 rep is enough to vote to close as a dupe
 
5:16 PM
@DavidG what is it? (sorry, I got super busy all of a sudden)
 
he has enough rep to flag
flagging is 15 rep
 
JAL
Oh
I thought it was 50 for some reason
 
var currentFloor = 0;
var position = input.TakeWhile(c =>
{
	currentFloor += (c == '(' ? 1 : -1);
	return currentFloor >= 0;
}).Count() + 1;
 
JAL
maybe that's downvote
 
ah, cool
 
5:18 PM
@Kyll :) it's a fun game
 
Solution for the first one, using Lodash:
_.reduce(input, (level, letter) => {
  return letter === '('? ++level : --level;
}, 0);
 
@JAL downvoting is 125 rep
 
JAL
oh duh 50 is comment
thanks
 
console.log(input.split('').reduce((floor, char) => char === '(' ? floor + 1 : floor - 1, 0)
@Kyll ^
 
Ah, right
 
5:21 PM
@Kyll And part 2? :)
 
lodash has very little usages today.
 
@DavidG Done too. Same solution as above, except I throw when the current floor is below 0 ^^
 
There's a part 2?
 
Yeah!
 
Yeah, pass part 1 and you get the next step
 
5:22 PM
Also
 
@MadaraUchiha yeah read on after you solve 1 :D
 
Sad there's no part 3
 
Like a bonus round!
 
"Count how many days of rehab Santa will need after all these damn stairs"
 
5:22 PM
@Kyll oh, you must not have found it yet
 
@TylerH too easy!
 
I should share my victory on twitter hahahaha
 
@Kyll That's exactly what I did :D
input.split('').reduce((floor, char, i) => {
  floor = char === '(' ? floor + 1 : floor - 1
  if (floor < 0) { throw new Error(i); }
  return floor;
}, 0);
 
@MadaraUchiha Lol, "how can I reuse what I just did in a disgusting way?"
 
Program logic using exceptions though, evil!
 
5:26 PM
How do you guys format a code block?
 
4 spaces
 
Sam
4 spaces at the start of every line
 
or ctrl-k
 
or fixed font
 
@DavidG Evil in code you do in 3 minutes and throw away for ever. Meh.
 
5:27 PM
when you use shift+enter to type on a new line before sending, the "fixed font" button appears next to upload
 
@TylerH Although Lemon's extension make it nicer.
 
std::string steps = "()(((()))(...";
int floor = 0;
for (auto step : steps)
	floor += (step == '(' ? 1 : -1);
std::cout << floor;
 
@MadaraUchiha yeah well when life gives you @rlemon you prepare for the apocalypse
@NathanOliver you can't do it with non code
you have to only do code
so the whole message basically
 
there we go. I get the hang of it one of these days...
 
@TylerH gotta be safe.
 
5:30 PM
@rlemon let me know when you grill with lava
I will be there
 
user4639281
5:43 PM
@rene @gunr Here is my SOCVR Room Owner Nomination
 
Sam
@TinyGiant :D
Hoooray for magic!
 
user4639281
@Sam thanks :)
 
> My goal as a candidate for room owner is be to change anything
 
user4639281
@Kyll Wow. That was a horrible edit lol.
 
6:25 PM
sd deleted
 
6:40 PM
@AlexanderO'Mara closed
 
@TinyGiant thanks!
 
user4639281
@rene Yw, just had to figure out what I wanted to say.
 
@TinyGiant Based on your earlier comments I would have lol-ed if that was an empty gist ;)
 
user4639281
@rene I considered it.
 
6:55 PM
I think that question should be closed as "Too Broad" or "General SW". Thoughts?
 
@Sam 1758S?
 
What's the deal with the little people running around?
In the winter bash thing.
 
all the people SO hopes participate?
but invariably won't, because they have better things to do
 
people looking for JS answers
 
The number keeps changing
Assuming it is a number.
 
6:57 PM
I think it's minutes
it equals out to about 12.2 days
 
When does Winter Bash usually start?
 
no idea, I don't partake
 
Well, it's called countdown.js.
So it's probably a countdown.
 
I'm pretty sure it is minutes; the people change about once a minute
So Monday the 14th is when it starts
 
it was 15 december last year
 
6:59 PM
or the 15th, I guess if we count the whole day
 
time zone matters haha
 
yeah, that would put it at 00:00 GMT on the 15th
or something like that
I dunno, it starts in two weeks
 
user4639281
It is most accurately some time between now and then.
 
@TinyGiant Definitely probably
 
user4639281
7:05 PM
And for anyone reading the transcript after the winter bash has started, it happened some time between then and now.
 
wait, now as in now now? or now as in then now?
 
nowception
 
user4639281
now now then then now.
 
It looks like it's counting down to Mon, 14 Dec 2015 00:00:00 GMT
Well, 1450051200 anyway.
 
user4639281
7:07 PM
Id say it's counting down from now, until then.
 
user4639281
And when it happens, I'll be somewhere between here or there.
 
The Smiths - How soon is now
 
user4639281
If then was now, then the elephants would get out and forget to remember what you said.
 
The elephants aren't leaving
 
7:14 PM
They can't as everyone keeps addressing the elephant in the room.
 
better than redressing the elephant in the room
no one wants to see an elephant's underwear
 
user4639281
Yeah, that would be awkward. No one got the reference?
 
nope
 
@TinyGiant I don't listen to Counting Crows
 
user4639281
7:25 PM
@TylerH You're missing out.
 
user4639281
7:43 PM
@Am_I_Helpful Unclear or networking, either or.
 
And... I'm out of close votes already.
 
user4639281
@Mogsdad I have less than enough to do a full session in the queue.
 
user4639281
We need more close votes.
 
Make that your platform! I'll vote for you!
 
user4639281
Lol
 
7:51 PM
Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny! Ti-ny!
Editor editing time!
 
user4639281
If only I could.
 
user4639281
@Mogsdad Oh you're working on the editor now? Cool.
 
Hey, if Justin doesn't have to keep his promises, neither do you.
@TinyGiant I want to improve the behaviour when a summary already exists.
 
user4639281
K, been meaning to do that.
 
Fixed some Meteor stuff that @Kyll hadn't noticed.
 
7:53 PM
@Mogsdad Didn't I?
 
user4639281
nice nice.
 
user4639281
@Mogsdad What campaign "pledge" is he not fulfilling now?
 
@Kyll "meteor js" --> "Meteor JavaScript", but now "MeteorJS"
 
@Mogsdad Oh, yay
 
user4639281
@Mogsdad Ahh because it was after the JavaScript rule?
 
7:55 PM
@TinyGiant You are absolutely correct, and SO perceptive! You should be a ROOM OWNER!
 
user4639281
@Mogsdad Awe why thank you.
 
hehe
@TinyGiant Done and pulled into master!
 
Master is pleased
 
@TimCastelijns I don't know. Am I offended? Or too busy LMAO?
@Kyll Version 1.5.2.42 of the editor is ready to go.
 
8:16 PM
@Mogsdad does it enforce the Oxford comma?
 
No.
 
then it's not ready to go -_-
 
@TylerH It is, as far as AP is concerned!
Like any other grammatical rule: Find me 1000+ posts that need it fixed, and I'll add it.
 
okay, here
 
I don't think one could reliably programmatically insert an Oxford comma.
@TylerH haha
 
8:22 PM
I'm sure it's possible
 
Wonders if elitism is known in Oxford
 
@TylerH You'd have to divine what the OP intended. Just because they wrote "I love my parents, Bon Jovi and Lada Gaga" doesn't mean their parents AREN'T Bon Jovi and Lada Gaga. Inserting an Oxford comma would change the meaning, but may not be correct.
 
@Mogsdad it wouldn't be wrong, technically
just a little redundant
 
user4639281
@Mogsdad uhh...
 
@TinyGiant Whiner.
 
user4639281
8:29 PM
lol
 
Silly me.
 
@cimmanon That kinda crosses the NSFW line
 
whoops, i forget some people have jobs ><
 
@TinyGiant Fixed, thanks for catching that.
 
user4639281
8:37 PM
No thank you for fixing that.
 
user4639281
@Clo status
 
SOCVR ChatBot version 1.0.0.0, running for 4 hours, 30 minutes and 59 seconds.
 
@NathanOliver We've never discussed Stalin in here before.
 
@approxiblue I've noticed you've started reviewing! I'll update your session record.
 
8:42 PM
@TinyGiant I've noticed you've started reviewing! I'll update your session record.
 
@Mogsdad Not the Stalin part but the images of the strippers.
 
@NathanOliver Oh, thanks for the clarification. I wouldn't have figured that out. </sarcasm>
Trolling well today, me is.
 
Jeez. My sarcasm detector must be broken. I'll have to call GeekSquad
 
JAL
I'll fix it for $20
cash or check, all funds go to the members-only jacket fund
 
@NathanOliver And you just missed their Cyber Monday sale! Didn't you see the emails?
 
user4639281
8:45 PM
I can put a fix in the mail for $10, but I need another $40 if you want a tracking number.
 
FWIW I hear those 2 tyrants actually were pole dancers
 
@JAL Again, thanks @Rene for the really nice jackets! I'm wearing mine now.
 
user4639281
> I want to make something like this (link), but I don't know anything. Can you help me?
 
@Mogsdad your regex-fu is not strong
 
user4639281
@Mogsdad typo
 
limit the detection to two words before a comma
that will cut down on a lot of false positives
 
user4639281
> I am very noob, you can help?
 
@TinyGiant Think I got that one in #4.
@TylerH Good idea.
 
user4639281
@Mogsdad You gave us 3 and 4.
 
user4639281
8:50 PM
​
 
@TinyGiant Did not.
 
Did so, do not
 
Nah-uh.
Ok... I think this has it all, @TylerH @TinyGiant: regex101.com/r/xN0mF6/6
 
user4639281
@Mogsdad RegEx FTW!
 
how do I run it
 
9:01 PM
@Sam can I opt out of Closey's tracking?
 
Sam
@approxiblue We're currently working on that option.
 
cool
 
Sam
Atm, we'd have to manually update the DB.
Which I can't do at my end.
 
@TylerH Gimme a sec, testing...
 
oh it is automatic
@Mogsdad What about cases where no commas are used at all
> Don't forget to pick up John Daisy or Sally from school.
 
9:03 PM
@TylerH That has been left as an exercise for the reader.
Isn't John Daisy a name in Alabama?
 
Well yes they'd probably get exercise by picking those people up but it won't help them learn grammar.
@Mogsdad It's a name anywhere, though probably not a common one
but Daisy is a given name, not a surname
if that's what you mean
 
But no Oxford comma between TWO items. So...
 
yeah, those are three items
 
Not if John Daisy is one person.
 
but it's not
I reject your limitations and demand 100% accuracy. I'm the customer, I'm always right!
 
9:06 PM
No problem, of course you are! We have that planned for a future release.
 
Wow, the first problem of advent of code is done in a single line in Java 8
 
@Mogsdad very crafty of you
 
user4639281
We accept pull requests.
 
Now I don't even want to speak to your manager
 
Did I just beat you C# guyz?
 
9:08 PM
You beat me but I was using C++
 
(well 3 if store the input in a separate file and open the file)
but still
return instructions.chars().map(c -> c == '(' ? 1 : c == ')' ? -1 : 0).sum();
 
user4639281
Even better: Magic.do()
 
I was waiting for that one.
 
Sam
@Tunaki Pfft, try beating: return 4;
 
@Sam guaranteed to be random though
 
9:11 PM
 
I don't speak Reggaex
 
@gunr2171 Too tired, won't be able to play TF2 tonight =/
 
Nov 2 at 20:29, by Mogsdad
If you want to find a substring with a rhythmic pattern, should you use reggaex?
 
user4639281
@Mogsdad Yeah, that one.
 
user4639281
Oh, yeah I was reviewing.
 
9:17 PM
Now I need some tunes...
 
@Kyll good, I got swamped with stuff tonight :(
 
user4639281
> You have no more close votes today; come back in 2 hours.
 
user4639281
@Clo end session
 
@TinyGiant You don't need to run this command anymore! Your session automatically ends when you reach either 40 CVs or the end of this UTC day.
 
user4639281
Fine then, be that way.
 
9:20 PM
Later guys
 
Sam
Cya
 
user4639281
Cya
 
Time to see if my snow tires can deal with freezing rain. If I don't log on later, the answer is NO.
 
Sam
Have fun
 
Second part of Day 1 is also a single line :D
 
9:26 PM
@Mogsdad Oh, going skating, eh?
 
@rene I've noticed you've started reviewing! I'll update your session record.
 
Sam
@LynnCrumbling We may never know...
 
@rene done
 
9:57 PM
@Closey next 10 tags
 
Refreshing the tag listing. Please wait...
@rene The next 10 tags are: 139, 70, 65, 58, 51, 42, 36, 35, 33, 32
 
I tell you what, the adjustible-height standing desk industry sure is ripe for disruption
 
@rene It looks like you've finished reviewing . Is that right?
 
@Closey yes
 
a freaking corner desk of two slabs of wood is $2700
 
9:59 PM
@rene Ok, I've marked it as a completed tag.
 
and that's after a $1000 markdown
I bet I could do that for like $300 or $400
 
@rene You've completed 40 CV review items today, thanks! The time between your first and last review today was 28 minutes, averaging to a review every 42.2 seconds.
 
user4639281
Someone is going to pay $1000 for markdown? I gotta get on that boat.
 
lol
 
Did you try IKEA?
 
user4639281
10:01 PM
The swedes always have good cheap furniture.
 
For the Java-ish around here, feel free to drop by my Advent of Code GitHub repo
yes this is spam
 
hmm no I didn't try Ikea but I'd like it to last more than 6 months
 
Flagged
 
user4639281
@TylerH Then buy some duct tape at the same time.
 
user4639281
If you don't already have vice-grips and wd-40 then there is no hope for you anyway.
 
user4639281
10:16 PM
^^ Meta
 
@TylerH I usually only go for the meatballs & beer, but last time I was in there they had good adjustable stand up desks, in the "office" section, with long warranties. They also had flimsy ones in "home office".
Oh, btw - the drive was OK, thanks for asking.
But I slipped on my walk. I'd sue the owner, but he's got nothing worth taking.
 
user4639281
lol
 
Sam
@Mogsdad Lol
 
wat
they have beer at Ikea
how have I not known this
299
Q: PHP expects T_PAAMAYIM_NEKUDOTAYIM?

Peter TurnerDoes anyone have a T_PAAMAYIM_NEKUDOTAYIM?

PHP; not even once
 
user4639281
Couldn't have possibly come up with a more descriptive name for :: eh?
 
Sam
10:28 PM
@gunr I've found the missing member of your TF2 squad.
 
user4639281
@Sam He's been in here before too.
 
user4639281
Not recently apparently.
 
Sam
Lol, didn't know that.
 
@TylerH Depends on the jurisdiction, I imagine, but yes - ours has a nice selection of beers and wines.
Funny... I think that the person who edited that question is from my home town. Currently living in my new home town. Small world.
 
@Mogsdad ... and Swedish meat balls?
 
10:33 PM
@rene Oh, yeah. With lingonberry sauce...
 
user4639281
Always gotta get some swedish meatballs.
 
Anybody wanna close some homework? stackoverflow.com/q/34031162/1677912
 
user4639281
Tunaki, you ninja.
 
Sam
^
 
:)
 
10:57 PM
I finally reached 10k! :D
is the next tag for delete votes in the legal-related cleanup. Use your best judgement, as always.
2
 
Sam
:D
 
Most of the questions in have delete votes already
This is so nice actually being able to view the number of delete votes on questions
 
Sam
Congrats!
 
user4639281
@KevinBrown Congrats
 
alright !
 
user4639281
11:06 PM
I wish I had 10k
 
wish I had 1
 
user4639281
one what?
 
k
nevermind, thought you meant moolah
 
I just want 673 more.
 
user4639281
@Drew I was confused.
 
user4639281
11:09 PM
@Mogsdad k's?
 
he almost be a TU @20
 
@TinyGiant $k, yes... but rep, just a few more!
 
user4639281
I only need 2600 more reps.
 
I have been hunting for hours for questions to upvote, and mean the vote. My eyes hurt
 
@Drew you have cast more up's than down's
not like me...
 
11:14 PM
my downs got the questions deleted. And therefore my vote count. It is probably not what you think
At least that is my theory
 
user4639281
Downvotes help the community more than upvotes do.
3
 
I've been spending my rep there. But they just give it back to me when they delete it !
so numbers are deceiving
 
user4639281
11:30 PM
That's why I like that Stack Overflow does not notify you of rep lost. I don't consider a -1 from downvoting a post a loss.
 
yeah I often laugh to myself the hysteria funk that would put people under
But when you downvote a post, get a -1, they delete it, you get the rep back, vote never happened, and people say "you don't downvote much" meh
 
My daily reputation list is longer than Jon Skeet's one. Just because all of the DV :)
 
user4639281
I rarely upvote content, but the activity I usually engage in mostly exposes me to solely low-quality content.
 
user4639281
I gotta run, I'll be back on later.
 
ttyl
 
JAL
11:55 PM
Another day, another meta post
0
Q: Are answers such as "Clean and Rebuild" NAA?

JALI recently ran into this answer in the First Posts review queue. To me, this should be a comment, not an answer, as it is not a concrete answer to the question and more of a suggestion, possibly even asking for clarification from the author. If cleaning and rebuilding did in fact answer the que...

 

« first day (740 days earlier)      last day (3067 days later) »