« first day (1679 days earlier)      last day (3267 days later) » 

2:00 PM
dammit
 
what is that on your face :P
 
it worked
I swear
 
@rlemon thanks :)
 
where are you getting the pizzas, @rlemon?
flickr or something?
 
2:01 PM
@ElliotBonneville lol
flat pizza
 
It's all the pizzas he ate
 
@ElliotBonneville lorempizza.com/images
 
Oh Michael
that's pretty awesome
 
i.imgur.com/uyHfOjV.gifv @SterlingArcher
2
LOL unexpected damage
 
omg
Expected boop, got carnage
 
2:09 PM
"Hi, I need you to cover the cost of replacing my bumper."
Insurance guy: "What happened?"
"An alligator ripped it off..."
 
user1994804
Hey @NickDugger I've hit a little issue im stuck on
 
user1994804
prolly a no brainer to u
 
jsfiddle.net/rlemon/93pzxam0/4 how would I smooth the terrain.. you see these random jagged edges.
3
cc @Loktar
 
@rlemon die cretin!
 
user1994804
2:11 PM
I am targeting 2 divs near the top in a manner such as
 
user1994804
document.getElementById("TestUserData").innerHTML = retrievedObject.SellerCity;
 
@rlemon you monster
 
@GNi33 saw that on reddit. no clue why he didn't just push him out of the way
 
yeah, I was expecting them to actually
 
user1994804
2:12 PM
but when I attempt to target an Id on the form below the fold, nothing appears and I dont get any errors in the console\
 
What a fucking clown
 
@rlemon lol
 
user1596138
@BenjaminGruenbaum every time I open chat the input box is prefilled with "@BenjaminGruenbaum ", so I figured I'd say hi at least. Hi
 
@rlemon <3
 
see, you think you are safe. I lull you in with a false sense of freedom then BOOM!
blackfriday
 
before I put the down payment on my house I'm thinking of cashing out from the bank and taking some picture of me in a tub of money
but then I think money is dirty
and I might get paper cuts.
 
@rlemon LOL
bastard
 
user1596138
@Loktar That was unexpected indeed lol
 
!!s/paper/cotton/
 
2:18 PM
@NickDugger and I might get cotton cuts. (source)
 
@Loktar :D I'm getting good at this ;)
if only I could get paid to troll.
 
@Jhawins haha ikr!
 
Oops, canadian money isn't cotton, it's plastic
 
@NickDugger which has already saved my ass a few times
 
@rlemon I think politicians do that
 
2:19 PM
spilled syrup on a bunch of $20's
washed right off.
 
user1596138
@Loktar I honestly didn't see anything happening, I don't think I would've been worried if it was my truck
 
Can anyone tell my why my simple toggle with `ng-show` doesnt work? http://jsfiddle.net/gx885hgr/
There's no error in the console. :(
 
Can stripe validate billing addresses? It doesn't seem to be doing anything even though I followed the docs.
 
user1596138
2:36 PM
@rlemon Wouldn't that come right out of USD too
 
user1596138
Your tens say "Ten Dix", cause dicks.
 
@Jhawins is US money plastic now?
because it would stain the non-plastic money
 
user1596138
Stained money is money money
 
user1596138
money..
 
user1596138
I get paid today! Finally lol. No more $1 pizza for me
 
2:37 PM
being able to wash money (not in the laundering sense) is very handy
also, it holds up in the washing machine
our old money did not
 
user1596138
@rlemon You can wash USD... lol
 
@Neoares Thanks but no thanks :P
 
THE
perfect moment for a perfect question
what's the difference between module pattern and revealing module pattern, can't find a single diagram explaining them but people still use them...
 
@Jhawins tell that to the USD I've lost in the washer
 
THE
based on definition here - http://addyosmani.com/resources/essentialjsdesignpatterns/book/#introduction

a pattern must have a diagram
 
user1596138
2:39 PM
@rlemon Bro, I have washed SO much money. USD do not break apart in the washer..
 
well good for you. mine tore up
 
user1596138
Weird.
 
didn't disintegrate like paper, but a handfull of 1's went to the trash
 
