« first day (1437 days earlier)      last day (3515 days later) » 

9:00 PM
@SecondRikudo ftr here's how I'd write it pastie.margaine.com/e4beb091-a66a-4ab0-ba8e-4493441fe9c5
it's easier to look at imho
 
You just inlined the variable, right?
return 'foo' over var a = 'foo'; return a;?
 
no
look at where the return is
I just chain everything
anyway, I think the issue is here
         var promiseArray = ids.map(function (itemId) {
            return ebay.findItemDetailsAsync(itemId, apiKeys['ebay']['production']['app-id']);
        });
        return Promise.all(promiseArray);
but I'm not sure.
pinging petka_ about it
 
You also need to use equals() and not == for comparing strings. stackoverflow.com/q/513832/139010Matt Ball 1 min ago
my god, 169k rep
and he mixes up java and js D:
 
@SterlingArcher well, he has a golden js badge, and almost a golden java badge...
 
I bet he's drunk
 
9:05 PM
does using `.bind` create a copy of the function? I am curious about which is best practice, given var fn = function(x){};
fn.bind(this,1);
vs
function(){ fn(1); }
 
@TravisJ it does create a copy
 
I thought it did
So using bind there wouldn't be best practice then right?
 
@TravisJ your examples are not really similar
 
As far as if that were to go in a callback where this was not being used
 
use named functions instead of anonymous ones please
 
9:07 PM
function fn(x){}?
was just as a demo
 
yeah, but I'm not sure what you mean without names
as I said, they're not really similar as is
 
I agree. But just using bind to call the function when `this` is not going to be used makes no sense is what I was curious about. Here is a larger example
function fn(x){ console.log(x); }
function run(func){ func(); }
//using anon callback
run(function(){ fn(1); });
//using bind
run(fn.bind(this,1));
Is using bind excessive here versus using the anonymous function?
 
oh, I see
no, it's not excessive
it's an ok use case
the 2nd argument of bind isn't often used
 
@FlorianMargaine about damn time
sucks having to render/store static pages just for search engines
 
yup
maybe I'll finally be able to use SPAs at work...
never done any...
 
@FlorianMargaine - Is the anonymous function going to perform better than bind?
 
m59
How does it move??
 
user2620028
lol Loktar.... thats awesome.... how is that printed engine holding up at 2000rpm?
 
hahah idk
 
9:21 PM
@TravisJ yes. Your choice should be on the readability side though.
also, bind is slow, but the ending function runs faster than the anonymous one, I think
take this with a grain of salt
 
user2620028
I imagine they put motors in it and recharge it very often and it is used for moving around car shows..... or it doesn't have one in it at all lol
 
hm
 
If it overheats does it just melt?
 
carbon fiber?
 
9:28 PM
Is there any way to monkey patch a WebSocket instance via chrome debugger when the scope is unknown?
 
@coding_term Welcome to the JavaScript chat! Please review the room pseudo-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.
 
