« first day (1861 days earlier)      last day (3094 days later) » 

5:00 PM
!!s/a /a blow/
 
@Neoares @Neoares I want a blowjob / I want to make money (source)
 
but do you receive notifs prior to the actual merge process, on commits I do on the forked branch...?
 
All I got was JonH calling me a script kiddie :(
 
hey kiddie
 
At least it wasn't H. Jon calling you a script kiddie
 
5:01 PM
@SterlingArcher what for?
whose kids did you script?
 
@ssube Being in the javascript chat room
I'm not even kidding
 
oh, that
 
I remember coming to the javascript chat room a few times. I encountered you as very childish, arrogant, and shall we say acting like a "script kiddie". Sorry I cannot vote for someone who acts like that. — JonH yesterday
 
well, technically, he's not wrong...
 
I am a browser-script kiddie? YAY!
 
5:02 PM
I kinda nailed him with chat transcript proof lol
!!afk lunch time
 
I'm a bowser kiddie
!!s/ with.+//
 
@Nick I kinda nailed him (source)
 
I'll destroy you
 
@SterlingArcher You don't exactly act mature, you know.
I mean, even your mod nomination is a bit trolly :P
 
> a bit
 
5:05 PM
@SterlingArcher rude
 
TRYNA BE NICE MMK
 
@nick SterlingArcher is afk: lunch time
 
@ton.yeung that's not right at all
 
@ton.yeung But we're talking about non-mods here
 
But what if they have tattoos?
Then they'd probably be untrustworthy
 
5:07 PM
their whole personality and stance on most things plays into how they moderate
 
mods should be judged on whether or not they use php
 
@ton.yeung yes. keyword "running for"
 
@ton.yeung probably
 
@Nick 110% yes
 
you look like you might be the FBI
 
5:08 PM
mods shouldn't find anime interesting. @MadaraUchiha is exempted from this because I made this rule and exempt him from it.
 
@ton.yeung you're probably a gang member
so you would be a bad mod
i assume you're also a drug addict therefore unreliable and prone to making poor decisions
@Nick I might be moving to Austin :P
 
I'm so sorry
 
@ton.yeung true
allergies?
 
I didn't like Texas, but I've heard that Austin is better than Houston for us young folk; but also that it has a lot of homeless people
 
yeah I've heard austin is alright
 
5:11 PM
@ton.yeung three Nicks, counting me
 
you don't count
 
but yeah, Austin is a pretty cool city
 
the position I'm interviewing for is called "Javascript Badass Warlord"
 
ew
 
5:11 PM
well I am a badass warlord and i know jabbascript
 
I would run away from any position with shitty titles, like wizard, rockstar, ninja, etc
 
@nick I don't even think I'd apply
 
what else could they possibly ask from me
 
I interviewed at a place that called their employees Sherpas
 
@nick yeah you are awesome indeed :s
 
5:12 PM
I want to track forks from a git repo, but there are so many...and the network graph doesn't show...
 
@Cereal It sounds corny but it really seems like a cool company
 
@nick Be careful with those
 
GODDAMMIT ONE OF YOU CHANGE YOUR USERNAME
 
@nick That's not neccessarily a good thing, lol
 
5:13 PM
Well, they're like a startup but they have actual revenue
serious revenue
 
I got my first "come work for us plx" email today. That made me join Angel.Co.
 
@nick NUH UH
 
> startup
serious income
warlord
pls
 
on the other end of the spectrum I'm interviewing for a position at a rather large corporation whose company culture seems.. I dunno
reminds me of Cisco
button down shirts every day
 
crl
!!urban come to me
 
5:15 PM
@crl No definition found for come to me
 
probably wouldn't give you a second look if you had tattoos or whatever
 
I've only worked with JavaScript wizards
 
Anyone else knows about this site -> angel.co?
 
@ton.yeung oh well, I'd get used to it
 
My current title is "Senior FNG"
 
5:16 PM
@AwalGarg its a site to investor look on companies to invest.
 
@ton.yeung how did you get that?
 
crl
angel del Colombia
 
@DiegoFaria 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.
 
@SomeKittens fng?
@ton.yeung Haha exactly
 
!!urban fng
 
5:17 PM
@SomeKittens FNG Military term, 'Fucking New Guy' usually someone just out of training or just transfered into the unit/AO, who either hasn't proved his worth or doesn't know how to operate properly due to lack of experiance.
 
@ton.yeung I mean you wouldn't even be considered as a candidate.
its a shirt with buttons on it and a collar
 
The company I work for doesn;t differentiate back end and front end developers in job titles; you just get put on front end or back end work; my official title is "Software Engineer II"
 
@ton.yeung it's a shirt with buttons made from goose feathers, duh.
 
@DiegoFaria really? I got an email from a startup asking me to apply to a backend position through it.
 
@Nick I'm marketing myself as Full Stack
 
5:18 PM
> What’s your current compensation for your full time gig? We’re ramping up for some full-time seniors next year and are putting together pay/equity data for some comparisons.
iseewhatyoudidthar
 
I eventually want to be full stack, and then just back end
 
its trustworthy :)
 
