« first day (1278 days earlier)      last day (3685 days later) » 

@AbhishekHingnikar Looks good so far
 
!!learn bender '<>http://i.imgur.com/Bl0RSeC.gif'
 
@rlemon That didn't make much sense. Use the !!/help command to learn more.
@rlemon Command bender learned
 
!!bender
 
5:15 PM
wat
the
fuck
 
he is like all of the benders from Avatar mixed into one
hypnotizing to watch
god I love watching big people dance
(and run)
 
I love to see them fall
 
lmao
> RESTRICTED ! -- Your request was denied because of its content categorization: "Pornography".
 
hahahaha
 
5:17 PM
what have you done lemon
 
it is a sub reddit where fat people tell stories of their lives
 
I hope they don't record this
 
can you see this?
 
not even going to try
until I get home, that is
 
^ filled with these types of gems
 
lmao
 
what's "blubber"?
 
user3071008
fat
 
user3071008
the fat of sea mammals to be precise
 
5:23 PM
hahahaha @FlorianMargaine is all over that sub :P
I got like ten links in and went back to work
 
I RECOGNIZE MYSELF OK
@rlemon yeah same
I just opened a tab googling "drupal views query"
 
> drupal
my condolences
 
Your Mother as a Service
 
@rlemon heh
a really nice job may be opened to me
on drupal
the company is awesome though
all fridays for R&D :P
 
@SomeKittensUx2666 Heh
@FlorianMargaine That sounds awesome!
 
5:26 PM
are you mocking me?
 
curl -XGET 'http://ymaas.com/some'
 
@FlorianMargaine No, no, I was serious
 
working for them might be better
 
Fridays for R&D sounds awesome
where do I sign up?
 
using drupal (in my experience) was like "okay guys, can I write some code now?"
 
5:26 PM
So, I was looking to use lodash with angular. I didn't necessarily want to use the global, just in case of conflicts. But I found a bower package that just shoves it all into $rootScope... which seems like a terrible idea.
 
@rlemon hah. Not my experience
 
rao
can someone please help me with this question
 
and the company is "Commerce Guys", their main product is a drupal module for e-commerce
so it's mainly code.
 
I was using Drupal (6?) for a CRM system
 
5:27 PM
!!s/bower.*terr/bower terr/
 
@SomeKittensUx2666 So, I was looking to use lodash with angular. I didn't necessarily want to use the global, just in case of conflicts. But I found a bower terrible idea. (source)
 
gave up and pressed my own with CI (not much better)
 
let me resay that: their main product is a GPL product
 
Question: Is it a bad practice to not be closing a db connection?
 
yes
depends
 
5:28 PM
I sometimes don't. :/ but I always try to
 
@SomeKittensUx2666 Yeah, that's what I thought. When I first saw the package, I thought they'd do something logical like I don't know MAKE IT A SERVICE.
 
most applications usually have a connection pool
 
And then all my shit broke because I thought they'd do something logical.
 
afaik (depending on the driver) they release themselves from the pool automatically.
 
5:29 PM
So, I made it a service, lol
 
how did that break your shit
 
Thanks, I'll look into it
 
went into his toilet, pulled out a turd, froze it, hit it with a hammer <- broke his shit
 
you do realize $rootScope is a service :D
 
:)
 
5:29 PM
Yeah, MongoClient seems to handle pooling
 
But using $rootScope for anything just seems like it's terribad.
It's like, the Angular equivalent of global variables.
 
lodash as a service
 
@SomeGuy see how miaou handles pg's pool
 
\o/ I don't manage shit. postgres driver does everything for me \o/
 
Haha, yeah, I just opened that
 
5:31 PM
:/ but I do pg.end() after every connection + query
 
Anyway
!!afk finally eating lunch
 
@RyanKinal it can be problematic when you have more than 1 module edit $rootScope, yeah
 
@FlorianMargaine ok, where do I get a StackExchange clientId?
 
5:36 PM
@BenjaminGruenbaum \o
 
5:48 PM
So, someone discovered FRP with promises, pretty funny and cool.
 
@SomeGuy i made a short 1:10 second advertisement xD
added one slide
Photos are precious;
Don't lose your photos ever


another onee

Snapick.Me
:D
 
Hahaha
 
