« first day (1818 days earlier)      last day (3144 days later) » 

user1596138
3:00 PM
@Loktar gave her the hardest questions in the world tho, it's his fault.
 
user3119231
I even don't know jquery. I just know vanilla js, the noob library :)
 
lmao
> "What does querySelectorAll return [fuckboy]?"
@rlemon @KendallFrey imgur.com/gallery/ymqwe2u salute
 
user1596138
I got a spam email today about a male sex toy that accommodates 3 men at a time....
 
ew
 
tl;dr u buy?
 
3:02 PM
Canadian is a shitty beer
 
user1596138
The "3Fap". Could've at least tried harder for the name
 
IGNORE THE BEER
 
3way docking
 
FOCUS ON THE CHEESE
 
@LanaKane is that the one with one is a mouth, one is a butt, and one is the business bits?
 
3:03 PM
@LanaKane Haha, how does that even happen?
 
user1596138
It's on IndieGoGo
 
yup
 
was on reddit last night
same one :D
 
user1596138
It;s made by the same people as AutoBlow haha
 
3:04 PM
I don't think it is meant for three people at once, moreso gives you three options to fap
 
I..
walks slowly away
 
user1596138
@rlemon Yeah the email I got was very confusing
 
I imagined something more like a "Y" instead of a "|||"
 
user1596138
@SterlingArcher you shoulda just flown to Nebraska visited me an Loke and drove your own car home... Same money
 
Same money, more miles on the car, more time off work
D:
 
3:06 PM
Does anyone here Mongoose + MongoDB with Node? If so, what do you use for database migrations and seeding?
 
user1596138
@SterlingArcher I see how it is
 
lol I don't get PTO yet!
 
user1596138
How long you gotta wait
 
user1596138
I was happy to learn you start accumulating PTO here on day1!
 
I had to wait 60 days, but I get unlimited PTO
 
user1596138
3:09 PM
Come over
 
user1596138
My address is 123 Common Street
 
I'm a contract to hire -- I don't get PTO for another 5 months, 1 week
 
user1596138
Oh damn
 
