« first day (1600 days earlier)      last day (3350 days later) » 

4:01 PM
@FlorianMargaine this is true, but not really helpful...
 
@Julo0sS Look up scoping and hoisting. It explains why it acts like that.
 
@Julo0sS If you have an array of items, and you want to sequentially call promises on them, have a look at Array.reduce()
 
2 hours later, nearly everyone between Texas and Minnesota and east is dead.
 
(You want to reduce an array of items to a promise that resolves when all of the items were called sequentially)
 
> Who wore it better?
lol
 
4:11 PM
Kitten Kardashian
@Jhawins My tooth shard is wiggly. It's kind of like waiting for a tooth to fall out as a kid.
 
@Shmiddty go to the dentist.
 
@FlorianMargaine dentist told me it was fine and it would fall out naturally
 
awesome.
 
I'm just trying to avoid swallowing it
 
ew lol
I think one of my co workers just apologized to herself by accident
 
4:18 PM
 
sauce?
 
the zombies-usa link in the stars
 
The instant I hear of the zombie outbreak, I'm off to Las Vegas
 
to party?
 
and survive
 
4:19 PM
I'm going to mexico lol clearly zombies only infect the US
 
vegas doesn't have much in the way of natural resources
 
clearly the US is the only country in the world
 
once the power goes out, vegas is a terrible place to be
 
@Shmiddty I like my hookers natural, tyvm
 
@KendallFrey s/country in the //
 
4:20 PM
touche
 
@rlemon @SecondRikudo this is where i was when i came here jsfiddle.net/h7jb0j00/3 but i'm not better now... i still dont understand..
 
I would go to Texas in the event of a Zombie outbreak
probably
 
because zombies with weapons is better?
or because you can find a gun in every house?
 
because It would be more likely to find a gun in every house in Texas
And Texans aren't really bad people for the most part
they have a culture of working together and helping eachother out.
 
@Shmiddty ... which can be said about any state, I think.
 
4:24 PM
True
But I think you'd have to worry about people more than zombies in some areas of the country
 
I'd argue that the southern states would be more "wilderness prepared"
 
Nah, Colorado and Montana
 
user1596138
Anyone having issues with Chrome 41 (update happened last night for me) being detected as a mobile device on websites?
 
camping, hiking/backpacking, hunting, etc
pretty common here
 
user1596138
If I roll back to 40 everything is fine.
 
4:26 PM
But that would be more of an isolation strategy
 
true I was thinking more redneck ingenuity
 
@Julo0sS jsfiddle.net/h7jb0j00/5 I'm busy so you'll have to find someone else to help you the rest of the way. this should get you started
 
how do I get the last returned value in js console?
 
@SterlingArcher Doesn't count for much if you can't go to the hospital when you fuck up
 
7
Q: JavaScript: last value printed in console

RandomblueIs there an equivalent to the Python _ in JavaScript referencing the last value printed in the console? I'm especially interested in Chrome.

 
4:27 PM
$_
 
@Loktar I need a little help with react. If you would like to
 
late
 
@SterlingArcher ah, thanks
 
oic
 
4:28 PM
found it before, but nice to know there's a question for that.
 
when did node get native Promises?
anyone who isn't a smart ass :P
 
ioi
 
@rlemon btw, only 4 months before my wife gives birth. I'll have less time after that for side projects.
Dunno yet how I'll be organized
 
congratz on being-father
 
4:33 PM
Thanks
 
⸘Que paso‽
@FlorianMargaine how would you say (informal) "What's up!?" in French?
 
bob wants me to do something
it was supposed to start 6 months ago though :D
@Shmiddty "Salut ça va ?"
@Shmiddty wait, in which context
asking for news?
 
"Quoi de neuf ?"
 
@FlorianMargaine as an informal greeting
 
4:38 PM
@Shmiddty how long since you saw him/her?
 
@argentum47 I can try
whats up?
 
@FlorianMargaine Is that relevant?
 
@Shmiddty yeah. If you saw him yesterday, you won't ask him "what's new?"
 
well sure
 
@Loktar github.com/argentum47/gitview/blob/production/views/… In here I have preloaded the Users and the Notifications, but when I Add an new user, I want the notifications to update too. Previously when I had two separate llinks, it wan't an issue. but how to solve this now? I have a live preview at gitapp.pagekite.me
 
