« first day (1346 days earlier)      last day (3603 days later) » 

9:00 PM
my safewords are my current internet speeds xD
 
The universal safe word should be Yahoo
 
user1596138
@RUJordan Wow. It's not that here lol
 
> Bruce Schneier believes safewords are fundamentally insecure and recommends that you ask your partner to stop via public key signature.
 
user1596138
!!afk drive time
 
@Loktar you around?
 
9:00 PM
@KendallFrey oh my god that's brilliant
 
#stackoverflow is down, which means half of developers are now twice as productive, and the other half are useless.
3
 
XKCD hover text
 
@Loktar I made you a background
 
@SomeKittensUx2666 It's probably more like 80-20
 
MURCA!
 
9:01 PM
DEY TOOK ERR JERRBBSS
 
DBDBJERJJAAAAAAAAAAAARRRRRRR
 
Ok, time for work. BBL
 
!!youtube they took our jobs
 
where'd you get that pic of @Loktar? I'm almost turning gay...
 
9:02 PM
@monners Work?!? WORK?!?
 
LOl
 
!!afk looking for something nice to weak to @RUJordan's party tonight. Who knows ;) Maybe i'll get lucky.
 
!!s/L\b/W/
 
@KendallFrey Ok, time for work. BBW (source)
 
wow @rlemon thanks
 
9:03 PM
@Loktar thanks for the funny caps, you saved my regex
 
haha, alright I need to go ship my atari jaguar
 
Oh my god they have a rooster for the "they took my job" derpin xD
 
lol man that image is so retarded its great
> God Bless the U.S. AAAAAA
 
God! Guns! Freedom! Fast food! MURICA!!!
 
@SomeKittensUx2666 the only thing wrong with your tweet is that I'd be twice as productive if the chat was down lol
But i'd be 3x stupid
So there's a specific intelligence:productivity ratio that must be maintained
oh my god, I just realized they took wheatly's jerb
 
9:21 PM
I wonder if the dead chat correlates to the down Main.
 
doubtful
It's hometime for east coasters
 
I'm an east coaster F:
 
It's also late for working people in Europe
 
@copy I hope you're at home?
 
I mean, time to sleep if you have to wake up at 6am
 
9:26 PM
Ugh, I could only wake up at 6am if I lived close to my jerb
Ugh, I could only wake up at 6am if I lived close to my jerb
 
Ugh, I could only wake up at 6am if I lived close to my jerb
 
Living far away from work has a huge downside... if you oversleep you're absolutely fucked
@BadgerGirl did I double post? It said I timed out =x
 
tricksy hobbitses.
 
always timezes out the precious.
 
9:29 PM
I'm not sure how to identify the current user with passport (adding another social network)
 
@StackStatus
Status updates for the Stack Exchange network, including http://t.co/VY1vdMiR. You can also find more detailed updates on http://t.co/uCcZjNx5.
228 tweets, 1.2k followers, following 1 users
 
ouch
Worstall's Law: "In the end, every organization will be run by those who can stay awake in the committee meetings."
 
never used passport
 
it doesn't expose req
It's not supposed to be used for this
 
Surely you can't pass in a req value somehow?
 
9:31 PM
so I can't hook something into session
 
Maybe call a function that returns session data?
Not sure how, but just thinking visibly
 
Passport gives me the data returned from the service (TW, FB, etc) and a done callback
 
this is perfect!
I now have a 2 display setup thingie
 
Passport is as close to code magic as I've ever experienced.
It is like: " don't worry bro, I got this "
 
the other monitor is quite old, but about 1.3 times bigger than my current one
 
9:46 PM
My two monitors cost almost as much as my PC :/
 
@rlemon and that's the problem I'm running into
 
also, with my new THREEjs knowledge I decided to make a new minigame: 'b10k 3D'
all of the possibilities!
obviously, level editing would be quite as easy and intuitive, but still
 