there's also the attitude that full-stack is master of none
 
I'm a generalist.. I do a bit of everything
@SomeKittens yeah exactly
 
@ton.yeung 120k? Don't insult me!
 
5:19 PM
is someone here working in the US?
 
it can have a negative connotation
@DiegoFaria YOU BETTER BELIEVE IT
 
hahahahah
 
@ton.yeung SF bay area. Great salaries and the rent to match!
 
i work in Brazil
 
I work in the United Provinces of America
 
5:21 PM
@ton.yeung yeah
 
United Canada of Canamerica
 
sf cost of live is really expensive
 
oakland is pretty cool
 
America's toupe
 
used to be a dump but its going up
like everything in the Bay Area
 
5:21 PM
@ton.yeung yeah, sounds about right
 
19 actually
 
ton.old
bad joke, sorry
 
@KendallFrey yeah but I did pretty well for acting trollish :P
 
@ton.yeung perhaps, I wouldn't really know
 
5:22 PM
mah place is best place. people get paid enough to live a sound life for using dreamweaver
 
I just always heard of shootings and stuff going on in Oakland so I assumed it was kinda ghetto
@AwalGarg jQuery + DreamWeaver = Life Made
 
crl
!!urban weaver
 
@crl Weaver When you're searching for a parking spot and you find someone walking to their car. You follow them, however they trick you by weaving through cars and somehow end up on the other side of the parking lot.
 
!!define weave
 