4:40 PM
so "salut ça va ?" is "hey how are you doing?"
 
There are a handful of greetings in American English that are somewhat nonsensical
 
and "quoi de neuf ?" is "what's new?"... can be said after a couple days
 
Like... if I say "what's up" or "how's it going", the response isn't really important. It's equivalent to saying "hi, I see you and care about your happiness"
 
@rlemon thx, this is clear now :) fixed it
 
but much shorter
 
4:41 PM
@Shmiddty yeah. See previous messages :P
 
1
Q: Best Practices for Creating an abstraction layer for charts library

charger73I am working on a project where I need to use charts. I am currently using nvd3 with angular. But due to its heavy payload, I will be switching to some other chart library. Now, I want to create an abstraction layer in js which allows me to use any charting library without changing much of code...

 
@argentum47 hmm I don't understand what you mean I guess. What do the notifications show?
if I understand what you mean you need a wrapper around the notifications and users
a common parent
 
The Notification shows the if the user has created/deleted a branch/tag or open-sourced or have been added by someone. like in github notig=fications
 
and you want to pass the event
one sec let me try to make an example of what I mean
 
4:45 PM
Is it bad to only link to a fiddle instead of including your code when you post a question. If so, where does it say that in the help/guidelines?
 
user1596138
Can someone on Chrome 41 visit http://104.236.51.178/checkmobile.php and tell me if it thinks you are mobile or a browser? I'm using the PHP class Mobile Detect and for me 41 returns true but 40 returns false. All other browsers act normal.. I just want to know if this is a Chrome issue or if I need to fix this. // cc @regulars @loktar @rlemon maybe if you're free
 
@Jonathan link only answers are bad
jsfiddle can go down, then your answer is useless.
 
bool(false) you are a browser
 
user1596138
Sorry for lack of domain... DO droplets are easy
 
user1596138
@argentum47 What OS/version of Chrome if you don't mind?
 
4:46 PM
-1
Q: CSS multiple animation keyframes sequence and delay not working

ShaozI created 2 keyframes. The 1st keyframe is applied to all elements with class .drop-in. And the 2nd keyframe is specific to an element with class .look-at-me, when the 1st keyframe animation has finished. The problem is, even though I have added a delay on the 2nd keyframe for the class .look-at...

@rlemon Where does it say this on SO?
 
Question on AngularJS filter, if someone has a moment
filter, as in for ng-repeat.
 
@Jonathan many places. search meta
 
search "link rot" on meta
 
and that is a question, not an answer. so it might not be called out directly, but it still applies
 
@Jhawins oops its 40.xyz
 
user1596138
4:48 PM
@argentum47 :P
 
user1596138
Thanks tho!
 
why is 41 important ?
 
link rot happens. link only questions and answers should be edited to include both the code and the link to the demo. Then if the link does die someone can reproduce on their own. — rlemon 9 secs ago
there you go
 
shit
I copied the link damnit lol
 
user1596138
@argentum47 Cause 41 is the one saying it's mobile even tho it's a browser. I got the update this morning and this started happening so I'm seeing the mobile version of our control panel
 
4:49 PM
there you go
 
user1596138
I can sure just spoof it but other users shouldn't have to deal with it
 
@Loktar ok. I will try to restructure my app
 
basically you just need to pass the event up to the parent
the parents state changes
and the state is passed as props to the child components
 
4
A: Old link doesn't work for a good answer

slugsterIt's called "link rot" and is exactly the reason why link-only answers are not allowed. For these you should do your best to find the linked resource and fix the link by editing the question. If the answer depended on the link, and you cannot fix it and the answer is effectively useless without...

 
user1596138
But no one seems to care to test it... I'll go ask non-devs lol
 
4:50 PM
so they will auto update based on any state changes on the parent
 
Best I could find
 
that is not tested code, just did it to give an idea of what I mean
 
user1596138
Thanks guys
 
man I friggin love react
 
4:51 PM
I have implemented this thing. I will put some event in the Home component
 
47
A: Can we get an official stance on link-only answers in the LQP review queue?