...
FACE FUCKING PALM :(
 
Hahaha
 
6:02 PM
everyone laugh at @rlemon!
 
Happens to the best of us :p
 
@SomeGuy over write your own variables?
 
Not really. But I can pretend like it does, if it helps
 
lol thanks jerk
 
posted on April 16, 2014 by Victor A. Rodriguez

Follow-Up on Skydiving Meteorite: Crowdsourcing Concludes it Was Just a Rock For all those involved with the initial investigation of the skydiver and the possible meteorite, they now feel they have resolution to their puzzle, thanks to the beauty of crowdsourcing. The rock that showed up in a video taken during a skydive in Norway in 2012 was likely just a rock — accidentally packed in th

 
6:09 PM
@rlemon LOL
 
:(
 
this is why you shouldn't code with sublime
:D
 
yea, i'll switch back to DreamWeaver
that'll solve the issue
 
@snahor 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.
@ec8or 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.
 
it really slows down to detect the intersections
it solves a quadratic equation
should I do it another way?
 
6:15 PM
blank for me
 
click around
 
still blank
 
wat
canvas is top 3rd of the view
 
Works for me
 
BRO! Y U NO FULL SCREEN IT
 
user1596138
6:17 PM
So... I am doing something different
 
ugh
so many performance nonos in that @Mosho
 
The modulo of a negative int is negative. I had to guard against that many times. And never did I find it useful. What could be a use case ?
 
@Mosho don't use fancy array methods, or jQuery, or setInterval, and maybe re-use the circles so you don't have to create or remove them from the pool
 
@Mosho LOL circle jerk
awesome name
 
@Mosho You're including jQuery to bind click and keyup events?
Oh, and as a selector
 
6:22 PM
it's my first time :X
brb
@SomeGuy I made it after that tutorial you gave me
 
Awesome
I like it
 
@rlemon noted, thanks
 
I HATE IT!
 
will edit
 
DONT EVER TALK TO ME
 
6:24 PM
what
:'(
 
okay, you are forgiven
 
@Mosho avoid delete
Avoid foreach
avoid sqrt unless you need to, although that's less of a biggie
avoid closures
Prefer plain objects with constructors
 
so much to avoid, and so many micro optimizations you need to do with canvas
 
don't call sort on 2 points.
 
sqrt wasn't bad actually
we determined that long ago in the chat
 
6:26 PM
also, cache selectors
@Loktar yeah, only like 30% slower.
 
but it could be avoided @Loktar and if it can, do.
 
sup guys?
 
Also @Mosho use requestAnimationFrame for animations
 
@BenjaminGruenbaum yeah, I was gonna change that
 
6:27 PM
Math.Tau = Math.PI * 2;
 
very browser dependent.
 
@Mosho you're welcome.
 
I'm just curious why is javascript said to be very slow, but now a lot of people are already using javascript for server development.
 
@Loktar that's a really broken benchmark
 
I'll bother you guys later too, gotta go back to work now
 
6:28 PM
@Loktar the last revision makes more sense, where the JIT can work
 
@Loktar well, depending on the use. I just don't sqrt it and square the comparison value
I think you showed me (or someone noted on your blog post about it or something)
 
I always sqrt
look at how many kids I have
badish
 
var ds = dx * dx + dy * dy;
var rs = rad * rad;
if( rs > ds ) {
  // collision
}
 
user1596138
@Loktar lol whoa
 
yeah you guys are right, I just remember we had this discussion a while back
and using math.sqrt wasnt as much of a hit as people thought it would be
 
6:30 PM
\o/ another github recruiter
 
@BenjaminGruenbaum that last revision is amazing
 
..
 
@rlemon I lived in a small town called Mio
 
it is and was shit.
 
6:31 PM
@Loktar miovision.com the company
I'm happy where I am, but I still like to see who is after me
 
dont do it man! :P
 
That looks like an interesting company
 
it does.
 
yeah I'm the same way I get calls quite often.. but whatever I like my job now.
 
I'm wondering if maybe I should sit down with him and maybe point him in the direction of some of you guys
 
6:32 PM
@rlemon to be fair, they're better than most other recruiters :P
 
if you can write a for loop you are apparently more qualified than 60% of people who interview
 
Hahaha
 
@BenjaminGruenbaum local company, and even called out which of my repos he was interested in and such.
 
@rlemon you should interview with them regardless
 
WAY better than your average c&p email.
 
6:32 PM
its a good experience man
 
Which repos was he interested in?
 
liveshadow.js and notifier.js
 
user1596138
@rlemon What if it's Neal/qwertynl
 
user1596138
Trolling
 
user1596138
//jk. Good luck if you go for something dude
 
6:34 PM
ha
i'm not going to take any jobs. the company I work for is great.
 
user1596138
Guess who's being mercilessly begged to go to college ha
 
i'm kinda shocked however, this is the first local company that has contacted me
 
And you get to bang the boss's daughter
 
^ always a plus
 
user1596138
Wait what?
 
6:35 PM
rlemon works for his girlfriend's dad
 
user1596138
lol oh nice
 
@Jhawins Well, that sucks
What'll you do?
 
user1596138
Idk. I don't really wanna go. I'm a decent programmer for 2 years experience. Feel like it'd be a lot of redundancy
 
Maybe get a diploma?
Something's better than nothing
 
user1596138
Grandparents lol. Yesterday they said they'd just loan me the money at 1% interest.
 
6:37 PM
wow nice interest rate
 
user1596138
I guess they're waaaayyyyyy more loaded than last I knew. They've been in Mexico at a resort for like 3 months.
 
user1596138
And I'm like I thought you guys were just boring
 
They're selling drugs, aren't they?
 
user1596138
Idk I know they own like ~400 acres of farm land and they got dem stocks from back in the day
 
user1596138
But someone is likely growing weed/making meth somewhere on those 400 acres.
 
6:39 PM
@rlemon I'd interview anyway if I were you, and ask for a lot more money than you think you'd get.
 
user1596138
But here's the conflicting part... And this will sound wrong lol. But they'll likely be dead before I could pay it back. So I don't really know if I feel good about that one.
 
user1596138
But I could just take a normal loan and go to school. How does one "go to school" somewhere else without lining up a job first? I've always wondered. It seems to just magically happen hahaha
 
user1596138
<- check out dat rep
 
hey @Loktar what's your github name?
 
loktar00
 
6:42 PM
!!gayclubs
 
Mar 18 '13 at 20:08, by Loktar
I've been to gay clubs more than regular clubs lol
 
That's the GH user
 
I'm cultural
 
LOADs to do before anything is ready but you can watch/contrib if ye please
 
6:44 PM
@BenjaminGruenbaum idk. i'm going to think about it. reply to him tomorrow
i'm UBER pumped right now. ALL TESTS ARE GREEN BABY!!! YEA!
 
@SimonSarris Watch what?
 
yeah for sure
 
@rlemon interviewing is good for you. You won't quit anyway given the situation with your GF and the business being a family business and all - but still.
It's extremely valuable to know where you stand.
 
I don't like to lead people on. I know it is a BS excuse, but part of me feels like i'm wasting their time (because I am)
I'm very conscious of that fact.
 
Yeah, we were talking to Patsy about this just today in the HTML room
 
6:46 PM
eh thats a lame excuse. You aren't leading them on
you have no idea if they will even want you
and you don't know what they may even offer, it could be something that makes you consider working for them
^ not trying to sound like a dick in anyway
just a way to justify it
if someone offers you 200k will you stay at your current job? I mean you never know what could be offered
 
@rlemon they get better at interviewing, you get better at getting interviewed, they get a benchmark for future candidates and you get a benchmark for future interviews. You get to know people in your area with similar interests and possible business partners for the future. At the very worst, you might get a tempting job offer.
I don't see how it's not a win win.
 
@WilbertvandeRidder 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.
 
user1596138
@RyanKinal
 
@Jhawins RyanKinal is afk: finally eating lunch
 
user1596138
 
6:50 PM
(Actually back now)
@Jhawins :maniacal laughter:
 
user1596138
I misstyped my url haha
 
@rlemon just don't lie, tell them straight up you're very happy with your current job, that you're doing things you enjoy at a fun environment but that you're willing to hear them out and are always interested in learning about new opportunities.
 
user1596138
Wait @Ryan you do shortcodes??
 
@Jhawins For some values of "do shortcodes", yeah
 
user1596138
Nice. I was looking at starting something and wanted that. But... Didn't work out.
 
6:52 PM
Shortcodes are expensive
Especially if you get them through us :-P
Because we get them from Twilio
 
user1596138
Ah haha nice
 
user1596138
Well I've been
decision:
"Looking to start this/that" -> "Going to move for a new job" -> "Going to school" ->
continue decision;
For awhile now so I don't think I'll have the need anyway ha
 
I know what you mean :-)
 
@Loktar like I said, i know it is a BS excuse. but we can't always block out the little people who whisper these ideas into our brains
 
user1596138
!!whats the answer?
 
6:57 PM
@Jhawins That didn't make much sense. Maybe you meant: stats
 
@BenjaminGruenbaum noted.
 
user1596138
She don't even know
 
@rlemon good luck :)
 