I think there's a ... :wait for it: ... coding term ... for that
No? ok. :(
 
.. nah.
I've gotta change my name.
 
I hope this girl is genuinely interested in programming. We need more women in the field
 
user1596138
Although I've never wondered... I'm going to find out what having 4 wisdom teeth removed at once is like. They better give me all the drugs. All of them.
 
9:34 PM
It sucks
You get vicodin and have to eat soft food for a couple weeks
and your mouth is constantly throbbing in pain
 
user1596138
I'm quitting smoking.
 
user1596138
Not getting 4 dry sockets.
 
Have somebody film you coming out of surgery
 
user1596138
Lol
 
People are so funny straight out of wisdom teeth surgery, and they never remember a single bit of it
 
user1596138
9:35 PM
I've had surgery before and was fine..
 
Monkey patching objects with chrome - anyone?
 
Sorry, I don't even know what monkey patching is
 
user1596138
I'm going allllllll the way to sleep for 4 haha. I was gonna let em do local anaesthetic but nope.
 
@Jhawins yeah dude, go under. I'd flip shit on local
 
user1596138
Lol my brother ordered a whopper from the nurse when he was under local
 
9:38 PM
lmao
 
user1596138
He broke both bones in his forearm a d for some reason they couldn't put him all the way under and put plates and screws in under local.
 
user1596138
And he ruined my 4 wheeler to get in that situation lol
 
Damn son
I barely remember the ride to the hospital with my knee. Shock and blood loss made me blackout
 
user1596138
JS room gathering idea: everyone come watch me do surgery drugs
 
user1596138
I showed you the xray of my ankle right? Broke a piece of the bone clean off in the joint lol
 
9:42 PM
yeah lol that was fucked up
 
user1596138
But whatever they gave me in the IV before I even went into the operating room knocked me out. They said I'd start feeling warm and sleepy and in like 5 seconds I knew I was going out right there haha
 
user1596138
It was scary tho cause they were like nah this definitely won't knock you out an I was like my consciousness is flying out the window as you tell me this
 
They couldn't give me pain meds in the ambulance cause I lost so much blood they couldn't risk me going unconcious
All I remember is 2 fingers shoved an inch into my leg
and then waking up post ER surgery in the worst pain of my life
 
user1596138
They didn't do my surgery till Monday. O broke that piece off on Friday.
 
user1596138
Lol damn. Yeah I had to wait 3 days for surgery with a piece of bone broken off and being pulled on in opposite directions by tendons
 
user1596138
9:45 PM
But my mom bought me DQ so it was all worth it
 
@royhowie lol exactly!
 
user1596138
I only took 4 of 75 vicodin they gave me too lol. That shit just made me angry
 
75? Jesus, they only gave me 20 for my knee, and I only used 10
They're still sitting in my moms medicine cabinet, expired as fuck
 
9:50 PM
@BenjaminGruenbaum I liked reading that
 
@BenjaminGruenbaum The Egg
It's plagiarised.
@royhowie This is the reason why I don't buy Hollywood films.
I already bought the god damn thing, why the hell are you reminding me that pirating is bad?!
 
It's not for you D:
 
@SecondRikudo It's not really "plagiarized." There's credit given at the end of the post.
 
@m59 I literally just came across the same thing! facebook.com/…
 
m59
lol
 
How can I go about making my Q+A less broad? stackoverflow.com/questions/25943488/…
 
m59
Is it bad form to go on a down-vote rampage against people who don't accept answers? Asking for a friend. — Mason Bryant Sep 12 at 21:33
If it wouldn't be a nuisance to the moderators, I'd say we form a mob and spam all their posts with angry comments.
 
10:13 PM
It's definitely bad form, though. That's serial voting (for better or for worse). It's also why the accept answer stat is no longer shown.
 
@m59 Ugh, I hate it when people don't accept answers
 
@rlemon what am I looking at here
 
view original picture - there is a hole under the bridge for water to pass through.
 
how the hell did I write watch instead of water
I swear sometimes my hands just type whatever the fuck they want and ignore my brain
 
10:14 PM
@rlemon your fingers are possessed
 
It's the delirium tremins
 
I do it all the time.
 
@rlemon I think it's your brain ignoring you
 
@m59 I feel as though there should be a way for the community to vote on the accepted answer, if the OP has disappeared for a lengthy period of time.
 
also, Gary Oldman is amazing.
 
10:16 PM
before you know it, it starts ignoring warning of impending doom from your colon
getting old is great
 
m59
Yeah, several people have suggested that, but main is helpless, imo.
 
I only just realised that's the same guy from 5th Element and Harry Potter
 
m59
I guess it does the two things it needs to do (helpful resource, makes someone a ton of money)
 
nahh but really, I'll often type the complete wrong word. the only commonality being the first letter. it's like my brain saw the first letter and said "okay hands, you do what you want with it"
@monners and hannibal
 
twss
 
10:17 PM
I have no clue it was him
 
@rlemon but still, I don't understand the significance of the hole
 
@rlemon What character does he play in Hannibal again?
 
what it's purpose is? or why it was a risky click?
@monners the main bad guy
i'd have to look up his name
 
what is its purpose in the context of a reddit post
and yeah, why is it a risky click
 
Mason Verger
 
10:19 PM
@rlemon You mean the movie, right? Not the tv series?
Holy shit!
 
@Mosho the original picture is just a nice picture. the hole under the bridge serves to let water pass through because it is probably a stream in heavy rain
 
agreed
 
You're right! This guy's amazing!
 
the risky click is because the title of the link was "I'd fill that hole" which usually means something sexual.
@monners inorite!
 
That'd make a good anti-open cut mining protest domain name
 
10:21 PM
he isn't my favorite character in all of the films, but that is the point.
he is an amazing actor though
 
I loved him in 5th Element, and loved to hate him in Hannibal
 
@rlemon so I'm not supposed to shit bricks
how disappointing
 
m59
Is it wrong if I keep deleting and reposting this stackoverflow.com/questions/25811693/…
:)
 
