« first day (2131 days earlier)      last day (3042 days later) » 

19:01
Look, i'm a room owner on stackoverflow.
panties drop
Stop please
I'm not sure why Travis has attached to me
Huh... github's responses are slightly weird.
Your response are slightly weird.
@iKlsR enough dude, let's not stir pots. @Trasiva likewise
19:03
-----------------|----------|----------|----------|----------|----------------|
File             |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
-----------------|----------|----------|----------|----------|----------------|
 bundle/         |    24.53 |      3.5 |    20.85 |    26.09 |                |
  test.bundle.js |    24.53 |      3.5 |    20.85 |    26.09 |... 8,8169,8188 |
damn, I thought I had covered line 8169
@iKlsR and you're a mod?
jesus christ the bar is low at blender
I must be missing half a conversation, here..
@rlemon I mean...it is blender.
Triggered
@Luggage you're not, just a troll
joined and explicitly stated they were trolling
1 hour ago, by iKlsR
I have lost my knack for trolling. Wrong room probably.
19:05
ohh, ok. That was nice of them.
got angry when nobody bit
@ssube next time kick on sight if somebody comes and says that lol
The average age of this room is like 17 anyway, e for effort
@SterlingArcher I was hoping they were good at it and would be funny :(
I would more have thought the average age of this room was like.. 23
19:06
the first few comments were pretty decent, but then it didn't go anywhere
@SterlingArcher well rlemon being 12 brings it down a bit
@jon how does someone like that become a mod?
@TylerH those are Canadian years
Guys, I turn 30 soon :(
19:07
@rlemon wow you're not kidding, he is actually a moderator.
I'm not sad about being old, but I figured I'd have more accomplished by now
@rlemon then go do things?
@rlemon I got just over two years until I hit that myself. :(
@TimPost can you look into iKlsR for innapropriate moderator behavior?
@rlemon yeah isn't Trudeau like 30? And he's Prime Shirtless Guy Minister
19:07
@ssube not like that, I bought the house, but I figured I'd have a wife and kids by now
those a bit behind
Well, you could fix both of those.
fix the kids before you fix the wife or you'll get stuck
2
that's not going to look very good out of context, will it?
My goal is to be working for a better company before I hit 28. I don't think it's realistic before I turn 29.
eh, good, bad, depends on where you stand, I s'pose
my mom gets on my case sometimes about grandkids. I told her I need to be married first, my brother pipes in with "pft, I proved that to be a myth"
imgur.com/Paf7tZX thank god for closed door office.
that was a terrible run
19:13
@rlemon don't you need to do the dance of the feather and stork before you can get preggo?
#NativeCanadianProblems
no I'm a modern native, we just wait for someone to lose the college fees at the slots before we procreate
> Please sir, don't take my car I'll win the next hand
Too late, Gambles With Paycheck. Me and Branch of Holly must now raise baby with your sacrifice.
Did I nail it?
I nailed it.
@rlemon Yea, my parents are on my case about grandkids too. Thanks to my crazy sister, they've gotten the grandparent bug.
I'm just holding out till my nephew is old enough to babysit
free daycare fo life
:D
Compared to callbacks, is the only advantage of promises that they're invoked synchronously?
@SvetanDimoff nope, not even a little
My grandmother thinks she's whispering sometimes and I heard her bitch about me never bringing women home
"is the only advantage of promises that they're invoked synchronously?" ... what
This was the first I've ever seen her actually scared for me lol
she thinks you're playing for the other team?
or just gon die alone
19:18
With those eyebrows? Definitely the former.
why not both?
She thinks I'm gonna die alone because I've never had a girlfriend
THEN PULL THE EFFING TRIGGER WITH RED#2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
I mean, I have, just never for more than a month and not show off to grandma worthy lol
@rlemon That didn't make much sense. Use the !!/help command to learn more.
19:19
So bring home Steph and stick her dentures.
@rlemon lol I told you she's not a red head, I was misled by lightning in the picture
@rlemon I've been telling him the exact same fucking thing.
I swear on me mum, I'll send her a note with []yes []no on it for you
Dude, fuck that, I'll fly down there and tell her what's up myself.
you big old baby
@Trasiva she knows what's up
19:20
Actually, I'll drive, it's cheaper.
$20 says she's about 2 dates from doing it herself
$50 says she jumps his bones next date to prove a point.
I'm thinking of asking Steph to be my date to my brothers wedding, but I gotta warn her it's a lot of family to meet and I won't be able to sit with her a lot cause I'm best man lol
@SterlingArcher do it
Don't think, do.
19:21
do it
I mean, that basically secures the 'couple' card
It does yes, but I don't want her to be lonely and at the potential mercy of my family
Holly was for my brothers wedding
she just got drunk and danced with my aunt all night
(my aunt is only 38)
I almost flew to Florida for a wedding once on promises of coke and nudes, so you can ask this sweet girl to dress up and go with you.
19:23
@ssube but then they announced they only had pepsi so you bailed right?
I'll ask my brother first, he'll know what to do lol
!!afk standup
@SterlingArcher dude, I'm telling you
ask her
@rlemon I would have. I hate pepsi.
but no, I just hooked up with the girl when she got back
19:23
then once that works out bring her to Canada ohhgodIneedanothercoupletohangoutwith.jpg
@SterlingArcher The Council of Dating has spoken. Ask the woman, now.
@Trasiva well maybe not now
What are women?
I need to see if I can find a plus one for this wedding on Saturday.
@Luggage you know the people you see running when you roll by in your boxster, blazed af? those
19:24
@Luggage those things that look kinda like your mom
Might be too late though, what with the reception and all.
@rlemon mailboxes?
lol
@Luggage uh, no, mailman doesn't usually go elbow deep in the mailbox
damn
19:26
@ssube Holy shit.
it's ok, it's only vulgar in context, which doesn't exist on the internet.
Wow, I almost choked to death on my water from that.
I think you have a drinking problem.
3 hours ago, by Trasiva
@Luggage Fuck you, I just spit water.
Amongst other things.
Plus, I try not to laugh while I'm in the office.
19:29
...listen, is this an intervention?
Because if so, we got other things to worry about.
!!afk vape cc @SterlingArcher omg you wanna vape now don't you
the other half of that search: chat.stackoverflow.com/…
...
You know what? I got nothing.
@ssube @ndugger I might be up in the Minneapolis area next spring to visit my sister.
Hi
I wanted to ask... When you use an API you prefer to use pure js ? or some library like jquery?
fetch
19:41
@Victornez depends on what for.
@rlemon I'm a little confused with this..
if jquery's already there.... why not. but i won't include jquery just for that.
ajax, nope. it is crazy easy without.
dates, fuck dates. moment to the rescue
@Victornez well there is not one library that will fit all needs
@Trasiva that's like 4 years away
Let me explain....
19:42
jQuery does a bit of the DOM and a few utilities, many of which I don't need today. however many other libraries (like moment.js) are still useful for specific tasks
My experience with API's is basic.
But I've used for example Wikipedia API
And it's easy
so you mean web-endpoint-api's ??
Just the URL.
@ssube Well, it'll take that long to save up for the gas, and I doubt I'll be able to take anymore vacation before then.
But now, I'm using a API with KEY
the skyscanner API
19:43
well... generally, if it requires an api key, you don't do it on the client.
And I can't use correctly.
Ummmm I get it
google apis is an exception though
yeah, it's logical.
should have opened up with what type of api you're talkign about :D
@KevinB bearer tokens are API keys for the client
19:44
you said jQuery, so I assumed you meant a web-api like developer.mozilla.org/en/docs/Web/API/Fetch_API
@rlemon jeje yeah, sorry.
So, if i'm going to use that in the backend, should be used with something like nodejs or python?
Can you recommend me some lecture, blog post or tutorial about something like this?
Like using an API with Key
uhhh
that is pretty broad
I am getting a very strange error with webpack :\ Error: illegal operation on a directory when I try loading a route directly
yeah, I understand.
are you concerned about exposing the key ??
19:48
Yeah
The key is private
not 'recent' but read this
but often, if they're giving you a js 'private key', you understand it isn't actually private
Thank you
what do you mean exactly?
a lot of it is security through obscurity which isn't security at all
unless I'm just dense and you can protect is sufficiently.
but I don't think there is
JWT and bearer tokens and that stuff helps keep your shared secrets more secret
but you are still working with a shared secret in most cases
@rlemon if you're dense then security through obscurity probably works against you :-P
19:52
;)
ummmm I get it
thank you a lot
I'll read the blog and I will research more about that
Thanks
user1596138
20:09
Wtf
user1596138
When did Prime become 3 day shipping???
...what?
user1596138
Almost every single thing I look up is Prime shipping (3 days)
@Jhawins been that was for a bit for me now
user1596138
I just wanted a phone case
user1596138
20:10
Well wtf. I pay for this lol
Uhhh
I opened a web chat and bitched. "you say 2 days, I'm paying for 2 days!"
dude cancelled my order and 1-day'd it for free
user1596138
Yeah it's absurd how can they just switch it on us. I never saw anything about this lol
Still two days for me...
@Trasiva go to checkout
user1596138
20:11
Only certain items.
That is in checkout.
it will update sometimes to 3 days
that isn't the final checkout
not on .ca anyways
user1596138
Most items are 3 days now. 3 days is showing as if it's the default prime option for me.
It is on mine
user1596138
Look up batteries for an LG V10
20:12
If I click the next button, I have to pay for it, lol.
user1596138
Couldn't find anything with 2 day. It's all Prime 3 day
@Jhawins you should not get that from amazon
user1596138
And no more $3.99 upgrade to 1 day.
user1596138
@Trasiva yes it is. It's all the same. I can find 2 day items too, that's not the point.
user1596138
Look at a different one.
$20 after shipping, iirc
user1596138
@ssube oh nice. It's not for mine anyway
mine says FREE TWO DAY SHIPPING then lists 3 days from now
user1596138
I have 2. The other one needs a battery so I can sell it.
20:14
Top is non-amazon prime, bottom is a prime item.
You're right about the expedited shipping costing a little more though.
Man, my suggestions just went to fuck though, lol.
@rlemon Yea, definitely wait until it's on Netflix or Redbox.
honestly, probably won't even watch it
Oh, I'll probably toss it on while I'm fucking around on my laptop.
> everyone is looking at you for translations
> holds up sign that says "HUMAN" in english
really?
you made that your trailer?
20:23
I mean, it's not like Forest Whitaker is in a habit of doing bad movies.
meh, I don't look at the cast to determine if the writing / directing will be any good
The problem is that fucking trailers these days seem to either sell the movie short, or give the whole damn movie away.
@Trasiva that's not a new problem
most trailers aren't made by the same people who made the actual movie
suicide squad is getting sued over the trailer / media making you think letto is a big player in the movie
spoiler, he's got about 10 minutes screen time
20:39
hey guys I need test the db queries I made for the dev database. but on a local copy of it that will stay the same.
so in short I need to create a temporary mongo DB database that I can just re initiate everytime I need to test again
nuke the database before your tests start
run it from an image with clean data
how do I run it from an image ?
any way you want
we use docker for builds
before that we had mongo running on the build agents and let the build script import data before it ran
is there a simpler way like a node module ?
you can prep a test database using a node script, sure
20:45
yeah I'll try that, thanks
!!afk A Pimp named Slickback.
when catching errors with promises, whats the difference between .catch() and .then(function(){}, function(error){})?
@SvetanDimoff the first is good, the second is an antipattern
21:05
Yay the project I've been leading just got funding for a next phase in R&D!
I just got a very weird recruiter call
@rlemon lol :D
@SterlingArcher great :)
@SterlingArcher did you make moaning noises?
Guys, I need a bit of your experience
Does it make sense to keep jasmine spec files next to the source files
keeping them close by is usually good
Or is it better to keep them in spec folder?
I usually use src/main and src/test or something
makes it easy to add resources later to src/res or src/fonts or whatever
ok, I'll go with it
thanks
21:53
Hi guys... I am a total newb in JS, and I am having an issue with an AJAX call that I need made synchronous, can anyone help me out?
@DrunkenCodeMonkey Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
Ok here goes... I have this function:
1 message moved to Trash can
@DrunkenCodeMonkey Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
function GetDescription(imdbId)
{
    var imdbContent = "";
    $.ajax({
        url: sourceUrl,
        success: function (data) {
            imdbContent = data.match("<meta property=\"og:description\" content=\"((?:.|\\n)*?)\" \/>")[1];
        },
        async: false
    });
    return imdbContent;
}
this reads a page, makes a regex match, and returns a group from that regex
if I leave the async:false, everything works ok (I call this function while filling an array), but the browser complains and skips the first call
if I let it run async, the resulting object in the collection has the corresponding property empty

« first day (2131 days earlier)      last day (3042 days later) »