user1596138
Maybe Canadian washers are violent
 
user1596138
Tbh I wouldn't even be worried at all about washing my money tho. It comes out just fine..
 
THE
2:41 PM
Ignore me like a kitten then...
 
you're ignored because your exact question is a google query which yields positive results.
 
THE
not exactly I already read this and makes no sense.
9
Q: JavaScript design pattern: difference between module pattern and revealing module pattern?

WayouI'm reading the book Learning JavaScript Design Patterns recently. What I don't get is the difference between module pattern and revealing module pattern. I feel they are the same thing. Anyone can give an example?

 
how doesn't it make sense?
 
user1596138
@THE How does that make no sense.
 
THE
in example it doesn't say which one is revealing and which one isn't, but I can guess this isn't revealing as it keeps private method private ?

return {
    //name: name,
    //sayHello: hello,
    sayWelcome: welcome
  }
 
2:45 PM
it is showing ou what is revealed
return { revealedCrap }
 var welcome = function() { console.log( hello() + " Welcome to StackOverflow!");}
is function scoped to the parent function, therefore not exposed in the return
 
the good stuff is revealed separately
 
THE
@JanDvorak public methods are ?
someone edit answer and put heading as which one is revealing and which one is not please ?
 
it says which is which.
 
>:(
 
user1596138
> The Basic Module Pattern // read under header
 
user1596138
2:48 PM
> The Revealing Module Pattern // read under header
 
user1596138
Now go away or increase your quality of effort.
 
user1596138
plz halp
 
user1596138
 
user1596138
How do I return the e in jQuery ^ after forest
 
THE
2:50 PM
@Jhawins go away where ?
 
uh, wat?
 
your outlook is better than my outlook
 
user1596138
@NickDugger They got me a MSDN ultimate subscription
 
user1596138
So I get everything lol
 
Does Babel not polyfill Object.assign?
 
2:51 PM
is Object.assign es6?
 
THE
am going away ruders !!
 
Ah, it is
 
@THE cya
 
I don't know if Babel specifically "ployfills" things
you might need to grab one
 
Lmao, that guy's been vamping the entire time I've been in this chat
 
2:54 PM
more kicking for @THE, you say?
 
!!^
 
Does capri auto-hide all images now?
 
yes
 
@BenFortune all oneboxes
 
user1596138
2:58 PM
Hey @rlemon would you come to sandbox
 
user1596138
Yeah that was all...
 
why did you wanna kick me from the sandbox?
 
user1596138
Idk seemed like the best place to do it
 
but why?
 
user1596138
Oh?
 
3:00 PM
@Jhawins trying to sniff kicks?
 
@ssube polyfills come with require('babel/polyfill'), but I think Object.assign is es7
 
MDN says ES6, can't you just use the polyfill from there?
 
user1596138
@rlemon sure
 
user1596138
Nah I just felt like kicking you from sandbox
 
bitch.
 
user1596138
3:02 PM
HEY!
 
user1596138
I chose you!
 
question: in this code, why are var something = function() {} distinct from function something() ?
 
other than hoisting, they are the same
 
user1596138
2718
Q: var functionName = function() {} vs function functionName() {}

Richard GarsideI've recently started maintaining someone else's JavaScript code. I'm fixing bugs, adding features and also trying to tidy up the code and make it more consistent. The previous developer uses two ways of declaring functions and I can't work out if there is a reason behind it or not. The two way...

 
user1596138
Hoisting is sometimes important.
 
3:06 PM
@rlemon and error traces
though you could obviously name an assigned function
 
you just mooted your own point :D
 
he didn't name his :P
 
he's stupid then
var io;
function foo() {
  io.emit('foo');
}
module.exports = function(io) {
  io = io;
  return foo;
};

require('./foo')(io)() // errors says io is undefined in foo
BUT when I log io in the module exports fn I see it
:/
 
Last line gets executed before the function
 
3:14 PM
@copy how? I don't see it
 
You just assign it to module.exports
 
Hrmph. I still don't really get these javascript constructors. And type checking is much more of a pain. And that's pretty much the whole thing I am working on
 
@copy yea, and require('./foo')(io) calls the module.exports fn which returns another fn, so the () on the end calls that
 
!!> var io; function foo() { io.emit('foo'); } function do(io) { io = io; return foo; } do({emit: console.log.bind(console)})();
 
@MadaraUchiha "SyntaxError: function statement requires a name"
 
3:16 PM
wat
 
@rlemon Wait, you have a module that loads itself?
 
no
those are two different files.
the empty line was supposed to represent that
 
Bleh. How can I confirm something is a Mongo.Collection ? :\
 
variable instanceOf Mongo.Collection
 
!!> var io; function foo() { console.log(io); io.emit('foo'); } function fire(io) { io = io; return foo; } fire({emit: console.log.bind(console)})();
 
3:18 PM
@MadaraUchiha "TypeError: io is undefined"
@MadaraUchiha "TypeError: io is undefined" Logged: "undefined"
 
yes I know the error, I don't understand why it is there. fire is called and io is set, then the return of fire (foo) is called and ref's io
why isn't io defined
 
@rlemon Because io is not set
io is the local parameter you passed...
 
@rlemon Then where is io coming from
 
@MadaraUchiha AHHHHHHHHHHH
yes, I see now
 
3:19 PM
stupid me
god. sometimes it is the stupidest things that trip me up
I was looking at that for like five minutes wondering why the hell it wasn't working
 
lol, because you used io as an argument name... so, you never assigned io in the outer scope
 
I can really tell your avatar is photoshopped now. The lighting on the face is all wrong.
 
Android room is all these silly circles
I wanted to fit in
 
Hmm, Python needs better pattern matching
 
For every feature lacking in python, there's a better options: not python.
 
user1596138
3:34 PM
@rlemon Closed-access elitists
 
user1596138
Who was it that used to come call us elitists?
 
Javascript elitists?
 
@Jhawins okok?
android is closed because they got a lot of spam back in the day (like, why we implemented access control plugin)
they just stayed closed
 
whatever happened to the ecmascript room? we can be elitist too.
 
@canon frozen due to inactivity
 
3:36 PM
sadface
 
room.unfreeze
 
no
 
freeze... frozen... ice...
!!youtube MOP cold as ice
 
brings me back to JR.High
 
3:41 PM
rlemon is awsome
3
 
shh, they'll think you are my sock puppet.
 
@Loktar holy shit, dont mess with gators lol damn
 
so, after I watched NASA unexplained files, (after I was saddend by angular) I learnt, other than sending spaceships, they waste their time in on ET crap.. and after maybe like 20-30 years of research and wastage to time and money they conclude its a fault in the device or maybe co-incidence
 
@rlemon function HeightMap(res) { if (res>8) throw new Error('Resolutions higher than 8 bit are not supported.'); ...
 
@Shmiddty yes I need to limit that
it really fucks with the generation
 
3:45 PM
I noticed. haha
 
I need to clean it up, and put in a second pass to smooth down the roughness a bit
if a cell is surrounded by all blue, but is green, it should probably be blue
!!afk food in mah belley
 
where to send a request to get the user stat on stackoverflow .. I was seeing d3 js .. i really like it..
 
what are you takling about with 'ET crap'?
if we have any alien feces, that's huge news
 
@Jhawins hi , after a wedding , catch you guys tomorrow :D
 
@NuckDigger which skype do you use? ._. mine is blue
 
@Neoares Lync/Skype for Business (at work)
 
:O k
 
So my boss brought back these awesome shirts from the twilio conference for us (tech), and the non-tech people took them, so enthusiastic that they had no idea what any of the shirts meant ._.
I was looking forward to the Everything Will Be 200 OK
2
:(
 
why are people so shit?
 
I'm not upset just a bit confused lol
 
4:02 PM
People are still shit
(this is why I'm single)
 
Why would you wear a shirt that you don't get
 
At least they didn't take the Arduino lol
 
because I'm a negative ned
 
@SterlingArcher ugh dude
thats the problem with geek culture being cool
so annoying man.
I mean the fact they took them w/o even knowing what they mean.
 
4:06 PM
Yeah, the worst was the "Keep Calm & Use Version Control" and on the back it listed some hit commands
Like really.. YOU know what VC is?
Please, tell me how scaling your deploy and commit benefits your work
Geek culture -_-
 
You elitist.
 
How do you feel about the big bang theory?
 
@Meredith that show is garbage imo.
All it does is perpetuate making fun of "nerds"
> Lets all laugh at the nerds!
 
user1596138
@SterlingArcher Dude that sucks
 
user1596138
Big Bang Theory is a joke
 
user1596138
4:17 PM
Hmm. I seem to have put myself in a weird situation. How does one get cash into a bank account 3 states away?
 
wait.. did you get a paper check?
 
Hey all.
 
user1596138
@Loktar Yeah
 
user1596138
First check is paper
 
Anyone have good Front-End interview questions I can poach?
 
4:18 PM
okay so var blah = function() and function blah() makes sense, but what about var blah = function blah()? Is it just both the properties of the previous two combined?
 
@Jhawins hmmm not sure what the best way would be, might be worth just opening an account at a local bank
but they may hold the check for a few days as well idk
 
user1596138
@Loktar fuck that, I'll go cash it at Walmart for $2.
 
hah I forgot you could even do that
 
user1596138
Cause I need it lol. But I'm not sure what to do after that. I guess I'll open a local account and then I can ACH to my back home account
 
you could probably take it to the issuing bank too and cash it
if its in the area anyway
 
4:21 PM
@Jhawins is it an ADP check or some other company that does certified checks? Those cash immediately, or did last time I got one.
 
0
Q: Advice on testing code that changes the DOM on page load

Nathan JonesI am in the process of writing tests for my JS code with CasperJS and Mocha. I have a function that changes the DOM and gets run on page load (through jQuery's document.ready event). I'm wondering what the best practice is for testing this kind of code. For example, I have a function removeElemen...

 
@Luggage there are no alien living beings.... lets say that there were people living far far away. and by condition they must be technically more advanced than us.. they why haven't they found us yet? and if they are formed in the recent past.. they either they r like us or inferior, no need to be concerned :P
 
user1596138
@ssube I know how to turn the check into cash one way or another. Problem is getting money into an account in Indiana with a credit union who doesn't have branches outside of Indiana
 
oh. That's the only reason I went with a major bank when I was moving out here for a job. Found one that had branches in both places and used that.
Credit unions are so much more trouble than they're worth
 
user1596138
Yeah well national banks fee you for the most hilarious shit. Didn't spend $200 on your debit card spread over at least 4 transactions last month? $60 fee.
 
user1596138
4:24 PM
And loan rates...
 
user1596138
@Loktar Gonna message you privately
 
user1596138
Yeah they are nice because they're Aliance One so I can use all their ATMs and stuff for free from my old bank
 
ah nice
 
@argentum47 We don't KNOW if there any other intelligent life forms and there is no assumption they are more advanced.
 
what do you guys use for a week calendar?
 
4:27 PM
@Jhawins if they don't like you. If they know you'll keep enough money around to be a useful customer, they give you "custom checking" and all sorts of shit that doesn't have that.
 
user1596138
@ssube Nah see that's something a small credit union can do, national banks are the opposite.
 
Most of the fees are a way to get a little bit more value out of people they know won't help.
 
user1596138
You can't make Chase "like you" and not charge your ass off
 
Hell, I go through wells fargo (widely known to be one of the worst) and I've had them waive most of the fees I would've paid.
 
4:28 PM
Anyone have good interview questions? :-)
 
Looking for javascript testing examples, does anyone know of some good repos to learn from?
 
Where were you on November 22, 1963?!?
 
They offered me some kind of extra-fancy checking account once I kept a reasonable balance and all sorts of other accounts that I have no actual interest in.
It's like CC companies who raise your limit or offer you better cards once you move enough money through and keep your balance down.
Beats the hell out of a credit union that closes their only office at 3 every day, even if you do contribute to their army of killer robots in banker's suits.
 
@Neal Same here wanted to crack a practical test in js :)
 
@DhavalMarthak I just have an interview in an hour and I think @Zirak @rlemon or @BenjaminGruenbaum have posted a link to a trove of questions before.
 
@Loktar Great!
 
^ those are some great css code questions
I've used the fix the sidebar one
 
@Neal Since your repo is really high, you need not to have get prepared for the same :)
 
@DhavalMarthak Huh? I am the interview-er
I am interviewing someone else.
 
ok thats what I thought.
 
4:33 PM
Yea...
 
ohhhh... totally mis understood :)
my bad
:P
 
Thanks @Loktar
 
The hardest question of all: include jQuery, Underscore, and Backbone into a requirejs app, then use them from a file that will be part of a webpack module.
 
@Loktar hmmm I like this one, but how would I ask it in an in person interview?
 
oh we have a laptop for them to use
and they do it in front of us
@Jhawins did that one
 
4:37 PM
@Loktar hmmm I have to ask the other guy I am interviewing with if that is ok to do.
 
yeah, it's usually courteous to check with your coworkers before you start doing it in front of them
 
especially if you're interviewing with a hot little laptop that could get out of hand
 
^^ how the hell do I type that keyboard shortcut?
 
@ssube eh?
@Shmiddty CMD + space + star + comma + 1 ?
 
4:39 PM
@Shmiddty squiggle-square, building, star all at once, then let up, then 1
the comma usually means a chord
 
you are both jerks. 2.9
 
so it would be SS+shift+8 then separately 1
 
@Neal Just a single question. What kind of practical example will you prefer. if you are supposed to give one to the person that you're interviewing?
 
@DhavalMarthak What do you mean?
 
@Neal I mean i'm having a practical test but i don't know what kind of test is going to be there!
 
4:41 PM
@DhavalMarthak practical test for what?
 
@nealJavascript
 
@DhavalMarthak ... for what...
not in what.
 
Apparently that's supposed to be a numpad. CMD + NumPad*, 1-5
 
@Shmiddty oy...
 
why can't I use var _ = require('underscore') on my node CLI?
 
4:45 PM
is underscore in your package.json?
 
yes, and var underscore = require('underscore') works
 
@Shmiddty I fucking hate mac keyboard "shortcuts"
Who makes keys with a squiggly square, a shelf, and an arrow?
 
@ssube +1
 
⌃⌥⌘⌨5
 
i guess i could've starred that
 
4:47 PM
control-alt-command-smash keyboard?
 
haha
 
@Shmiddty dash shelf square building five
srsly apple, can you even spell UX?
 
the ⌥ symbol isn't even printed on my mac keyaord
(2014 MBP)
 
@Luggage It's the option key.
 
does anyone here know js testing with mocha and casperjs?
 
4:49 PM
just 'option' and 'alt'
 
lol
 
yea, option.
 
posted on May 22, 2015 by Alex R. Young

Sometimes I feel like client-side developers are adopting ES6 faster than server-side developers. I certainly have projects where the client uses ES6 and the Node server code is more ES5, mainly because I don't really want to use a transpiler on the server, although I sometimes do like to use

 
Tomorrow i will bring another speciman of awesomeness
of ignorance of education :P
// well this time i didn't even study
 
user1596138
@Loktar Do we usually do in-person interviews?
 
@Abhishrek BenjaminGruenbaum is afk: vimeo.com/53497890
 
@Jhawins yea
 
morning
 
user1596138
@Loktar Most people are local?
 
yeah
 
user1596138
4:56 PM
@rlemon if I put your name on a cubicle you'll come work with us right?
 
@Jhawins rlemon is afk: food in mah belley
 
why does babel extending Error break things?
 
@MadaraUchiha do is not a valid function name, it is a keyword
 
@Jhawins sure.
 
user1596138
> Your total initial deposit may not exceed $1,000,000.00.
 
user1596138
4:57 PM
Awww darn
 
but only if my job title is @Loktar's Lacky
 
haha
 
Lacky > Henchman === ???
 

« first day (1679 days earlier)      last day (3267 days later) »