Brad LarsonYou have an official stance on this. So many people read only part of Shog9's post there and assume it means that anything with a link in it should immediately be deleted. That's not at all what he says, and is not what many of us have said. What he tells us to remove are answers like this: ...

 
@Loktar @HorseJS
 
user1596138
I hate you..
 
although I haven't touched the animation part. But react is lovely.
 
@BartekBanachewicz :(
 
4:54 PM
today I stopped by the react irc channel, I found petehunt. I was overjoyed. I asked him of he was facebook petehunt. He said si and left the room. (after a few minutes) . I dun have a clue what I did.
 
lol
 
I idle in the react room I think
/me checks
yea
I rarely ever pay attn to it
 
@argentum47 you know... talking with internet famous people is not rare :P
 
4:55 PM
yeah we get to talk to @FlorianMargaine everyday
contributer to npm!
 
@Loktar 2.9
 
:P
hell Paul Irish has been in here before
I got to ask him if he lifts.
 
does he?
 
Aug 21 '13 at 19:20, by Loktar
@PaulIrish could I ask a question, DO YOU EVEN LIFT?! :P
 
4:57 PM
there are a couple (i.e. ~5-10) of people doing talks at big confs in the php room, for example
 
user1596138
@argentum47 I fixed it (you cared to click a link for me so I figure I'd tell you at least :P)
 
Jon Skeet was in the C# room once or twice
 
@KendallFrey yeah for some reason I don't think of him as really "famous" idk
he is just the power SO user
 
well he's famous on SO
it's about all...
 
:D I don't C# :P .
@Jhawins how ?
I was updating my chromium
 
user1596138
4:59 PM
There was an update for the class I was using... I used it lol
 
user1596138
Even though the current build is failed it works..
 
has anyone here ever developed a package for meteor? I am having some debugging problems. How do you know if your package was properly included?
 
@FlorianMargaine According to him, he's a "microcelebrity" in several communities, SO being the largest. (Source: some old blog post of his)
 
Hi all
any one there
?
Please rell me good book to learn javascript properly, in a very good manner
 
user1596138
5:08 PM
> I would consider myself to have been a micro-celebrity in five distinct communities over the course of the last 14 years:

The alt.books.stephen-king newsgroup
The mostly web-based community around Team17’s series of “Worms” games (well, the first few, on the PC only)
The comp.lang.java.* newsgroups
The microsoft.public.dotnet.languages.csharp newsgroup
Stack Overflow
 
user1596138
LOL
 
@VishwajitR.Shinde JavaScript: The Good Parts is apparently pretty good
 
@Jhawins wat?
who wrote that?
 
user1596138
7 mins ago, by Kendall Frey
@FlorianMargaine According to him, he's a "microcelebrity" in several communities, SO being the largest. (Source: some old blog post of his)
 
> Hah dude I am an A lister in worms
 
user1596138
5:11 PM
Jon Skeet
 
user1596138
I fucking love Worms
 
@KendallFrey some parts of it are pretty dated, now.
 
user1596138
There really isn't a "Report user" button anywhere on SE/SO?
 
no, because it's about content, not about user.
 
user1596138
Fine, you can find the dude getting fucked on an avatar and fix it yourself, mods.
 
5:16 PM
you can flag his content...
 
flag a question with a custom reason
 
moderator flags
 
user1596138
It's his profile.
 
user1596138
That's stupid lol
 
5:16 PM
Link?
 
16 secs ago, by rlemon
flag a question with a custom reason
 
user1596138
They can find it themselves.
 
user1596138
Nah man
 
user1596138
17 secs ago, by Jhawins
That's stupid lol
 
why is it stupid?
 
5:16 PM
LINK
 
user1596138
Idgaf I'm gonna go smoke.
 
it does exactly what you want
 
user1596138
Cause they get so god damn nit picky about using flags for exactly what they are supposed to be
 
and this is from them: use flags for this
it's been asked on meta
 
user1596138
Eh I'll protest the idiocracy of not having a report function per-profile by not going back to that page because I really didn't want to see what I saw. I mean I know I'm a grown man but sometimes man...
 
5:18 PM
yay!! marvel's agents of shield is back
 
user1596138
!!afk
 
@Zirak @BenjaminGruenbaum just told me, congratulations!
 
congratulations on what?
 
Being engaged with you
 
I knew this day would come
 
5:28 PM
Hi, any of you use or know node.js?
 
@Pantera96c 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.
 
what is node.js?
 
ohh neat. what does it do?
 
5:30 PM
wtf?
Javascript on the server?
/me shudders
what is the world going to
 
sounds like a fad
 
@rlemon for sure, lol i'm not giving up my php
 
You really don't know what node is?
 
@Pantera96c :P
just joking man
 
<3 you guys
 
5:31 PM
We know. Don't worry. :P
 
well i am idk about that @rlemon guy
 
Taht was hilarious
 
oops misping
 
Haha
 
I don't know what node is but have you guys seen io.js?!
that looks badass
 
5:31 PM
are we having a game jam sometime in the near/distant future?
 
I hope @Mosho
 
cuz I'm game
 
@Mosho Lounge one is on 22nd if you care. Open to nonloungers too.
 
haha ok then any of you know how to read, edit and save a csv file?
 
@Pantera96c yup check out the filesystem module nodejs.org/api/fs.html
 
5:32 PM
Sure. I use notepad.
 
I'm using 'fast-csv' module but can't figure out how to
 
@BartekBanachewicz can I use js? :P
 
Hi
 
@Mosho sure, why not
 
:o
intredasting
 
5:33 PM
no tech restrictions
 
@RoelvanUden lol with node
 
2.9
 
@Pantera96c ;-) Perhaps more luck with github.com/wdavidw/node-csv
It seems to be the standard really.
 
eww
 
5:34 PM
I'm stuck in a grunt process that is throwing an error that I can't seem to solve.
 
how hard is it to format a csv guys
 
Warning: cf is not defined Use --force to continue.
 
@RoelvanUden ok, i'll take a look thanks
 
That's the error I am getting, but not sure what is causing that
 
btw sorry for my bad english lol
 
5:35 PM
require('fs').writeFile(path, csv(data), function(err) {
    if( err ) {
        return alert('there was an error writing to the filesystem!');
    }
    // yay!
});
function csv(data) { loop the data it is like 5 lines of code });
 
