« first day (1647 days earlier)      last day (3316 days later) » 

7:00 PM
@FlorianMargaine Ofc
 
What are some of the libaries you use already? do any of them feel better than others?
 
jQuery is best
 
0
Q: JavaScript - "this" doesn't work when calling Promises instead of functions

Gabriel TomitsukaSo, I recently had a pretty weird problem when developing a library, safe_children. When I was writing the examples, I decided to try making it like this: var child = new Child('otherFile.js', 3 * 60); child.loadScript() .then(child.spawn); This code doesn't work. this points to something I...

 
Bind is the solution
 
@GabrielTomitsuka I don't even see the this keyword in your code
 
user1596138
7:04 PM
@Loktar Oh yeah? lol they look nice. Hopefully nobody gives me shit for lack-of-credit at my age and it works out
 
Array.bind([2], [2]).bind([2], [2])()
Guess what this will print ^
 
@Luggage Was that question directed at me?
 
@Loktar did you ask your wife to find a home for @Jhawins?
 
@Jhawins Have you had a previous apartment/rental?
 
@Catgocat nothing. You don't call any console methods.
 
7:05 PM
@Catgocat ew
 
Credit usually won't be a "no" -- just maybe a higher security deposit
 
You're all WRONG
 
user1596138
@NickDugger yeah I lived in an apartment locally for the duration of my 12 month lease
 
@StevensHaen yes
 
@Jhawins They usually just care that youve rented before and haven't broken a lease
 
7:05 PM
@ssube shutup
 
user1596138
Yeah hopefully they just ask for more money down if anything. I explained my situation a little bit to the leasing staff and they said the most important part is making at least 3X rent... I got that covered now lol
 
@GabrielTomitsuka The sarcastic comments though
Kills me everytim
 
user1596138
I was going to apply at these other places I REALLY liked but they charged a $250 "administration" fee and I'm not 100% sure I'll get approved. So I decided against it
 
I mean you're all talking about job, applications and whatever I'm still in highschool and have to do my english homework
 
@Jhawins Yeah. I told the people I was 22, and they seemed a bit iffy. I showed them my paystub, and they were suddenly very welcoming, lol
erm, 21... I was 21 at the time
 
user1596138
7:08 PM
Yeah they asked for a copy of my offer
 
user1596138
I'm 20...
 
@Luggage I use jquery, have used requireJS and just starting nodeJS. Never used angular.
 
> The enlightenment moment should be: oh, closures are already occurring all over my code, I can finally see them now. Understanding closures is like when Neo sees the Matrix for the first time.
 
user1596138
Application fees are annoying tho
 
I like this
 
7:09 PM
@NickDugger did that at 19. Should've seen some of the looks I got.
 
I was making peanuts at 19.
and I had to finance the peanuts.
 
@Luggage Also, bootstrap, of course.
 
ok, well, none of those are a good api to copy off of.
 
I'm still making peanuts, minimum wage ftl
 
What's "composability" in the API?
 
7:13 PM
@BenFortune get better, noob
 
@Luggage you used to be a peanut tree?
@StevensHaen what's the wikipedia page say it is?
 
yea.
now I make excuses
 
@NickDugger fight me irl
 
hey guys ..need a help
 
pls
 
user2620028
7:14 PM
yeah sure i will take a help
 
@KingshukDeb then ask a question
 
i am trying to set same height for each div inside a div
window.onload=function(){
var heightArray = jQuery(".owl-wrapper>div").map( function(){
return jQuery(this).children('.item').children('.eqheight').height();
}).get();
alert(heightArray); console.log(heightArray);
var maxHeight = Math.max.apply(Math, heightArray); console.log(maxHeight);
alert(maxHeight);
jQuery('.owl-wrapper').children('.owl-item').children('.item').children('.eqheight').height(maxHeight);
};
this is the script i am using
 
Lawd, format it please.
Ctrl+K
 
Ctrl + K or Jsfiddle
 
7:15 PM
 
user2620028
wow where did you find that one nick
 
google
 
this is the site url where i am trying
 
user1648409
Hey guys, can someone tell me why pastebin.com/dXNz3Lnv produces "container is not a function" when activating it twice? on the first go it works perfectly fine...
 
user1596138
> The page at test.baaed.com says:
257,295,295,295,276,295,151,170,314,276,295,276,276,276,189,170,276,295,276,295,276,276,170,151,276,257,314,333,295,295,208,208
 
user1596138
7:17 PM
Ok guy
 
check the add to cart buttons are coming on the product name
 
@NickDugger gooby pls
 
user1596138
Ever heard of console?
 
!!youtube snospis eht
 
yah i know that
 
!!remove
 
@BenFortune That didn't make much sense. Use the !!/help command to learn more.
 
user1596138
2 alerts back to back when I load the page. Not helpin you
 
user2620028
7:18 PM
@jhawins sadly i typically alert as well. hard to forget that i put them there when im cleaning up the code :D . But not on production
 
!!undo
 
@BenFortune You do not have permission to use the command undo
 
@KingshukDeb take the smallest example that will reproduce your problem and paste it into a jsfiddle or something similar
 
._.
!!youtube Snospis Eht: : The Epic Adventure
 
7:18 PM
ok
 
user1596138
@HatterisMad Wuttttttt why at all lol
 
let me try
 
Why isn't that working ._.
 
@BenFortune rekt
 
7:19 PM
@Shiuyin having a variable with the same name as its containing function = not great. Forgetting to declare the variable = golden.
 
user1596138
Breakpoints... I don't even use console unless it's in a closure or there's weird scoping or something and breakpoints aren't really doable
 
user1596138
Shit no I don't use log for closures either. Breakpoints..
 
!!youtube megadeth breakpoint
 