@Cereal [weave](http://en.wiktionary.org/wiki?curid=3715) To form something by passing lengths or strands of material over and under one another.
This loom weaves yarn into sweaters.
 
5:23 PM
^
 
crl
ah indeed
 
Wow... the place we applied for, the guys realtor advised him to charge us TWO MONTHS rent as a security deposit
Because of a 50lb dog and hardwood floors
 
I thought that was normal
like, first month + last month right?
 
Not normal at all here
 
ah alright
 
5:26 PM
First months rent and security deposit and application fees are 99% standard
 
lmao
 
Basically they want $6900 up front for the townhouse
 
tell them its a cat
 
This is my cat, her name is Dog
 
@SterlingArcher rip
 
5:27 PM
@SterlingArcher Getting 69 up front is a pretty good offer
 
for a 1 year lease??
 
whoosh
 
lmao
 
5:28 PM
spoiler alert; katniss kills dumbledore
 
@SomeKittens you wanker
 
jQuery should be able to run in many different environments which makes it more robuts and it's easier to write, maintain but if speed is the most important then jQuery is not the answer — CodeBlend Aug 6 '14 at 11:04
> robuts
 
crl
5:37 PM
oh urban'd it
 
jquery is robuts
 
static html with a bit of DOM manipulation form jquery can still be quite fast..
just unmaintainable
 
crl
I'm not gonna say anything, I like Benjamin and Mosho
 
 
So using the map method on an array it automatically tracks what index it's on?
 
5:42 PM
'tracks'?
the index is one of the arguments to the callback and the output it in the same order, if that's what you mean
 
> joomal
 
lel
 
I'm used to looping on an increment to know where in the array it's at, but I don't see where you provide the index in the map method?
 
stackoverflow.com/questions/33832809/… is this function working because it's being hoisted?
 
5:43 PM
 
but here, read that @AmericanSlime
 
lol I'm already on this page...ok let me keep reading.
 
It's literall the second argument you pass into your function
[].map((item, index) => { ... })
 
@BenjaminGruenbaum did you see the gist?
 
Ohhhh, put the variable as index, then increment inside...
I'll try that, thanks
 
5:45 PM
er.. no incrementing..
 
@AmericanSlime no
 
So I put a 1 as the index, it automatically goes to 2?
 
no incrimenting... what are you trying to do?
 
@AmericanSlime No, index specifies the current index in the iteration
Modifying it will do nothing
 
5:46 PM
myArray.map(function(item, index) {
    console.log('Item:', item);
    console.log('At index:', index);
    return item;
});
Nick's exampel was correct, too, this i expanded it some
 
@AmericanSlime

[1, 2, 3].map(function(item) { return item + 1 })
// you'll get [2, 3, 4]
no incrimenting
 
@AmericanSlime You're defining results twice
 
@Cereal shouldn't matter in this example tho. because results.map shouldn't re-take results each iteration
 
@AmericanSlime map is for applying a function on every item inside of an array. It calls the function once per item.
You don't need to do any incrimenting
 
and returning a new array with the results
 
5:48 PM
aye
 
This vamp needs more blood.
 
Damnit I'm such a noob. Never used the map() before. Ok, let me read.
 
It is ok
I tried to use it the other day
 
nick is a noob too
 
!!> [1,2,3].map(item => item+1);
 
5:49 PM
@SterlingArcher "2,3,4"
 
much to my dismay, I was trying to use it on an object not an array
 
@Nick AND HIS NAME IS JOHN CENA!!!!!
 
Object.keys(myObject).map...
 
yes
 
@Luggage eh i just went for a for .. in loop
 
5:50 PM
also good
 
a lighter solution I think
 
0
Q: Does ES2015 exported class create a closure?

PavloAs it's currently compiled via Babel + Webpack, module's exported class will create a closure: variables created inside the module will be shared between class instances. bar.js: let foo; export default class Bar { set foo(value) { foo = value; } get foo() { return ...

 
@AmericanSlime Does what you're doing not work?
 
I have almost no for loops in my code.
 
!!> [["Job", "J"],["Que?", "Q"]].map(arr => { return { job: arr[0], suffix: arr[1] } })
 
5:50 PM
@Cereal That didn't make much sense. Maybe you meant: 3, d, y, ^, !, π, ?
@Cereal "[object Object],[object Object]"
 
@Luggage why not?
 
all map, forEach, reduce
which are loops, in a way, of course.
 
@OliverSalzburg Projects are obsessed with button bikeshedding
 
I still use for loops when performance is critical
 
i hate performance
 
5:51 PM
performance is awesome
 
twss
 
anyone who cares to answer: in your words (1-2 sentences) what is the difference between classical and prototypal inheritance in javascript? (this is not homework, just curious of people's takes)
 
I try to make my code performant, always. All the little bits and pieces add up, m8
 
Suuuuuure it's not homework.
 
Ones a prototype
one's a class
woop
 
5:52 PM
@Luggage ...I mean, it's not. A friend that is interviewing soon asked me, and I figured you guys could come up with a better explanation than me
 
@Codeman you don't have to subclass to an extend an object
 
@Cereal No it doesn't, and I don't understand what I'm doing wrong lol. paste.ubuntu.com/13369990
 
that's the way I look at it
 
@nick so you don't actually have to "inherit" to extend the behavior of an object?
 
Wow, I had no idea JS had classical inheritance
 
5:53 PM
@AmericanSlime Where are you using data
 
it does now
 
@SterlingArcher ES2015 has the "class" keyword now
 
it doesn't but you can use prototypal inheritance like that if you want to
 
I'm not sure what it compiles down to, probably just an abuse of prototypes
 
5:53 PM
it compiles down to a prototype
 
function ZParenizor(value) {
    this.setValue(value);
}

ZParenizor.inherits(Parenizor);

ZParenizor.method('toString', function () {
    if (this.getValue()) {
        return this.uber('toString');
    }
    return "-0-";
});
 
@AmericanSlime ALWAYS define variables with 'var'... also, you spelled "results" wrong in one of your places as "result"
 
inherits and uber are real methods?
 
You really need to learn how to debug your code
 
@SterlingArcher that's old, ES6 doe the same thing
 
using super instead of uber and extends instead of inherits
 
Leopard
 
I'd say classes are a type system for OOP, and classical inheritance creates taxonomies and static hierarchies of functionality. Prototypical inheritance OTOH has more to do with default delegation of responsibilities.
 
@Nick I didn't have the variable because I was trying to force a global scope thinking that's why it wasn't defined later on. Good catch on the typo. All the code: paste.ubuntu.com/13370054
 
Don't force global scope; just why
come on
 
5:57 PM
@AmericanSlime define data outside of the async function
or
No wait what
lol
You're using data before you set it
 
@SterlingArcher babeljs.io/repl/…
 
@AmericanSlime you're not going about this right at all
 
@SterlingArcher what makes you think JS has classical inheritance?
 
@ton.yeung it is. example?
 
lol. I'm only going down this map because someone said I need to use the map method. I was just trying to create objects and push them into an array. Started with a loop of the array, but didn't get how to push unnamed objects, which is where this map came into play I guess.
 
5:58 PM
@Mosho some nobody named douglas crockford said.
 
@ton.yeung data is defined in an asynchronous function. The code hasn't run yet
 
@AmericanSlime Your problem is not map; that's right. Your problem is literally everything else
 
@Luggage he never said that
 
@AmericanSlime You define data in an async function. It's not defined when you're trying to create your table.
 
he was showing how to imitate it, which is how I said JS has it, too
 
5:59 PM
Call the create table function from inside the async function
 
@Cereal ....wow, let me try that and @Nick lmao thanks
 

« first day (1861 days earlier)      last day (3094 days later) »