@rlemon hows your pixel project going?
 
its not
back burner
 
7:00 PM
sigh
@dystroy seems like I'm still missing something when it comes to the SE API
 
user1596138
@rlemon @SomeKittens I want to make a plugin for the bot but I'm not sure what repo/how this is working
 
user1596138
Can I just do a pull to the normal one and we can port it when the time comes/I will?
 
@Jhawins Pull to current one, then adjust for node and pull there
 
user1596138
K
 
user1596138
Also, do you guys have any easy/quick method of setting her up outside of an actual room? Testing has been annoying
 
7:07 PM
Sandbox, pretty much
 
user1596138
As far as I've seen there's no "backdoor" access. I could just trick her into outputting to the console only I guess
 
user1596138
Ok
 
any suggestions on cleaning up this control flow? https://gist.github.com/qcom/10921454
what I have currently doesn't seem optimal
 
7:21 PM
nvm I figured it out now :)
 
@Zach why would you do that?
Return the promise..
 
@BenSouthgate 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.
 
@Zach see comment.
 
In AngularJS, if you specify a controller in app.js it gets passed to ng-view right?
I mean whichever element has the ng-view directive
 
7:26 PM
@Martin sure, with the router.
 
@BenjaminGruenbaum strange. I'm building an app and it's not passing anything to my view. I have an array that I'm trying to look through with ng-repeat and it's not working. I try the same code in jsFiddle (only difference is the ng-view vs ng-controller) and it works
 