@SomeKittens when I'm done my poop I can try and assist.
 
I guess that I'd have the user edit every layer separately
this is awesome! I can edit the code on one screen and see the result in the other
holy shit! I can even play minecraft in 2 screens now!
even tho the proportions aren't quite right
 
It is really, really fun to go "tsk, tsk, $100k base salary? This is a poor joke, right?"
 
9:57 PM
When cost of living is 87k .. Idk
 
are there any stats on users who have answered questions vs asked?
based on @SomeKittensUx2666 tweet I would think its like 1 to 3 in terms of productive and unproductive devs realistically
@monners ps4 isnt bad
my only issue right now is lack of exclusive ps4 only titles
 
Ah, there's nothing like riding to work in freezing cold rain to wake you up in the morning
 
should I be using a controller or keyboard for Castle Crashers?
nvm game just told me
 
@rlemon My dad's salary when he retired was equivalent to what I started at.
kinda poetic when you think about it.
 
You're picking up where he left off
 
10:03 PM
Is it advisable to build up regex patterns from other regexes?
 
m59
I could use some advice on how to get my passport google/facebook auth to persist when the server restarts.
 
For instance:
this.space = new RegExp("[\\s]*");
this.word = new RegExp("^[\\w]+$");
this.words = new RegExp("(" + this.word.source + this.space.source + ")+");
 
m59
@SomeKittensUx2666 I think I know this one!
You're saying if they are logged in with google, you want to add facebook also?
 
woohoo new work monitors
 
m59
10:10 PM
@SomeKittensUx2666 when you configure the strategy, you just check if they're already logged in. I know a good tutorial, just a sec.
 
10:22 PM
@Loktar Now I'm really temped to get the PS Vita for this live play or whatever you call it
 
m59
@SomeKittensUx2666 dannnnnggg I got railed.
I took a break while SO was down, lol.
 
PS Vita kicks ass
remote play is pretty cool
 
@m59 HOW DID I MISS THAT?!?
 
@Wert I know of no reason why you'd want to do that
 
10:39 PM
@KendallFrey It makes long regular expressions more readable
 
"makes....regular expressions more readable" <- BUAHAHAHA
 
@copy example pls
 