Yeah, no benefits yet :(
I need health insurance but I have to wait till open enrollment
 
Anyone here use Mongoose in Node?
 
3:11 PM
Yeah, once upon a time
 
user1596138
I had to wait 3 months or whatever for insurance but I declined because I use my parents and it's better..
 
@SterlingArcher something something Canada
 
I already had insurance on my own, so obama says I can't return to my parents insurance even though I'm 24
 
lol the task for the interview was create a modal
 
3:15 PM
seen it
 
you can use jquery, or whatever you want
 
@Loktar a modal what? train?
 
I browse reddit at 1am
 
Maek box. Display boax
 
@rlemon lol damn you
 
3:15 PM
the markup was already there too
 
@Loktar
 
$('.modal').show(); ?
 
it had 2 form fields, and when you hit submit went to a file called form.php
 
$(elm).modal();
 
and form.php just had to echo the vals sent
@rlemon dude if they did jqueryUI I wouldnt even have cared
or a plugin, whatever
 
3:16 PM
lol
 
would have been better than what was done :p
 
so php_purist works for you now?
 
HA!
omfg I'm such a retard
I was thinking mvc not a modal popup..
 
I need to make a fiddle of what I had, it was dead simple, imo anyway
 
Shit I even though model before modal
 
user1596138
3:19 PM
$('.selector').addEventListener('click', function display(".modal") {.... // We kind of stepped in here an were like wait a minute what are you doing?
 
Is there somewhat of an easy way to ensure there is only one instance of an object in a node environment? e.g. when I have multiple versions of a library that does DI, crazy shit can begin to happen because different modules registered in different DI instances.
 
@LanaKane lol
 
user1596138
@rlemon I think that is literally exactly what she had typed out...
 
^ that was the question
it wasn't in jsfiddle mind you
In the JS section I pasted the directions we give
 
user1596138
3:20 PM
@HatterisMad ^ that fiddle was the question
 
did you
!!riot
 
╯°□°)╯┻━┻
 
??
 
oh I had 2 simple images as well
on how it should look
but.. they were just rounded corners basically
 
man, I wanna interview at your place
just to see how I do
 
3:21 PM
@rlemon that wasn't for one of our front end positions
 
user1596138
You will have a new job if you do
 
this was for a marketing position
but yeah I think you would do fine
our interview is a bit tougher, the new one
import 'blah' from blah
 
user1596138
Yeah this position was for wordpressy stuff mostly... Which is sad because you'd think you can't fail that
 
lol thats like all we have in a file, and a build system setup
I can't remember the questions I wrote out
(doesn't really say blah)
 
user1596138
@Loktar what? I didn't see that one did I?
 
3:22 PM
@Loktar pft, you nerds with your jQuery modals
#overlay {
	visibility:hidden;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align:center;
    z-index: 99;
    background:rgba(0, 0, 0, 0.8);
}
.modal {
    width:300px;
    height:350px;
    margin: 100px auto;
    background-color: #fff;
    border:1px solid #000;
    padding:15px;
    text-align:center;
    z-index: 100;
}
 
@LanaKane this was the one I came up with right before we had the position taken
remember it was pretty much a blank slate?
 
user1596138
@Loktar Ohh I remember now
 
Guys, I decided what to make. A JavaScript bot that learns from users.
 
You don't want that
 
user1596138
!!urban learns
 
3:23 PM
@LanaKane Learn To learn is to acquire knowledge of a chosen area of study. IT IS NOT TO TEACH SOMEONE SOMETHING! The learner is taught not learned.
 
@JacquesMarais good luck, see you in 30 years
 
Imagine @CapricaSix with more sass
 
@Loktar :P
 
@SterlingArcher tell me this isn't the sexiest thing youve ever seen
 
but yeah whoever sees that fiddle, thats a pretty fair question for an entry/mid level dev right?
 
3:24 PM
Angular 2 is gonna support IE9
 
I love it lemonbro
 
I mean if you can't write a modal.. you aren't really a frontend dev.
 
I wish it was standard
 
user1596138
FrontEnd Dev = SEO/SEM person
 
user1596138
Apparently.
 
3:25 PM
@Loktar how long did they have to write it/can they test and tweak?
 
@SterlingArcher interview is for an hour and a half
they get at least an hour
 
I wonder if I put a donate button on my profile if it would make me enough money to retire and write SE/SO userscripts all day
 
not looking for perfection either, just that they at least know the technology and can write some code
 
probably not
but it is a fun idea
 
My interview question was the fizz buzz algorithm
 
3:26 PM
yeah see I think thats such a waste of time
 
@SterlingArcher no way, haha
 
Yeah lol
 
that's crazy
did you stay with them?
 
do you know CSS? idk, but you know math and modulus, yay!
 
interview questions?
what are those
 
3:27 PM
@AaronHarding I'm here right now!
 
@LanaKane Front End Developer = wordpress html + css script kiddie (according to most recruiters)
 
They also asked me some basic JS
like
!!> "11"+4+2
 
@SterlingArcher "1142"
 
user1596138
@Nick I wish, that's exactly what we wanted to hire her for
 
@LanaKane If I ever get put in that position, kill me
 
3:27 PM
And the difference between == and ===
 
inb4 she shows up in the chat room
:D
 
@SterlingArcher soo easy, but missing the point in an interview imo
 
@Nick too bad the candidate looked at css psuedo selectors when trying to make a modal.
for JS......
 
wat why
 
Also SASS was written on the resume
 
3:28 PM
I mean... you technically could, with the target selector
 
when asked if they used SASS... "no i read about it, but I'd like to use it one day!"
 
@Loktar maybe she meant the other Sass
 
They spent more time talking to me as a person and going over my experience than they did talk to me about coding
 
@SterlingArcher thats a lot of my experience as well, but I have projects to show
 
same here
 
3:29 PM
most people don't have any code or projects to look at before hand it seems
 
My guess, is they had to confirm I knew my shit, and beyond that, make sure I had the right personality
 
@SterlingArcher if you have a portfolio, then there's no need
those things are more important
 
^
 
the person is more important than their productivity
 
Exactly, they went through my SO account and github and I think that helped me
 
3:29 PM
if you won't work well with the team there is no point in hiring you
doesn't matter if you are amazing coder
 
yeah, but if you have nothing to look at then it sucks because you have to make sure they didn't just write technologies on their resume because they read about them once
 
Like I said, I'm very glad I had the idea to change my avatar to Babou, because they pulled up my profile on the monitor lol
 
its funny I thought there were only bad candidates in the gov.. but no, they are everywhere haha
 
@Loktar I once googled JIRA, so I'm basically an expert
 
I was like omg thank fucking god "got dick" isn't up there right now
7
 
3:30 PM
@Loktar well if you have nothing to show, then perhaps a job isn't for you.. maybe school first :p
 
and like 90% of the candidates.
@SterlingArcher LOL
 
or at least some time spent by yourself creating a few silly prototypes at least, and that's a bare minimum for an intern
 
I like to think that situation would have been embarassing, but hilarious
 
if I were the hiring manager, I would interview you regardless
shows a sense of humor
 
I would crack up
 
3:34 PM
!!afk how do you know I vape? because I constantly remind you.
 
The real interview: you have to get steaming drunk with the hiring manager
!!afk we get it, you vape
 
hi all.
 
hello
 
Hi
I got a quick question
Oh wait
Nvm
 
googled and searched everywhere but couldn't find a solution. I have a nested jsonp object which returned from asp.net webservice. I want to iterate through it and need to render in html. this is the output of object pastebin.com/Abj9zDSD .
Tried with this script
 
@Ravimallya Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com or pastie.org
 
1 message moved to JS trash
 
okay.
apologize
 
@CapricaSix getting lazy?
 
> Fixed bug where jumping against a wall would temporarily transform user into a rocket propelled box of wonders.
10/10 description, self
 
3:46 PM
this is the the script which is not working.. hastebin.com/wayanepine.coffee . only 2 index names are returning but not elements
what i'm missing?
 
user1596138
@AaronHarding Not always, and not everyone needs to buy a $40K+ piece of paper to become a developer ;)
 
@KendallFrey i know you're going to enjoy this one ...
 
I don't have any completed personal projects, but I have enough bits and pieces from random things to show that I know what I'm doing
 
I have a whole bunch of completed projects on bitbucket
I should put those on github
 
3:48 PM
do I need to stringify again?
 
@Ravimallya maybe a display(value) when value is not an object.
(but it can be an array)
does $.each do the difference by itself ?
Oh yes it does
@Ravimallya you just need a else { display(value); } after the } line 8 of your code
 