@Martin read the routing tutorial.
Or watch the egghead.io videos.
 
@BenjaminGruenbaum I've looked at them. I'll reread the routing tutorial again maybe I missed something
 
@BenjaminGruenbaum so what exactly happens when something is false (i.e. when you return anotherPromiseReturningFn())
 
@Zach when you return from a promise, if you return a promise - it will unwrap that promise (read - wait for it)
If you return anything else - it will fulfill with it.
 
7:33 PM
then when something === true and nothing/undefined is returned, execution will continue at .then(doStuff)?
 
Yes, almost immediately
 
okay, but where do I place my handler that utilizes the fulfilled value from anotherPromiseReturningFn()?
 
doStuff accepts the data passed, it's either the result or undefined.
 
mm okay
 
@ykjs121 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.
 
7:37 PM
anyone good with highcharts?
 
@BenjaminGruenbaum okay, understanding complete
 
Ok weird. Even when I explicitly write ng-controller="SearchController" I'm not getting my data
 
0
Q: Handle multiple one time events with FRP?

FredyCThis is pretty much continuation from my previous question, that has been answered already and this is little bit different. Same situation, two independent NodeJS modules, each emits some ready event when appropriate using shared EventEmitter object. Another module (also independent) wants to w...

 
Got it... stupid mistake...
Should've double checked my included providers
 
hi guys, I've created a div, and added an image. the div has 20px padding and looks fine, but then I added a button to the div with .innerHTML += 'button code';
but it's ignoring the padding, the button seems to go on top of the div, but below the image
 
7:55 PM
@Zach Every time you're pinged I'm pinged ):
 
@ZachSaucier this is the one time I've been disappointed someone spelled it right (no k) ;)
I've been meaning to change my display name actually
 
oh ignore my question above. I know what I've done wrong. whether I know how to fix it is another thing but we'll see :)
 
done
I take it there's a lag time before it's updated here?
 

« first day (1278 days earlier)      last day (3685 days later) »