« first day (1472 days earlier)      last day (3483 days later) » 

2:00 PM
@FlorianMargaine It's in the URL FFS!
 
@rlemon you would kill your own bandwidth in 10minutes of that process lol
 
She is hot though.
 
"katy-perry-blowing-..." waitwut
 
@AwalGarg unlimited bandwidth
 
@KendallFrey AWWWWW YEAAAAAAAAAAAH
oh.
 
2:00 PM
this :before and :after thing is quite cool
 
@rlemon there is nothing like unlimited
 
::before and ::after
:pseudo-class and ::pseudo-element
 
@argentum47 ^
 
i see it already
 
2:01 PM
@rlemon what happened to be ::before::before::before
 
@rlemon whats vape ?
 
!!urban vape
 
@rlemon Vape To inhale vapor from E-cigarettes. Used because "smoking" an E-cig doesn't apply as there is no smoke only vapor.
 
2:02 PM
wait. but my firebug shows :after
 
it's not vapour either
 
My rep graph shows I earned 171 rep today, \0/
 
there is a name why its called firebug
 
solution: get rid of nicotine addiction
 
@argentum47 some might, they are wrong
@JanDvorak what do you think I'm doing?
 
2:03 PM
@rlemon vaping
 
noted
 
oh wait, the rep cap is 200 right?
 
!!stats jAndy
 
yes
 