I can put the files on a gist
 
@rlemon Harder than one might think! You have to deal with quoted, non quoted, tabs (assuming you want to support excel), etc.
 
@RoelvanUden I did it like three weeks ago
I'm not just talking out my ass
 
Sure, but module > writing it yourself :P
Lazy > Work
 
writing it yourself in a couple hours > spending days trying to debug someone elses code you don't understand
 
5:36 PM
@rlemon hi there...long time no see...how are you?
 
I was doing well... dunno about now
:P
 
LOL
How "gruntish" are you?
 
depends on how good you are if you know what I mean.. ;)
 
I am not a big fan, but I've taken on a project (written by someone else before) in grunt. Simple project, but it's giving me heaqdaches
 
@SterlingArcher so you are expecting to see this when you get home tonight?
 
@Lok'tar
 
@rlemon do you have 5 minutes to help me out? If you don't, that's fine, but if you do, that would be great
 
I don't use Grunt
 
@rlemon yus, the text message said out for delivery in my town after being sorted at the post office
 
I wouldn't be any help
 
5:39 PM
Hey guys. Can anyone tell me jquery plugin for the effect used in icons on this page?
https://www.freelancer.com/hire/Find-a-Freelance-Copywriter/?h1=Find-a-Freelance-Copywriter&crid=39043156431&gclid=CN-R5JqOi8QCFc9hfgodFR4Aqw&ft_prog=ANU&ft_prog_id=3900017
 
ok
 
Dabuu?
 
ill send you a screenie
 
@Rizwan 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.
 
@Loktar aww
 
5:39 PM
@SterlingArcher I can track it
 
@Rizwan Why do you assume it's a jQuery plugin?
 
it maybe not
 
oh duh that's right
 
@Loktar data2.whicdn.com/images/6987001/large.jpg this is the first google images result for me.
 
@RoelvanUden Anything like this, I just want that animation
 