user1648409
7:20 PM
@Jon Dvorak: Oh ok, thanks...
 
user1648409
that was the actual error :)
 
@Catgocat You're late to that party
 
Everybody is talking about that at my school
 
That's like a year old
 
Ok I get it man :(
 
7:22 PM
noob
 
can some one check this
 
user1596138
@Catgocat That's fucked up. Tag it NSFW
 
i need these buttons at the end of the div
 
New Zealand accent, that?
 
user1596138
7:23 PM
The shit you people post sometimes...
 
user1596138
!!afk working
 
@Kin
 
hence i am calculating the highest block height and apply the same to each
 
okay?
 
guys i cant fiddle it only because the issue coming only on the site
 
Ok I stawp now
 
Snospis Eht is the stuff of nightmares.
 
@Catgocat That's not by the original author -- it's not an original. noob
 
The second one is
 
7:25 PM
Might explain why I don't have nightmares
 
Yeah, but it stops at 2
 
@KingshukDeb If the issue is "only coming on the site"; then the issue isn't in the code you're giving us.
 
hey guys, all my badges just disappeared. what about you?
 
user1596138
@KingshukDeb Then we can't help you. You need to isolate the problem you are having.
 
@Sidd \o/
 
7:26 PM
@Retsam then why its calculating 204 first time loading and from second time 308
 
lolol i was on meta
 
user2620028
@Jhawins Because they make me feel warm and fuzzy. They remind me of the good ole 'worst website ever' that was nothing but a very long conversation done in alert boxes back whenever chrome didn't even exist.
 
@KingshukDeb do you neglect to wait for CSS?
 
user1596138
@Sidd Your badges are there..
 
ya thanks man. i was just on meta!
which sounds like a drug, but i mean meta.stackoverflow.com
 
7:28 PM
@JanDvorak i believe window.onload works only after everything loads
 
except for images
or something
 
@KingshukDeb are you adding images dynamically?
 
user1596138
@KingshukDeb when you said it was only happening on the site that meant you have set up an minimal example somewhere else and it's working, right? Please link us to it?
 
@JanDvorak yes they are not static
 
user1596138
Or did you mean you weren't willing to
 
7:29 PM
@KingshukDeb then window.onload doesn't wait for them
 
@Jhawins do you really think i can produce the exact scenario with a small code in JS fiddle
 
@Sidd have you visited cocaine.stackoverflow.com yet?
 
user1596138
@KingshukDeb Yeah that's actually exactly what people do all day here.
 
@JanDvorak then how its working second time page load
 
Oh wow, haven't been rick rolled in ages
 
7:32 PM
@KingshukDeb If you can't even narrow down the problem enough to reproduce it in a fiddle then how do you expect anyone else to solve it?
@BenFortune You must not hang out here much.
 
user1596138
i.stack.imgur.com/mcQtc.jpg : be gone ye beast!
 
user2620028
@jhawins i bugged the php room for like a half hour today with a problem of short circuiting loops. Turned out to be an issue with mysqli variable fetch scoping? Best way to describe it lol it was stupid though.
 
user1596138
Yea I threw the garlic.
 
7:33 PM
buh. Meteor is confusing me. I want to create different types of users... this seems a little annoying to manage
 
@KendallFrey browsers reveals that link at the bottom ;)
 
user1596138
@HatterisMad lol sounds familiar
 
user2620028
@jhawins to something you have done yourself, or something i have bugged you about before?
 
@KendallFrey Haha didn't know of that one!
 
7:36 PM
console.log('foo');
Uncaught SyntaxError: Unexpected token ILLEGAL
 
@Kendall grrrrrrrrr
 
@FlorianMargaine That sounds like a very interesting thing to do as a prank haha
 
probably will lead to craziness
 
s/probably/surely/
 
user1596138
7:37 PM
@HatterisMad something I've done? Idk dude that was vague lol
 
user1596138
Link me the code plz
 
now i suspect that link since people can reroute urls >.>
 
it's fine
you can go
 
user1596138
See if I can figure that out
 
user2620028
@jhawins it was nested $DB->fetch() essentially and the nested one would move the pointer on the parent
 
user1596138
7:38 PM
Well... I would like to say I would've noticed that, but you gave me the damn answer before the question!
 
user1596138
No fun man
 
user2620028
@jhawins well i didn't know that you couldn't nest them. I swear i have been doing that for months
 
user1596138
lol
 
user1596138
But $DB
 
nest what?
 
user2620028
7:39 PM
@jhawins I am working in a really shitty cms
 
user1596138
What did you end up doing making a second connection (lazy) or rearranging
 
user2620028
fetched all of the data and put it in an array and then iterated through the array
 
How is "composability" different to "encapsulation"?
 
@BenFortune When will that be released? I remember watching the trailer like 6 months ago.
 
7:44 PM
@Catgocat June 12th
 
user1596138
@Catgocat You know.... It's in the description lol
 
hm right
noobs
 
but who reads anything these days
 
I bet that movie is gonna fail
 
7:48 PM
looks like they joined Planet of Apes and Jurassic Park 1
 
idk, it's got sexy, sexy man Chris Pratt...
 
chris pratt now rides in a velociraptor?
 
i'm waiting for the next star wars movie
 
dude wtf
 
i hope that they didn't screwed it
 
7:55 PM
I'm just looking forward to Soccerbot.
or BB-8 or whatever
 
learning python.. anonymous functions pfft tryin to copy es6 arrow funcs
 
tryin to copy lambdas
 
ye
lambda x: x == 2
(x) => x == 2
 
@ShotgunNinja lambdas r verbose trolololol
 
lambdas make me squee
 
7:59 PM
@KendallFrey gtfo
 

« first day (1647 days earlier)      last day (3316 days later) »