@jAndy You (http://stackoverflow.com/users/1386886/jandy) have 94054 reputation, earned 20 rep today, asked 53 questions, gave 1913 answers, for a q:a ratio of 53:1913.
avg. rep/post: 47.84. Badges: 17g 156s 224b
 
2:04 PM
 
@jAndy holy ,moly
 
I want that badge for hitting rep cap
 
you are about to get 100k
 
and the funny part is.. I didn't answer anything in the past 3 month
 
!!stats darkyen00
 
2:05 PM
just sitting and earning
 
@darkyen00 You (http://stackoverflow.com/users/855760/darkyen00) have 1787 reputation, earned 10 rep today, asked 12 questions, gave 31 answers, for a q:a ratio of 12:31.
avg. rep/post: 41.55. Badges: 0g 14s 26b
 
I haven't answered since forever and have earnt like 787 since i answered
 
> for a q:a ratio of 53:1913
No shit.
 
!!stat
 
@AwalGarg You (http://stackoverflow.com/users/3459110/awal-garg) have 539 reputation, earned 171 rep today, asked 0 questions, gave 17 answers, for a q:a ratio of H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ.
avg. rep/post: 31.7. Badges: 0g 2s 14b
 
2:06 PM
@AwalGarg Jon Skeet has more "Nice Answer" badges than you have rep.
 
!!stat CapricaSix
 
@darkyen00 Caprica Six (http://stackoverflow.com/users/1839506/caprica-six) has 1136 reputation, earned 0 rep today, asked 0 questions, gave 4 answers, for a q:a ratio of H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ.
avg. rep/post: 284. Badges: 0g 5s 10b
 
> for a q:a ratio of H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ.
 
@SecondRikudo I started this thing just 3 days ago dude!
 
@AwalGarg bot has more rep then you.
 
2:06 PM
Because ratio.
 
ahh lets celebrate the rep bitchery
 
!!stats jonskeet
 
@darkyen00 User Elusio proved elusive.
 
fuck
 
I have 300 and something rep
You are all beneath me.
 
2:07 PM
Jon Skeet, Reading, United Kingdom
722k 302 4719 6072
 
@jonskeet the js room summons you.
 
I have over 9000 rep
 
722k xD .. oh fucking jesus
 
Lol 722k
 
thats unreal :P
 
2:07 PM
he has more silver badges then 2x my rep
 
!!define nerd
 
@Sippy nerd (slang, sometimes derogatory) A person who is intellectual but generally introverted
 
!!define jonskeet
 
@darkyen00 It means I aint got time to learn your $5 words.
 
2:08 PM
!!urban jonskeet
 
@darkyen00 No definition found for jonskeet
 
!!urban jon skeet
 
Do it.
 
@SecondRikudo No definition found for jon skeet
 
thats like having 10 billion dollars.. you don't have to do anything and you're earning a couple of millions each year :P
 
2:08 PM
we should add jon skeet
 
I have more rep than Jon Skeet has gold badges \o/
 
!!urban chuckNorris
 
Please don't urban skeet.
 
@darkyen00 [chuck norris](http://chuck-norris.urbanup.com/1521056) One Kick Ass Son of a Bitch!

Some random facts about Chuck Norris:

"Alien vs Predator" is an autobiographical depiction of Chuck Norris' first sexual experience.

While Chuck Norris was on holiday in Spain, he ate some bad paella causing him to take the largest shit known to man. That shit is now France.

Instead of having a cigarette after sex, Chuck Norris heads outside and brand(snip)
 
@AwalGarg it used to be there
it was something about a circle jerk
 
2:08 PM
what was?
 
urban jon skeet
 
!!urban skeet
 
@FlorianMargaine skeet "Skeet" is actually a form of birth control practiced by the African-American tribes of North America near the beginning of the 21st Centruy. Visionaries of the time (such as Lil Jon and Nelly) recognized the inevitable and everpresent danger of overpopulation in their land and decided to take action. They discovered an ancient form of birth control used by their ancestors that involved "pulling out and (snip)
 
in the sandbox, nsfw
@CapricaSix dat snip
 
@KendallFrey you pinged the wrong person then :D
 
2:10 PM
how is that nsfw?
 
lets make some bets how long it will take until he reaches the 1. million mark
 
@FlorianMargaine Skeet means something else as well.
You were lucky it didn't come up.
 
bot needs a bidding system :P
 
Lol
!!bid 9001
 
@Sippy That didn't make much sense. Use the !!/help command to learn more.
 
2:10 PM
I am just 2 more upvotes behind of hitting the rep cap... lemme answer some questions.
 
hi, styleguide wise, in angularjs when you have a create form, do you pass the actual $scope/controller object into the save function you defined in your submit button as argumen or do you just refer to it from inside the save? (I assume the first way is more testable(?))
 
ahhh, you remember me to myself... when I was young !
total rep bitchery
all I had in mind was bitchting for rep
 
@AwalGarg upvoting
 
a true whore
grinding it out
 
you should see my rep graph
 
2:11 PM
@AwalGarg done.
 
da hell kind of questions ppl ask!
 
steady upward until 10K, then levelled out till 20
 
@AwalGarg join my college
 
@darkyen00 wow wow thanks!
 
I love to see young kids getting into the rep bitching business
 
2:12 PM
@jAndy can confirm
 
@AwalGarg then is when you will find the kind of questions people will askl
 
@darkyen00 but why?
 
like
 
I remember the you of back then
 
Hello everyone.
 
2:13 PM
if there was a javascript or jQuery question, you better bet that my name was involved :P
 
@AwalGarg example question from today : if( printf("Hello") ){ printf("world") }else{
   printf("Hello");
}
 
a true rep grind, the whore of all whores
 
why is the output HelloWorld.
 
@jAndy second to only the Whore of Babylon?
 
2:14 PM
@darkyen00 lol really?
 
hi all
 
@AwalGarg yes
 
!!google the whore of babylon
 
and they still coudln't get it after i told them what printf returns -_-
 
2:14 PM
#1 ^^
 
@darkyen00 lolol
 
I might change my profile picture here
 
@AwalGarg quoute of the millenium
 
i'm stuck on a "stupid thing" again...
i declare a function somewhere,
This function code is just
return $.ajax{.....} ;
the problem is, i cannot call .done on this function... i could on other functions somewhere else...
any idea?
 
if printf("Hello") writtens 5 why does it print World later ?
^ Writtens
 
2:15 PM
@darkyen00
 
@user3419311 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.
 
good evening
 
@user3419311 good morning
 
if you return dat $.ajax you can access the .done
 
2:16 PM
@Cerbrus Actually to find the arrival point I check for every possible solution, and the end of the longest one is my arrival point
 
@darkyen00 i am working roku
 
unless you're using some crazy insane old version of some bias
 
@Julo0sS Not $.ajax(...)?
 
i want to learn roku
 
so thorically it's solved before it's even created
 
2:16 PM
@user3419311 what ?
 
Roku
 
!!google Roku tutorials
 
@SecondRikudo yes it is ()
 
bam.
 
2:16 PM
^^
 
I got two more upvotes for no rep :(
 
@user3419311 Don't ping people randomly to get attention
 
!!lmgtfy Roku
 
@darkyen00 That didn't make much sense. Use the !!/help command to learn more.
 
It's rude.
 
2:16 PM
@AwalGarg I give you some advice from whore to whore
 
bro
i have small doubt bro
 
the rep cap doesn't include "correct answer" tags
so answer the shit out of the questions
 
room topic changed to JavaScript ?: Read this: rules.javascriptroom.com. Before asking inform yourself on the XY problem goo.gl/taIqf | SheepHerdingJS is on topic here. stop asking. Reg room here: chat.stackoverflow.com/rooms/59354 [donkeyscript] [ecmascript] [i-miss-git]
 
can we place water mark images in video in Roku channel
 
what's a rep cap?
 
2:17 PM
@jAndy hmm ok
 
> Do you believe in the philosophy "Just use jQuery"?
 
@user3419311 i have no clue
 
@AwalGarg You may be in trouble.
 
oh ok bro
Thank Q
 
2:18 PM
someone kicked user3419311 ?
 
> Do you believe in the philosophy "Just use a condom" ? @Sippy ^ I know who didn't
 
@user3419311 no one in Ecmascript room knows about Roku
 
:19626012 here is the code
    FillDiv.test = function(){
        $(document).ready(function(){
            $myDiv = $("#myDiv");
            return $.ajax({
                type : 'POST',
                url : './php/utils/getMyDiv.php',
                dataType : 'json',
                error : function(response){
                    alert("ERROR GET DIV CONTENT");
                },
                success : function(response){
                    $myDiv.html(response);
                }
            });
 
@jAndy No, he's still here.
 
@jAndy 50% of my answers are the best of all answers posted to the question, upvoted, but not accepted.
ppl don't like to accept answers
 
2:19 PM
People don't accept their mistakes.
 
@Julo0sS you're returning to that anonmyous function from your .ready handler
 
@Julo0sS Notice where you're returning from
 
@user3419311 probably you mean heroku
 
@darkyen00 That was pretty rude.
 
2:19 PM
no bro
Roku
 
!!s/Ro/Hiro/
 
@AwalGarg Hiroku (source)
 
!!s/Ro/Hero/
 
@erikroyall !!s/Hero/Hiro/ (source)
 
@SecondRikudo have to write return before then?
 
2:20 PM
please follow the brotocol
 
Awfk messed it up.
 
@jAndy mahahahahaha!
 
@Julo0sS consider the following
 
@towc
roku streaming player
 
...
 
2:20 PM
@Sippy not to you .. [its just one of those you reminded me of]. I ain't pointing it to you.
 
var a = function() {
    var b = function() { return true; }
}

a(); //What does this return? @Julo0sS
 
...
 
you know that awkward moment.. when you totally lose the channel conversation ?!
 
@darkyen00 Still pretty rude bro :P
 
just happened to me
 
2:21 PM
@towc lol I was trying to convert that into a train when that guy pinged you :D
 
@towc Wasn't asking you though :P
 
@SecondRikudo oh yeah it is :->
 
@SecondRikudo oh... woops
 
@SecondRikudo it returns something which is not defined... but I might be wrong. Ain't sure. Sorry very very difficult question that is.
 
the best was.. when friends of one of my real life friend were taunting him for going out with a girl (Awal can explain this better) so i took his phone, asked the guy is your mom home .. he innocently answered yes... me : Oh okay, just wanted to make sure she reached :3
 
2:22 PM
@SecondRikudo a returns nothing
 
@Julo0sS Right
 
var isFoo = true;

(function() {
  if( isFoo ) {
    console.log( 'Foooo!' );
  } else {
    console.log( 'Noooo!' );
  }

  var isFoo = true;
}());

// what gets printed ?!
I love those moar :P
 
That's exactly what you did :)
@jAndy Depends on where you execute it :)
 
@SecondRikudo okay, but i cannot return $(document).ready(function(){});
 
IIRC firefox doesn't support hoisting
 
2:23 PM
excuse me ?
 
@jAndy Ask @Zirak he did the test once
 
@SecondRikudo ???
 
if (true) {
	if (!false) {
		if (!!true) {
		    if (!!!false) {
		        if (!!!!true) {
		            return undefined;
		        }
		    }
		}
	}
}
 
@Julo0sS $(document).ready(fn)
 
that sounds either horrible wrong or its just a horrible misapprehension
 
2:23 PM
Run fn when document is ready.
Oct 14 at 11:24, by Zirak
Wait, wtf
@jAndy @JanDvorak ^
 
@CodingUk, The Internet
A twitter-based event (26th - 31st Oct 2014) showcasing the spookiest stuff you can create with coding! Share your ghostly creations using #HauntedCodingWeek
46 tweets, 179 followers, following 1.6k users
 
Dammit @jand is still too ambiguous between you two :D
 
you guys should follow that
 
bloody hell 4 upvotes more and no rep :( :( :(
 
I didn't get it
 
2:25 PM
@SecondRikudo well, i removed the $(document).ready statement... i call this function on click on an element on the page, so document should already be ready at that moment...
 
I mean congrats to you and @rlemon on whatever it is
 
@Loktar cuz you get many rewards?
 
@Julo0sS Do you understand how asynchronous code works?
 
on stealing stuff @rlemon made?
 
@SecondRikudo works fine for me, if there is any problem its probably more because of that silly website there
 
2:26 PM
@SecondRikudo i read about it, but did never really understand it... all i try finally, is to execute my .ajax statements with return on it, then use .done to be sure that queries are done
 
today is good day!
 
user1596138
@HatterisMad Hahahaha dude I called it. But no that could also mean it's a fuse don't forget to check that first. Good find tho
 
what I love is they copied and pasted my email contents word for word
made me chuckle
 
@FlorianMargaine lol yeag
 
also got two fiverr orders, win win!
 
2:27 PM
@rlemon same here
 
@Julo0sS Asynchronous code is code that runs in the background, and the application doesn't have to wait for it to finish in order to continue the execution of the rest of the function.
 
@SecondRikudo please don't give me the "magic" link everybody gave me about it... i read it again and again... no way... maybe i'm just too stupid, or maybe my english isnt good enough to get its subtilities but i do not "rule" this
 
@Loktar mine wasn't intended on being line for line :P
 
@AwalGarg You seem to have more rep on Hinduism SE
 
asynchronous code asynchronous is
 
2:28 PM
@erikroyall who gives a fuck?!
 
@SecondRikudo yes, i got it, but seems like i have problems to handle events
 
@rlemon LOL
 
days represented 689
rep cap was reached via rep from upvotes *only* on 6 days
earned at least 200 reputation on 7 days
earned 2 reputation from suggested edits
 
thats awesome
 
6 days :(
I'm far from the legendary badge
 
2:28 PM
@Julo0sS Okay, there are 2 general ways in JavaScript to deal with your own asynchronous code
 
yea I tried to hunt the legendary badge once, didn't do it
 
days represented 881
rep cap was reached via rep from upvotes *only* on 1 days
earned at least 200 reputation on 3 days
 
One is to include a callback parameter in your function, and call it once it's done
 
@FlorianMargaine don't feel so bad
 
I need to whore-up I guess
 
2:29 PM
function doSomethingAsynchronously(param1, param2, callback) {}
 
@SecondRikudo ok... read about it, but i don't understand what's a callback, and how it works... :'(
 
@rlemon you know what's the worst? I got over half of these days during the 1st winterbash
 
@Julo0sS In JavaScript, functions are what's called "first class objects"
 
@rlemon where do you check those?
 
@SecondRikudo that's why i turned to .done, it looked easier to me..
 
2:30 PM
@AwalGarg stackoverflow.com/reputation
scroll to the end
 
@Julo0sS If I give you a call and tell you to call me back when you finished your homework.. and you really do it, now thats a callback!
 
Which means you can assign functions to variables, pass functions into other functions, and return functions from other functions
So the following is valid:
 
@rlemon There was no need to scroll
 
days represented 58
rep cap was reached via rep from upvotes *only* on 2 days
earned at least 200 reputation on 1 days
earned 20 reputation from suggested edits
@rlemon thanks :D
 
@jAndy lol... i understand it this way :P
 
var a = function() {
    return function() { return 42; }
};
 
stackoverflow.com/tools <- 10K+ users FYI
 
@jAndy but no homeworks since a loong time now :P
 
days represented 1514
rep cap was reached via rep from upvotes *only* on 48 days
earned at least 200 reputation on 72 days
 
When you run a(), you don't get 42, you get a function that returns 42.
 
2:31 PM
@jAndy 102 days left :)
 
how much days you need ?
 
no wait
 
@SecondRikudo yes
 
it does need to be in a row doesn't it ?
 
2:32 PM
150 - 72
 
var b = a(); //b is a function
var c = b(); //c is 42
 
ah cool
 
1 min ago, by Florian Margaine
http://stackoverflow.com/help/badges/146/legendary?userid=263525
 
@SecondRikudo ok
 
2:32 PM
@Julo0sS a callback is a common name for a function you pass into another function, to be called at a later time
 
it calls back the caller when it finished the homework...
 
32
A: Why do we need "callback functions"?

Florian MargaineGuy 1 to Guy 2: hey dude I wanna do something when a user clicks in there, call me back when that happens alright? Guy 2 calls back Guy 1 when a user clicks here.

 
I would really enjoy payback functions
 
For example, setTimeout(callback, 1000) will wait 1000 milliseconds before running the callback functions
 
that sounds like fun
 
2:34 PM
@SecondRikudo you need to understand function references before understanding callbacks though
 
It's called a callback because the second function calls the first function back
 
I really really wish I had cleared my concepts about the event model and such concepts at the very start. My lack of knowledge about those things made it so difficult for me to understand things... When I learnt them, I was like... wtf! This is it?
 
death to all people who do THIS

function foo ()
that space padding between name and parenthesis... thats an insult to ecmascript
 
@AwalGarg death to all people who do THIS function poop () (source)
 
@AwalGarg why do you people always edit it out to ... before deleting?
 
2:37 PM
@SecondRikudo I unno... habitual :P
 
You aren't the first person I've seen do this
You know the original revisions are also visible in the history, right?
 
@SecondRikudo who else copies me?
 
I need to eat, piss and belch! simultaneously
 
@SecondRikudo eh really? (Ofc I know that dude)
 
@SecondRikudo well, ok with this concept, BUT, i don't get it when you use a var called "callback" this is where i'm lost...
 
2:38 PM
@jAndy How so?
 
I'm figuring, I let you know the outcome
 
@Julo0sS The more complete example:
var callback = function() { console.log('Foo!'); };
setTimeout(callback, 1000);
console.log('Bar!');
 
lmao did anybody see the knew XKCD?
I lol'd
 
What do you think you see if you look at the console? @Julo0sS ^
 
Got a really nasty little graze on my finger the other day and I couldn't for the life of me figure out what it was from
Just worked out I must've done it opening a soda bottle.
gg.
 
2:40 PM
@FlorianMargaine Florian, your comments are always "teasing", sometimes quite "nasty" when you face someone who has questions that looks simple to you...
 
@Julo0sS don't care. He tries to mimic an old ghost of this channel called @Raynos
 
@SecondRikudo thx for help
 
@Julo0sS I guess I need to change my way to speak then, because there was nothing teasing or nasty. Function references are a prerequisite to understand callbacks, is all.
 
@Julo0sS ignore him. he knows no better than you.
 
@SecondRikudo well, when i look at your example
 
2:41 PM
my nexus 5 found a new use.
 
@FlorianMargaine i'm not talking about this discussion only, this is a general feeling about your way to answer
 
1. Add bluetooth keyboards
2. Add a full screen display => thank you google.
 
@SecondRikudo when i look your example
 
@Julo0sS When you look at my example?
 
i'll have Foo!
Bar!
Foo!
 
2:42 PM
@Julo0sS give me real examples!
 
@Julo0sS Why do you think that?
 
@FlorianMargaine Let it go
 
Not that I ever find Florian condescending or rude.. but. :P
@FlorianMargaine D: It was a jokkkke
 
@SecondRikudo nah, improving myself is a goal of life :)
 
2:43 PM
florian is nice, very kind hearted.
 
@FlorianMargaine I want to let you know...
but... no point in taking such a conversation further...
 
Oh and good morning errbody
 
I have a problem though... I want constructive criticism :(
 
Hope the weekend was good
 
@FlorianMargaine you suck.
 
2:44 PM
@SecondRikudo declare 1st var which calls console, start function which has 1000ms timer, console Bar, then timer out, and display Foo again?
 
@Julo0sS But the first var never actually calls it
It only defines a function
callback is only called once, in the timeout
 
@SecondRikudo so answer is Bar Foo
 
sometimes I just want to throw up
 
@jAndy do it dude.
 
2:45 PM
@Julo0sS With AJAX (even jQuery's AJAX) you have something like this:
 
ok i see...
 
ok all who fancies a bit of a dicussion on how teams best work?
do we want a) product stream teams
 
I would need to eat a lot more in order to accomplish that @darkyen00
 
$.ajax({ .... , complete: someFunction, ....})
 
@jAndy nope just put a feather in your throat.
 
2:46 PM
15 upvotes \o/
 
I hear when vegetarians throw up, watermelons sprout
 
someFunction is a callback in this case, it jQuery will call it back once the ajax call is completed.
 
*vegans
 
Battle tested library open sourced by the Romans.
 
2:47 PM
b) feature teams (a team is given a piece of work, they do work, wash hands0 (assumption: a team is capable of all disciplines one way or another)
 
@jAndy oops, that's right!
 
c) dynamic adhoc teams
 
@SecondRikudo s/complete/success/?
 
@FlorianMargaine sorry for being "non-constructive" in your opinion, but i cannot go back to 2 weeks discussions on this chat, the last (or one of the last) answer that make me think that about you, is something like : i ask a question, and the only answer you finally give (instead of tryin to help) is "Learn javascript'
 
I'm a crab.
 
2:47 PM
@jAndy do you eat cucumbers?
 
@jAndy hey dude you really need to help me set up a diet chart.
please please please
 
@DrogoNevets a mix of a and b
 
!!s/work/shit/
 
@AwalGarg complete == success || error
 
@jAndy b) feature teams (a team is given a piece of shit, they do work, wash hands0 (assumption: a team is capable of all disciplines one way or another) (source)
 
2:47 PM
i am already over 74 KG
 
@SecondRikudo yeh i do this, success // error
 
@Julo0sS Yeah, but the principle is the same
 
I'm not sure if it's true, but apparently some vegans don't eat cucumbers because they have complex nervous systems that enable them to feel pain
 
Do you understand more or less how callbacks work?
 
#TheMoreYouKnow...AboutCucumbers
 
2:48 PM
@SecondRikudo jquery lol
 
@SterlingArcher ofc
 
Despite all that... cucumbers are my favorite veggies.
 
@FlorianMargaine any chance you can justify your answer?
 
@darkyen00 wth, you're indian you guys already are somewhat born as vegans and do all the right things.. like eating rice and vegetables
 
Uh... Experience? Nope, can't argue on mobile, sorry
 
2:49 PM
reason i ask, we are going through a transformation excercise atm, i am one of the team members who are steering it, so we are trying to decide how best to arrange our staff
 
the one and only advice anybody has to follow is, DON'T EAT PROCESSED FOOD
 
@jAndy Example of animal that eats grass?
 
(total a team of around 50 with scope to recruit more)
 
or.. reduce it to an ultimate minimum
 
@jAndy Not all of us are born vegans / vegetarians, by the way
 
2:49 PM
I'll try
 
@jAndy so despite that I'm not really dietting, the fact that I'm cooking all my food is much better?
 
@SecondRikudo ok it's the same, but i don't always "return" something from the ajax.... sometimes the success part is just doing something on the page (like in my example) and sometimes the code i call in success part is executed and not shown, especially when i do some ajax call on page load
 
(we are leaning towards B atm)
 
@jAndy yeah my family doesnt.
we eat meat, less veggies
more processeds food.
 
@SecondRikudo because of "async" thing^^
 
2:50 PM
should i mail you my diet ?
 
@Julo0sS You usually don't return from a callback.
 
@darkyen00 mail me some curry
 
Back to the example of setTimeout, what would have used that return value?
 
@KendallFrey sure bro.
 
@SterlingArcher cooking is not as as good as raw food for the vast majority, but cooking food is not as bad as like.. eating some junky things or snacks with tons of stuff in there nobody ever needs
thats what I mean with processed foods
 
2:51 PM
a team needs an identity, i.e. a product to strive to get better. You need some identity to care about the product. However, everyone wants to see something else now and then, so switching to another product to help, maybe in what you specialize in (a cross-products skill) or what you want to specialize in
 
setTimeout(function() { return 42; }, 1000);
 
A team needs a badass leader, know knows what else the team needs. FFS
 
Notice how this time I didn't use a variable, I included a function directly in the first argument
Who would get to use that return value?
 
is there a state sharing lib in js ?
 
@jAndy I'm going to have to relook at my food then
But, afk
!!afk metting
 
2:52 PM
@FlorianMargaine we are not an agency but a company that sells products, would "make the estate better, make customers happier, etc" be enough of an incentive for you?
 
@SecondRikudo it is not useable, except if you're doing something like var a = setTimeout... is it?
 
@DrogoNevets dunno
@Julo0sS k, thanks
 
@FlorianMargaine i agree though, having a goal is always beneficial
 
@Julo0sS Even if you set the result of setTimeout into a variable, you wouldn't get the return value of the inner function.
 
@SecondRikudo if you're doin something like var a = setTimeout(your code), then you can call .done on "a" (i think) but if you do, just after that, alert(a), this is undefined... am i wrong?
 
2:56 PM
setTimeout returns an ID that you can use to cancel it.
@Julo0sS That's the second approach to async code.
We'll get there in a second
Do you understand how callbacks work?
 
Evening!
Guys, I need a fast solution to this question. Any ideas?
 
You pass a function into another function, and the second function will call it when it's done.
 
@SecondRikudo well.. tbh, i understand how "setTimeout" works... and how to call functions in functions.. but not sure i understand really what you mean (sorry...)
@SecondRikudo what i don't get is "why would it call the function only when first one is done"
 
this is pathetic, 80 rep wasted because of rep cap!!! bloody hell!
 
2:59 PM
@Julo0sS Because you want to know when the first function was done
Or when an event occurred
 
user1596138
@AwalGarg yeah it's pathetic that you care
 
am I the only one or does this happen with everyone?
 
$('element').on('click', function() { ... });
 
@rene ?
 
That second argument to .on is a callback
 
user1596138
2:59 PM
No one cares about rep.
 

« first day (1472 days earlier)      last day (3483 days later) »