5:40 PM
:( wish I was at home
 
it isn't actually nsfw
just like "OMG I WORK WITH 11 YEAR OLDS" nsfw
 
@CapricaSix Thanks, I'll keep it in mind
@RoelvanUden jquery doesn't matter. Even if it can be done in css3. I just need the exact animation onload
 
@Rizwan no plugin, no js, looks like css only
 
what is the name of that keyboard someone linked to a while back? splits into 2, think it was on kickstarter
 
@Rizwan in the css file look for @keyframes bounceIn {
good luck, have fun.
 
5:43 PM
@rlemon Thanks, let me
 
@rlemon dammit i clicked
 
@Rizwan for future inspect the element, refresh the page. if you don't see the element changing in the inspector it is almost 100% it is CSS, at which point you look to the styles to the right and see what is being applied. in this case we can clearly see the animation code.
 
@rlemon Thank you :) I actually don't wanted to use css3 at first because client wants it work on old browsers too.
 
well that is what they use on that site. I have no recommendations for alternatives.
but now you know how to debug just a little bit better
so it isn't a total loss.
 
5:46 PM
glhf!!!
 
3 mins ago, by rlemon
good luck, have fun.
 
@rlemon yeah, it's never loss to talk.
 
22 secs ago, by Loktar
glhf!!!
 
@Loktar the polite way to say stop bugging me.
 
@rlemon or the initial fu greeting in many games :P
 
5:47 PM
anyone here know why grunt is throwing this error

`Warning: cf is not defined Use --force to continue.`
 
@Loktar gg
gg
F U NOOB
gg
... gg
^ most online game chats I see
 
yeah glhf is in mobas/rts's primarily
 
yea I used to play a lot more mobas
 
No idea where that is coming from, as I have nothing called cf so not sure why it's complaining that it isn't defined
 
crl
@AliSamii a Jedi error
 
5:49 PM
@Loktar hit by any trucks lately? :P
 
no :(
only thing I caught on my cam is a girl waving at me
 
I have a cam. I recorded someone running a red light. then I took the cam out of my car because it was like 40C outside.. now I can't find it
that was last summer
 
yeah I got a capacitor one
no batteries due to the heat/cold
 
@crl @cri are you making a joke, or am I supposed to know something there? LOL
 
I got a cheapy $60 from dx.com
 
5:51 PM
mine was 80-ish
they are all pretty cheap surprisingly
I thought cams cost a lot more
like $200+
 
@Loktar presently I have made this changes https://github.com/argentum47/gitview/blob/777cd9707be07dfcf2d116ac5350673b06c39a27/views/users.jsx#L77 , https://github.com/argentum47/gitview/blob/777cd9707be07dfcf2d116ac5350673b06c39a27/views/users.jsx#L86 and https://github.com/argentum47/gitview/blob/777cd9707be07dfcf2d116ac5350673b06c39a27/views/users.jsx#L86

but If instead of the first two I do https://github.com/argentum47/gitview/blob/777cd9707be07dfcf2d116ac5350673b06c39a27/views/users.jsx#L64L67 Then on hitting add or delete it goes to infinte recursion . why?
 
damnit this is annoying
WARNING in ./~/bluebird/js/browser/bluebird.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other c
ase-semantic.
Rename module if multiple modules are expected or use equal casing if one module
 is expected.
 
need to figure out what I'm doing wrong with including.
@argentum47 I imagine because its constantly changing the state after that
so like, its saying hey Im going to update! "ok modify the state of the parent"
then its like "woah my parent state changed Im gonna update!" (got to line 10) <joke>
 
ow. so is there no way not to keep that line separate. and call it once
 
5:57 PM
@argentum47 well, its called anytime its about to update
why do you have that call? Like what do you want/need to happen?
 
> This Interracial Couple Is So Beautiful You Won’t Even Care One Has Coleslaw On His Shoulder
lmaowtf
 
also guys, using promises.. and shit using promises for load eventlisteners, ect. is awesome
 
@KendallFrey I...
What
 
haha
 
If any user is added, the notifications corresponding to that user will be loaded along with the previous data. and if he is deleted, his notifications gets deleted.
 
5:59 PM
 
can someone help me with this: gist.github.com/rlemon/735452dad4effbbf9a91
 
crl
@AliSamii a bad joke sorry, I don't know Grunt
 
> We don’t need to see race. We don’t need to see coleslaw.
 
@cri no worries
 

« first day (1600 days earlier)      last day (3350 days later) »