(?:(?:\r\n)?[ \t])*(?:(?:(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t]
)+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:
\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(
?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[
\t]))*"(?:(?:\r\n)?[ \t])*))*@(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\0
31]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\
](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+
 
...and?
 
passReqToCallback beautiful, thanks @m59
 
10:43 PM
😷
 
@KendallFrey The split up version of that regular expression
 
m59
@SomeKittensUx2666 ;D
Anyone looking for a small bit of sidework?
 
@m59 depends
 
@copy is what?
 
m59
I could use some code-review and most importantly tests.
So, it's basically just test writing.
 
10:48 PM
@KendallFrey More readable
 
I can't read it anywhere
 
Because I don't have it
 
I have no idea what you're trying to tell me.
 
@m59 For what, Angular?
 
m59
It would probably be node for now
 
10:51 PM
@KendallFrey I'm presenting you an example of a regular expression that is more readable if it were broken up
 
I'm presenting to you a request for an example.
"X unreadable therefore Y is readable" is quite the solid argument.
 
@m59 Oh, so Mocha stuff
 
m59
@SomeKittensUx2666 yeah, it's probably just a few tests. I've tried to figure out testing on many occasions and it hasn't clicked yet.
 
@KendallFrey Alright, hastebin.com/adekuvexim.nginx
 
"Kendall is a stinky poopoo head therefore it is more readable"
Copy wins.
 
10:57 PM
@copy I can't read that either
looks like someone's trying to build a parser
 
Then you suck
 
@m59 Yeah, I'd be up for that, depending on the time needed.
 
m59
<-- sucks
@SomeKittensUx2666 I'll let you know when/if it's for sure.
My boss mentioned he would contract some help if I needed, so I think that would be ok.
 
@copy Also, that's not doing what the original question was, which is concatenating regexes.
 
Yeah it was mainly for readability but also so I could test each case individually.
Ducked out for a bit to search around.
 
11:01 PM
concatenating strings would be slightly more acceptable, but I'd still only use it for converting dynamic values into regexes
\\\\ someone needs verbatim-strings baaad
 
So you were being a bit Quacky?
 
@KendallFrey Yeah it wasn't exactly ideal just something I was playing around with.
 
playing around is good
 
@Ken
 
Too much and you'll go blind.
 
11:02 PM
@rlemon I think you're thinking of something different.
 
@rlemon You got that right
I found and modified this regex (/"(\w+\s*)+"|'(\w+\s*)+'|\w+/g) on a question which allows you to extract command line arguments of the form arg1 "arg2 option2" arg3 'arg4 option4'
 
I thought the shell does that for you
 
Any idea how to force it to not capture the quotation marks? I couldn't get the non-capturing group syntax to work.
 
@Kendall if you hold it too your ear you can hear the Ocean.
 
@Wert You're using JavaScript, you're stuck
 
11:06 PM
I'm so bored
 
If you used a real man's regex engine, you could do lookbehind
@rlemon bored stiff, as it were
 
@rlemon make awesome canvas demos
 
On mobile :/
 
@KendallFrey Lol yeah found that too. Why doesn't the non capturing group work?
 
11:07 PM
idk, can't see your code
 
I'd be up for TS
 
Maybe when I get home.
Wfh?
 
@KendallFrey Ok like so:
/(?:")(\w+\s*)+(?:")|(?:')(\w+\s*)+(?:)|\w+/g
 
(?:") is exactly the same as "
It's (") that's different, because it captures it into a group
 
But doesn't the (?:...) symbolize a non capturing group meaning the characters inside it shouldn't be captured?
 
11:09 PM
They aren't captured into a group, but they're still matched
 
!!urban wfh
 
@rlemon WFH Working from home - when your slacking off and not wanting to do any work.
 
Ahh
 
I'm actually accomplishing things!
 
Yeah thats exactly what I want. I want them to be match but not captured into the result.
 
11:09 PM
If you don't want to match characters, you have to use zero-width matches, like anchors and lookaround
 
Lunch time hanky panky?
 
JS doesn't support lookbehind
So your best bet is to match everything, and put the important bits in a group for you to extract
 
I'd listen too him. Kendall knows his /shit/
 
s/o\b//
 
@KendallFrey Ok I think I understand now. Thanks.
 
11:16 PM
function doItems(array, methodName)
{
	for (var i = 0; i < array.length; i++)
	{
		array[1][methodName]();
	}
}

doItems(items, "doThing");
this looks ugly
 
window[prompt('gimme a function')]();
 
I need to call this in (at least) 4 places, should I just plop a loop in each one?
I would forEach if it wasn't also verbose. (Want lambda!)
 
11:30 PM
@KendallFrey _.invoke(array, methodName)
oh wait
that seems pretty minimal to me, anyway
 
underscore? not adding a library for shits and giggles
 
What are your general opinions of langs like Coffescript, LiveScript, etc.?
Worth looking into?
 
@KendallFrey yeah, just saying :x I use it everywhere
so your only grief is with writing "function"?
 
with forEach? It's just plain verbose
 
items.forEach(function(el){el['methodName']()})
don't see how you can get any better without lambda
 
11:44 PM
I prefer the loop
 
@NathanJones meh
 
I like coffeescript
there, I said it
 
m59
@SomeKittensUx2666 wow I'm lost. So, my sessions persist on the server (mysql store to deal with server restarts) but I actually lose the session if I close the browser....
I can't see how that's possible. It's like its clearing the cookies only for localhost...
 
11:59 PM
What addons do you have?
 

« first day (1346 days earlier)      last day (3603 days later) »