@m59 I tend to be less cordial.
 
10:23 PM
@SomeKittens re: boardgame -- make up your own. chicks love that.
 
the "i want this" button, it does nothing :(
 
@royhowie Never underestimate people's desire to overcomplicate things for the sake of sugar coating
 
@monners That particular question saddened me. I think my solution was so great (if I can say so myself).
 
10:26 PM
He's gonna need one that dispenses preparation-H by the looks of it
 
@rlemon Is it just me or is he shitting bricks?
 
!!joke
 
@rlemon That didn't make much sense. Use the !!/help command to learn more.
 
because it looks like he's shitting bricks
from his bottom
 
they're actually plastic
sorry
 
10:27 PM
!!epic
1 message moved to Orphan GIFs
 
the bot unoneboxes after 90seconds
!!yesss
just wait.
 
I know, but i'm trying to populate that room
1 message moved to Orphan GIFs
All your GIF are belong to us
 
hmm, this laptop is pretty cool
just discovered swiping the pad with 2 fingers is scrolling
 
Whatcha get?
 
and 3 fingers is volume control
 
10:32 PM
 
3 finger volume control'd piss me off to no end
 
two finger scrolling is great
 
really
I like it
 
I don't like that my laptop has some super stupid buttons on the touchpad
 
My new keyboard has a dedicated click wheel for volume anyway :P
 
10:33 PM
they are not marked, you just have to guess
 
@Mosho what type of laptop?
 
a fairly cheap fujitsu
$500 but has an i5, 8gb and a touch screen
I'm satisfied
 
@Mosho linux or windows?
 
there are actually buttons at the bottom there
left and right.
 
10:34 PM
windows, and it's 17'' I think
 
trying to left click on something, end up right clicking.
 
That sucks
 
I have those too
 
I hate it
 
I love that everything on my MBPro is customizable
 
10:34 PM
but I don't always have room to pull the mouse out
 
scrolling is reversed here though
like an airplane
 
overall, I would recommend system76.com/laptops/model/kudp1 to anyone who wants a large screen, but good hardware
 
I'm definitely going for another fujitsu in the future
 
best investment I've ever made
 
10:36 PM
Same
 
cheap, and I have nothing but praise
 
I haven't used a laptop with a better trackpad than the one on my rMBP
 
Expensive and I have nothing but praise
 
decent price and I have everything to praise
 
I was going to wait for the next rMBP for the 850M nvidia, but I couldn't wait another year
 
10:37 PM
but a laptop for me is purely for development. I have desktops for anything else.
 
What's the r in rMBP for?
 
don't really need a GPU
 
retina
 
ah
 
mine runs my games with the built in Intel GPU
so I don't mind not having a dedicated one
 
10:38 PM
I've got a beefy desktop for that
and I didn't want to run windows on my laptop
 
Don't think I'll ever buy another desktop that isn't solely for gaming
 
@rlemon I only have a laptop, so I appreciate being able to play games
 
the screen is so small. I couldn't enjoy it
 
17 inches baby
 
dual 24" wide and i'm still thinking about getting a third
 
10:38 PM
@monners I think I'm going with a media-centered PC next
hook it up to my projector
 
@Mosho same with my laptop
 
get a bluetooth gamepad for the games I want to play
 
enough for me
 
but projectors with good resolutions are expensive af
 
not me :P
 
10:39 PM
and I also have 2 27'' and a projector at home
 
@Shmiddty Did that once, now I just run everything through Apple TV and nas
 
yea i'm looking at 30" 4K
 
I would like to play a few games
 
maybe donate these to the GF
 
@rlemon wait for the 5k from dell
 
10:39 PM
fuck dell
 
I'm satisfied with my 17 inches
 
dude, i'm not getting a dell ™
 
I don't like dell either, but they're the only one stitching together two 4k screens
 
Apple Cinema displays are the bomb
 
(unless someone else is, I haven't checked)
 
10:40 PM
Sooooo clear
 
are we not starring sexual innuendos anymore
 
@Mosho I was going to do it
but I resisted
 
Not yours, no
 
Apple has some really nice displays. I just don't like their company, computers, or Operating systems
 
lol
 
10:41 PM
@rlemon please don't tell me you're windows master race
 
no, I just hate Apple
 
@rlemon Why?
 
@rlemon You just need someone to teach you how to use it properly
 
ahaha
 
@monners +1
 
10:41 PM
I did QSA for elearning for 5 years
I've used mac OS plenty
 
Honestly, Linux is ugly af. I need to use Unix for development. That leaves Mac. It helps that their products are pretty.
 
I'm not huge on OSX, but I like the form factor of my MBP
 
not every OS is for everyone.
I don't like the mac experience. I prefer windows over mac that way (albeit windows 7, I am not huge on 8)
 
I don't get that
I can barely tell the difference
 
I don't get how people like chocolate ice cream, but they do.
 
10:43 PM
@royhowie windowz master race 4lyfe.
 
I've had many .NET devs that've had to switch to OSX for iOS development and complained about but I can't do X, Y and Z. Five minutes later they be like Mind. Blown.
 
My biggest Apple peeve is the company itself, but their products aren't really appealing either.
 
@Loktar haha. I probably use linux most :/
 
@KendallFrey ^ exactly
 
side note: when I got this rMBP, I had to stop programming for like 2 days! I kept opening sublime text and the code looked so crisp I couldn't do anything but stare
 
10:43 PM
if we're talking hours logged
 
Ah well, all the more Apple for me! :D
 
@rlemon mispinged :P
 
@monners ".NET devs" -> they might as well be working in scratch with all that drag and drop
 
lol
 
you have no idea what you're talking about
 
10:44 PM
(clearly it was a generalization)
 
I got it.
 
@royhowie uhhh... what makes you associate .NET with drag-n-drop?
 
@royhowie Mac devs they might as well be not working since they just care about looking cool anyway
 
!!s/generalization/joke/
 
@monners That didn't make much sense. Use the !!/help command to learn more.
@monners (clearly it was a joke) (source)
 
10:45 PM
node.js 5ever
 
I've worked mostly in .net (c# and winforms) and now I work in the embedded industry and have been incorporating a lot of js and node.
 
lol
 
@Loktar Ya gotta admit, we do look cool.
 
These poor Stackoverflow devs only know drag and drop
 
Coming from a node.js fanatic perspective, elm-lang.org looks pretty cool
 
10:46 PM
someone should enlighten the makers of Stackoverflow :P
 
@SomeKittens strip settlers of catan
 
@KendallFrey yeah I dont even understand the iphone6 announcement and why people are excited to get theirs..
 
Please, that photo is so inaccurate.
 
@KendallFrey that's been posted at least 10 times in this room over the last week
 
10:47 PM
@monners I haven't seen it
Must have been at night
 
ApplePay is going to be über successful
 
lol
 
and what ever happened to Google Wallet from 3 years ago?
 
^ what will appen to apple pay
 
what happened to Apple Maps?
 
10:47 PM
Honestly, use whatever ya want, just don't call me a hipster because I don't prefer your setup over mine.
 
Apple has 500m credit cards via iTunes
 
hipster.
 
companies have flops all the time. Google pumps out so many products they can afford failures. they have huge wins
 
so hip
 
so thigh
 
10:48 PM
like it or not, we're all going to be paying from our phones in 2 years
 
Yeah but Apple got McDonalds on board
 
@rlemon eh they just have a stanglehold on the search industry and ad market :?
@monners omfg dont forget U2!!
 
@royhowie not me
 
so that shit ain't goin' anywhere
 
That will sell ALL the products
 
10:48 PM
I'll be paying from my bitcoin account while riding my jetpack.
 
@Loktar Come on, I was being serious
 
@rlemon did you see the BTC ATMs they opened?
 
@monners lol me too :P
 
@Loktar I'm talking about the stuff they release. stuff like Google Pages was a huge flop, gmail on the other hand..
 
the U2 thing was so lame man..
 
10:49 PM
@Loktar And android didn't have the same thing with what's his name
 
@Loktar did you see the video
where they touched fingers
so awkward
 
yes
 
RE: Apple vs PC unsubscribe
 
had to turn it off
 
10:50 PM
@royhowie I think you are being sucked into marketing. companies have been toting they will own the monopoly forever, they almost never do and in the next two years I can assure you Apple will not own the market place.
 
so excited for new iphone omgggg
 
@monners yeah… I want to stop. It's like being in the trenches during WWI. No one wants to be there, but we all keep chucking grenades anyway.
 
that's not a bad analogy
steals it
 
yeah the only difference is you guys are using grenades from the war of 1812 :(
 
@monners was the first thing on my mind
 
10:51 PM
> These grenades are bigger and so new!
 
idk, when does anyone ever want to be in any war
 
@Mosho please never
 
@Mosho Booby war?
 
I stand corrected erected
2
 
Surely such a thing exists
 
10:52 PM
Im just glad ET 2 was confirmed honestly
best thing that came out of the apple announcement
 
@Mosho Ok, that was star-worthy
 
@Mosho finally got my email then?
 
@rlemon Clearly "everyone" won't be using it, but I have no doubt that it'll be successful. There's just such a large customer base and credit card companies have reason to promote it. (Anything that makes paying easier is good.)
 
arguing over companies ^
 
@royhowie that is a huge assumption
it is unknown how it will do until it is released and been under scrutiny for at least a year
 
10:54 PM
I think it's analogous to touchid. Apple got bashed—all the android companies were like "that feature is pointless"—and now look at the market…
 
> My companies X product will do so well, I have no personal stake, I just like giving them my money so I believe.
 
we can continue this conversation in a year
 
we wont though :(
 
everyone will have already forgotten
 
10:56 PM
@Loktar not google
google never forgets
 
@rlemon oh I mean they will be such failures
 
praise almighty google!
#googlemasterrace4lyfe
 
> You guys remember that one pay thing... what was that called? Damn was like a year ago.. can't remember now.. oh well
 
> You mean credit cards?
 
> something like that... but proprietary and notorious for leaking celebs info
 
10:57 PM
@Loktar wasn't that because of weak passwords?
 
> ohh they caught that 4chan dude a long time ago man. relax, apple has our backs.
/r/circlejerk aside, you are making bold claims
so we're gonna tease you ;)
 
trying to hit 135
 

« first day (1437 days earlier)      last day (3515 days later) »