0
Q: How do I test a function that sends a request in browser that requires authentication?

Nathan JonesI'm in the process of writing unit tests in Mocha and Chai, and I'm trying to figure out how to test a function that that uses the fetch API to send a request that requires a session to access. This function is an ES6 method that returns a thenable object. _auth(record) { var authMetadata = ...

 
@dievardump oh. yeah.
let me check that..
 
var authUrl = `/${this._getPortal(window.location.pathname)}/tlist_child_auth.html?${this._encodeUri(authMetadata)}`;
that's not really beautiful...
looks like some bad looking php with those ${this.functionCall(variable)} in the strings
 
you're right, it's ugly, i think i wrote that a few minutes after discovering js could do template strings.
 
user1596138
3:57 PM
@AaronHarding Meh, I just got a shit job learned until I could apply to other jobs
 
I think using reduce in a lodash chain is making everything act strange, do I need to pass a thisArg?
 
strange how?
also _() or _.chain() ?
thisArgs only matters if you are using 'this' and aren't accounting for it in antoher way .bind() or () =>
 
_(myCollection)
  .map(() => /** ... */)
  .sortByOrder('size', 'desc')
  .reduce(function (buckets, item, index) {
    // do some reducing here
  }, [[], []])
  // now it's no longer chainable
 
correct. reduce ends the chain
 
Can you make it continue the chain?
 
4:08 PM
re-chain, or see if _.chain() will help
js reduce returns a single value, so chaining makes no more sense. the fact that YOUR single value is going to be an array, is just a coincidence.
like if you were reducing down to a single number (e.g. a sum), then .chaining that though anything else would be non-sense.
try _.chain(myCollection).reduce(...).whatever().value();
.chain() doesn't auto-end the chain on reduce. you need to end it explicitly with .value()
 
I mean, it makes sense that it happens, just kind of annoying
 
@rlemon LOL
 
@SterlingArcher at first I thought you posted that
 
4:19 PM
nay sir! twas the lemon
 
haha
 
2894
Q: Why does HTML think “chucknorris” is a color?

user456584How come certain random strings produce various colors when entered as background colors in HTML? For example: <body bgcolor="chucknorris"> test </body> ...produces a document with a red background across all browsers and platforms. Interestingly, while chucknorri produces a red back...

hahah
sorry if it's old
 
dat bgcolor
 
@monners rebecca.blackfriday happy friday bro
 
I'd rather program than lift things doe
I love that post, though
I want to frame it and put it on my wall
 
4:34 PM
> Websites that are glorified shopping carts with maybe three dynamic pages are maintained by teams of people around the clock, because the truth is everything is breaking all the time, everywhere, for everyone.
was really well put imo
 
Dammit. I have to pay cash for my car transport. That's so inconvenient lol
 
> So no, I'm not required to be able to lift objects weighing up to fifty pounds. I traded that for the opportunity to trim Satan's pubic hair while he dines out of my open skull so a few bits of the internet will continue to work for a few more days.
 
> On the internet, it's okay to say, "You know, this kind of works some of the time if you're using the right technology," and BAM! it's part of the internet now.
 
Hallo!
Any Idea how to start debugging with Firefox Web developer-Tools before onload-event?

Thanks in advance!
 
@Thomas131 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.
@Thomas131 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.
 
4:38 PM
open it up, then refresh the page?
 
Thanks! I will try soon, but my FF crashed just now.
 
okay..
 
Thanks! so simple and it worked!
 
:3 np
"That's your job if you work with the internet: hoping the last thing you wrote is good enough to survive for a few hours so you can eat dinner and catch a nap."
 
@SterlingArcher imgur.com/a/f2wSg
 
4:48 PM
fucking Math.max :(
 
Finally got the shit finalized. I have until next Wednesday to sign the car and return the papers. Pickup on thursday, and car arrives Monday the 19th. I can't wait that long D: D: D:
 
nice dude
so you had no trouble getting financing eh?
 
@SterlingArcher dude, hottie, "wanna take a ride in my new whip?"
bruh
 
inorite?
 
and then I just thought of
> I like my cars like I like my women.....
> used.
 
4:52 PM
I like em fast
 
I like em with loud exhaust
wait...
 
I like ones that are practical; something I can pack a little bit more into
 
Dont lie, you need like a smart car for your packing
 
Real talk, I want a smart car
I'd be too embarassed to drive it
but just have it sit in my drive way
 
!!s/used/electric powered/
 
4:55 PM
@SomeKittens I like my cars like I like my women..... electric powered. (source)
 
@Cereal For city commuters, they're nice. I'd get it as a second car.
 
!!s/electric powered/made by Elon Musk/
 
@Nick @SomeKittens I like my cars like I like my women..... made by Elon Musk. (source) (source)
 
Especially the EV version.
@Nick you know me so well
speaking of,
!!afk commuting
 
hallo
 
5:05 PM
@AwalGarg hi amy
 
5:17 PM
Why do promises seem so much faster than futures?
 
does anyone know if midnight in india is too late to meet with someone in the us?
 
user3119231
How was this function to make a string "compatible" (I want to give it with $_GET but symbols like & split the string...)
 
@3.14159265358... that's about 12pm for the americans :P
have you ever tried googling timezones?
 
no, in india it would be midnight
 
@corvid ...futures?
 
5:22 PM
i'm asking how late mst devs stay up over there
 
@3.14159265358... Which coast of the US? East Coast US is 12 hours off of Hubei, China, I know that
 
So you'd probably get someone towards the afternoon or middle of the day
 
@3.14159265358... I meant 12am
 
so they can work at 12AM?
if asked
 
5:28 PM
no
 
I need a binding function that allows rebinding
 
never ask someone to work till midnight
 
anyone know of something like that
 
but they chose to bid on a US contract knowing they were in india
 
so? find a time for communication that works for both parties.
 
5:31 PM
@3.14159265358... hey cutie pi
 
Is there any "how-to" for parameter checking in JavaScript(node.js especially).JavaScript developers very often use function parameters blindly not taking into consideration what will happen if parameter not exists or object instead of string is passed or...But it would be too much to check all parameters of all functions in project. Maybe it would be wise to use parameter checking just in functions where is highly unpredictable what they will receive, like functions that handle socket events
 
where do you end? We were wondering...
 
NEVER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
@Srle pre es6 people did :
 
5:32 PM
That doesn't look like a logically valid answer to a question starting from "where".
 
function foo(a,b) {
  a = a || defaultA;
  b = b || defaultB;
}
 
@3.14159265358... btw, you are really really irrational
 
user1596138
Went in the bathroom at work and found this taped to a paper towel dispenser O.o
 
5:36 PM
a co-worker?
@Loktar's mom? and little baby loktar?
 
user1596138
I have no idea pic looks like it's from the 90s
 
@rlemon, what is the practice in es6?
 
user3119231
can it be that click() does not work in newest fireforks versions?
 
function foo(a=1, b='screw you a') {

}
 
Would there be a way to avoid this repetition in promises? Example:
 
5:40 PM
@Srle use a maybe decorator if you need to enforce arity function maybe(fn) { return function() { var args = [].slice.call(arguments); if (args.some(function(x) {return x == null;})) { return null;} else { return fn.apply(null, args);}
 
createProducts().then(function (products) {
  if (process.env.NODE_ENV === 'development') {
    return createFakeDepartments(products);
  }
}).then(function (departments) {
  if (process.env.NODE_ENV === 'development') {
    return createFakePrices(departments);
  }
});
 
I don't understand australia
@monners please translate for me youtube.com/watch?v=TZJU1YfLtHI
 
Where is the repetition?
 
user1596138
@rlemon You did notice the dwarf in a diaper smoking a cigar right
 
ofc
 
5:42 PM
// the if statement. I would prefer something like:
createProducts().then(function () {
  if (process.env.NODE_ENV) // finish chain of events; hit finally and catch
});
 
You can have a transformer function which returns a function which executes only if a constant condition is matched.
 
var products = createProducts(); if (PREDICATE) { products.then(fakeCode); } else {products.then(realCode);}
 
let [myCreateFakeDepartments, myCreateFakePrices...] = executeOnlyIf(process.env.NODE_ENV === 'development', createFakeDepartments, createFakePrices, ...);
myCreate...(..); // auto returns if not in dev
(btw, executeOnlyIf is a horrible name for that transformer, but you get the point)
 
@rlemon, nice feature :D but again there must be a check if string is passed instead of an object and similar
 
why?
2907
Q: Why does HTML think “chucknorris” is a color?

user456584How come certain random strings produce various colors when entered as background colors in HTML? For example: <body bgcolor="chucknorris"> test </body> ...produces a document with a red background across all browsers and platforms. Interestingly, while chucknorri produces a red back...

 
crl
5:48 PM
lul
 
what would be the regex to test those bower_components paths? For e.g rgx.test('<script src="bower_components/foo/bar/jquery.js"></script>') should return true...
 
Because chucknorris is a color
 
crl
<body bgcolor="rlemon"> test </body> is #00ff00
 
the bower asset could be either js/css?
 
crl
<body bgcolor="jonskeet"> test </body> is blue
 
5:50 PM
> It's hard to believe this started out as a bag of fruit snacks and grape juice. Yet somehow these ingredients went from sweet and child-like to harsh and alcoholic quicker than Lindsay Lohan.
 
Guys... I did something and you're all gonna want me dead...
I made a Node framework based on java's spring framework...
 
socket.on('add_numbers', function(a, b) {
  var c = a + b;
  ...
});
I would not want to receive something which is not a number
 
const Controller = Bloom.Controller;
const Router = Bloom.Router;
const RequestMapping = Router.RequestMapping;
const View = Bloom.View;

@Controller
@RequestMapping('/foo')
class FooController {

	@RequestMapping('/{bar}', Router.GET)
	static index (data, request, response) {
		return new View('index').render(data, request, response);
	}

	@RequestMapping('/{baz}/{lorum}/ipsum', Router.POST)
	static login (data) {
		//console.log(data.get('foo'));
	}

}

Bloom.start(1337);
not even sorry
 
@Srle don't send anything else than a number, or convert a as a number
 
@Srle sure, but with a loose type system you either have to check, or let the equation fail and gracefully check for that later.
that isn't a problem.
 
crl
5:51 PM
is it a Bloom filter?
 
No, I should rename it... I named it bloom because it's similar to spring
 
take it from the other angle.
call it "hop"
@Nick make white girl wasted beer
 
crl
@Nick is it in Groovy or somthing like that?
 
@Nick wuuuuuuuuuuuut
 
@crl I'm not sure what groovy is; All I know is that I modeled it after spring
 
crl
5:56 PM
@Nick it's in JS?
 
thought it was some Symfony at the beginning
 
I think I made my chain of promises far too complex :|
 
@crl yeah
 
crl
@Nick oh gotta learn about annotations then, :)
 
socket.on('add_numbers', function(a, b) {
  var c = a + b;
  if(!isNaN(c)) { // let the equation fail and gracefully check and deal with error}
});
@rlemon something like that
 
crl
5:56 PM
ES6 I guess?
 
@Srle yea
or check before it gets to the service really you should only be passing valid types.
 
yeah but .on cb has only data, cb as parameters, no ?
 
It also has a bit of .NET MVC aspects mixed in
I'm gonna continue to work on it until someone barfs from how gross it is
 

« first day (1818 days earlier)      last day (3144 days later) »