« first day (1682 days earlier)      last day (3269 days later) » 

2:00 PM
if you have a csv, use node csv parser
 
or jQuery
 
don't screencap things you can copy and paste
 
cant copy paste
 
well this is nice: Array.from({length: 5}, (v, k) => k); // [0, 1, 2, 3, 4]
 
2:03 PM
@macroscripts try to print "links"
 
@macroscripts how come?
 
@macroscripts 'links' is undefined. Whatever ReadFile is doing, it isn't returning a value.
 
Perhaps it's an asynchronous function?
 
maybe path issue?
 
Alternatively, ReadFile is returning an object that doesn't have a split function
 
2:04 PM
btw, what is this "ReadFile" method?
it has callback
 
... and the returned object calls itself undefined just to confuse the heck out of you.
 
var parser = require('csv-parse')({delimiter:','}, function(err, data) {
  // work with csv data
});

require('fs').createReadStream(filePath).pipe(parser);
 
@Cereal i am using full path
and just file name
but i am not on main directory of node.js rather on subdirectory
 
any recommendations for a good book for getting up to speed on ES6? currently plan is to read the ES6 book from the You Don't Know JS series (github.com/getify/You-Dont-Know-JS)
*current
 
@Martin Google
lol
" You Don't Know JS"
You don't know nothing, JS
 
2:07 PM
You know nothing, JS
 
thanks, I see it in spanish xD
 
I know plenty about JavaScript
this book was recommended by a friend
 
It's a game of thrones reference ;;
 
@Martin I know nothing
 
ah I should have caught that
 
2:08 PM
the more I think I know about JS, the more they change JS
 
John Snow..
 
no, Jon Snow.
 
I love game of thrones, but I don't care THAT much
I'm not reading the f*** ES6 standard
 
why not?
 
2:10 PM
that's designed for Google's autonomous army of robots not humans
 
+1
 
There are these people called authors... it's their job to read that crap and break it down into something we can understand
 
+10
 
lol
 
in the sense of a standard, it is readable and broken down into small sections one can understand
 
2:11 PM
@Martin nah, it's also for people who want to know how the language actually works
 
it isn't meant to be a learning guide, but a language specification.
 
and honestly, it's a very readable standard
although most standards are these days
I read the recent overhaul of the http rfcs... very readable
 
just long and dry as hell
 
after reading this, you know very well what http methods are for
 
root access has so many cute dogs
 
2:14 PM
I know exactly what HTTP methods are for
 
@rlemon part of it's realm object description is not readable enough
 
honestly I'm not interested in reading the standard - I don't want to know about all the useless shit that would be great to have, but is not ever going to be implemented in half the browsers
 
@FlorianMargaine is that a "man" document?
 
@Neoares man or woman, your choice
 
but if I did read the standard I'd skip the section on ES6 classes
 
2:16 PM
but no, it's not a troff manual, just an rfc
 
1 hour ago, by Kendall Frey
It doesn't define the "type variant" of the guid
 
ah, I see
Is there a way to allow Mongoose/MongoDB to save a blank document?
 
I guess
if you don't have wny "required" field
 
yeah you just need the object id
 
2:20 PM
wwwhy though?
 
3
Q: Old question review queue

Zach SaucierWith the increased usage of technology and particularly with the internet, the world changes at an increasingly rapid rate more than ever before. We’re still relatively bad at creating with this in mind but that doesn’t mean that we can’t try to do just that. One of, the biggest problems with th...

thoughts/feedback welcome
 
dat starting speech
 
yeah as the first commenter said it's not a high school essay
it would be a good feature though
 
+1 anyways, would be nice to knock off old outdated information
 
THE
@JanDvorak we all ask others for help now and then, what's the big deal here really ?
 
2:24 PM
and honestly I appreciate that you offered some suggestions to solutions rather than just creating a feature request
 
@Martin I thought all feature requests were supposed to do that :P
 
@ZachSaucier don't listen to the haters. "this request doesn't contain enough information" -1 // "this is too long winded" -1
everyone is a hater, some (cough who comment cough) like to hate more.
 
me too but have you seen github? lol
 
THE
@rlemon that's for me - don't listen to the haters
i won't
 
@THE Why should you choose who helps you?
 
2:26 PM
items that have been reviewed and ruled as still relevant should be updated with a review date
 
THE
@JanDvorak i didn't...
 
@THE in your case, if you ping random people we will kick you from the room. it is in our room rules and it is annoying to those of us who are here (and therefore get pinged for random crap) often.
there doesn't need to be a big fuss either, just don't do it.
 
@Martin ya, that's part of the request (mentioned in question requirements)
@Martin I'll see what I can trim in a bit
 
Unless someone explicitly states that you are allowed to ping him whenever you want.
 
hmm well at the same time
nah I was just giving you a hard time - but yes I didn't read it because it was kinda long
 
THE
2:27 PM
@rlemon yes it is annoying when someone is not actively chating in the room, but you were active... which is why i put it under your name for some whatever random reason came into my mind
 
@ZachSaucier I'd say adding a tl;dr section at the top might be worth it. But good feature-request.
 
maybe don't go into implementation details so much OR start with an outline with one line summaries of each discussion point
 
You may ping me whenever you want. I reserve the right to get angry, kick you, or otherwise respond in any way I wish.
 
@THE it is also annoying even when we are active
 
@THE I think you're missing the point.
 
THE
2:28 PM
ok the point is don't ping people when you need help, i got it
 
ask for help and let someone ping you
 
pinging someone is like interrupting a conversation. It's just rude.
 
THE
yeah i understand now, thanks
 
@THE Consider this: You are in a coffee shop with your friends, talking to them actively. Another person comes to you and straightway asks for help, thinking that he is entitled to get help from you, while you are busy talking to your friends. How'd you react?
 
@THE The point is: don't piss people off.
 
2:29 PM
@ZachSaucier the thing I would worry about with updating old items as still relevant is that it could potentially allow for some answers to reach a critical mass at which point answers that deserve more merit may not get the attention they deserve
@ZachSaucier it's probably not too difficult to measure that critical mass point based on keywords and an answer's influence - there's probably a graph algorithm for that sort of thing
 
oh shit, was $element removed?
 
What was the question, THE? I don't find it.
 
it was his recent main Q
 
ah
 
@ZachSaucier and maybe the right side of the page should include links to newer answers that are rapidly gaining in popularity (so you don't have to scroll down looking for answers with a higher number of votes)
 
2:36 PM
 
@Martin they get that whether or not they are reviewed or not. At least by having them be reviewed it's guaranteed that a few somewhat knowledgeable people will look at them
 
@AwalGarg the fuck is "BOLLYWOOD MODE" ?? does the TV dance as well?
 
Anyone know how to show a loading spinner while rendering html using angularjs?
 
@Navaneeth 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.
 
@rlemon The best way to live your life
 
2:37 PM
@rlemon way to deceive customers.
 
@rlemon The fuck is anything bollywood
 
> Hey look this TV can show you movies!
 
@Awal I don't trust it they don't provide a contrast ratio! :P
 
2:39 PM
wait, is that $~600 cad for a 32" TV?
 
@AwalGarg Not just any movies, either
Bollywood movies
 
@Martin 16:9
 
nvm
 
@KendallFrey that's aspect ratio
 
@AwalGarg shush, I know that
 
2:40 PM
U SO GR8 M8!
 
I find ass/pec ratio more useful
 
!!s/m.+s/torture/
 
@AwalGarg buying Tv's in India tortureuck (source)
 
I was also not that invested - are we really reviewing TVs here?
 
2:42 PM
... :(
 
I thought it was a joke
 
Buying stuff here is great
ice cream costs 30 cents
 
@rlemon wait... no. NOOO!!!
 
@Mosho $element was removed from what? Angular?
@rlemon that tv doesn't have regional language options
you know how many regional languages there are in India? that's probably why the price is so high
 
> This item does not ship to India. Please check other sellers who may ship internationally.
 
2:44 PM
How many? Like, three or so?
 
@AwalGarg can you just settle for English or Hindi? lol
 
@Martin We only use the English version anyways
 
18 recognized
yeah that tv does seem super expensive
 
@SomeGuy wrote an application today after a long while, wrote and scratch "Hi there" three times to write "Dear Sir" :P
 
@AwalGarg assuming you live in India is that just a normal price for TVs there?
 
2:47 PM
@Martin yes
 
@AwalGarg Hahahahaha
I pretty much never succumb to "Dear Sir"
 
seems like it should be cheaper to ship them from China to India than from China to the US
 
Unless it's for some official crap at college
 
@SomeGuy right, college crap.
 
@AwalGarg what city you in?
 
2:49 PM
@rlemon Delhi NCR.
 
it would cost ~$180 USD to ship you a 47" TV
 
:D
 
if you can get a good deal, that still might be less $$
start shopping on amazon.com
 
Well... already ordered anyways :P
 
if only that $180 went to getting clean water for the poor people in India
 
2:51 PM
ahh well, for next time then
 
@Martin yes
 
It's for the parents, I don't watch TV :P @rlemon
 
probably just goes to corrupt politicians
 
@Martin what the hell are you on about?
 
tv sucks
 
2:51 PM
or maybe it was only ever usable in ng-controller="ctrl"
 
it's manipulated
 
@Mosho in what version
 
But I'll keep that in mind, thanks.
 
@Neoares how so?
if by TV you mean "news" then okay
 
Indian news is awesome. Way more funnier than most other comedy shows.
 
2:53 PM
> In local news. ITS F*CKING HOT OUTSIDE! JUST LIKE YESTERDAY! SOMEONE GIVE ME A ICE CREAM!
 
@Mosho actually I'm thinking of angular.element
 
yeah, there's also an injectable service
anyway, no matter
 
@rlemon sorry I just watched a Vice episode about the lack of clean water in India - still worked up over it :)
 
@rlemon the day after tomorrow we are headed to 40+ degrees territory :(
 
ouch
how's the humidity in israel ?
 
2:55 PM
horrible
 
damn. 40 dry heat is one thing
40 and humid is the pits
 
yeah, it's a sauna
 
we get high 30's feels mid 40's with humidity
 
לוהט
 
never 40+ humidity
 
2:55 PM
I think this specific heat flash isn't too humid
 
if someone marked my question as a duplicate incorrectly what can i do about it guys?
 
@cleong 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.
 
We had snow on the weekend
 
but it's goddamn may
 
@cleong vote to reopen
 
2:56 PM
This week it's expected to hit mid-30s
 
@KendallFrey I miss Canada :(
 
@rlemon how?
 
@Mosho he left
 
@Mosho Me too
 
he's a commie
 
2:56 PM
:O
 
'sright
 
@cleong vote it reopen? or maybe you need more rep
 
@rlemon i only have 130 rep i don't think i can
 
1
Q: Magento saving data in session but in Javascript

cleongMagento Javascript Question Does anyone know how I can call the session singleton in Javascript? I have a validation to a form like this which, everytime it validates the checkbox element, I want ti to update a value in the session model. Validation.add( 'validate-tax', 'This is only appli...

 
@KendallFrey why'd you leave
 
2:57 PM
start by adding a comment why you don't think it is a dupe
then people can review and choose to reopen or not
 
@Mosho I was offered a free plane ticket
 
@KendallFrey how long you there?
 
@rlemon thanks
 
3 weeks, 1 to go
 
having fun?
 
2:59 PM
@cleong you like Magento? I'm trying to decide if I should use a CRM for my girlfriend's business (helping her get into e-commerce)
 
yeap
 
good to hear
 
it's gonna be strange shitting in a toilet when I come home :P
 
@Martin i like it in the sense that everything is a design pattern, but learning curve is the steepest i've seen since it's over-engineered
@Martin for e-commerce i would recommend it, since its the best solution out there atm
 
@KendallFrey ahahahahahahahahahahahahhahahahahahahahahahahahahahahahahaha you have to squat and clean your ass with a bucket of water. that's right
 
3:01 PM
@KendallFrey Hahaha what? Where are you?
 
Asia
 
lol
 
Nice. Have fun :p
 
you have a brother right?
when you get home shake his hand then say "ohh yea, that's my wiping hand"
 
I do, why?
oh lol
well, I always shake hands with my wiping hand, so...
 
3:02 PM
freak out your mom by carrying a full bucket of water and a news paper to the bathroom
 
@cleong good to know, thanks
 
fun fact: everyone here shakes hands as a greeting. more than in the west
we do get to use TP though, no water needed
 
@rlemon by TV I mean news and advertisements, I can't install adblock on my smart TV
 
you can
 
rly?
nah
 
3:07 PM
there are third party devices and apps for google TV
 
lol I mean to skip the tv ads
 
the third party ones don't skip the ads however, just mutes them
yes, I am talking the same thing
 
o.O
 
just saw one on reddit/r/gagets the other day that mutes all commercials
for like $40
 
#noworth
 
3:09 PM
@rlemon Does it work? (And how?)
 
they boasted like 90% accuracy
 
but it doesn't have sense to skip TV ads
 
and I imagine it just reads queues from the screen and makes an educated guess on when commercials are starting and ending
 
90% != "all"
 
because you have to wait anyways
 
3:10 PM
I can bet with all my money it won't work on a single Indian TV Channel.
 
@KendallFrey they way they worded it was "90% of the time, it works every time"
 
@Neoares If you manage to make a device that can make TV broadcasts travel into the future, you'll be a very very rich man.
 
1% reliability
@MadaraUchiha I'm working on it but shhhhh
 
We have advertisements like hell. Before the advertisement break is about to begin, we have an advertisement in between the show.
 
@AwalGarg I solved that problem by not watching TV anymore.
 
3:11 PM
Don't even ask me how it goes with news channels.
@MadaraUchiha I never had this problem because I never watched TV.
 
Adblock works doing display:none on ad elements
 
I don't mind ads when browsing the web, and I only have a very limited hosts file for the really annoying and obnoxious ads
 
@Neoares no....
 
But TV ads suck
 
@AwalGarg but do you have toilets
 
3:12 PM
@KendallFrey With ads.
 
@KendallFrey lol yes
 
better ads than aids
 
do you mean walking aids?
 
kek
 
my aids don't walk, they built their own private subway system
I have very intelligent aids
 
3:14 PM
wtf
@KendallFrey what do you understand by "aids"? xDDDD
 
it's that thing your mom gave me
 
you went too far
reported
 
invalidated report
 
with a ten-incher, it's very easy to go too far
that was not an invitation for you all to stop conversing
 
This room has been frozen due to inactivity.
 
3:19 PM
sooo... what is this famo.us thing used for?
 
Stop it with the flags, thanks. It bothers all 10k+ users in all rooms.
 
@AwalGarg just like your sex life
 
I am bothered by how much tolerance is given to sexual jokes here
 
@KendallFrey blame the ugliness of your mom
 
Sex is only taboo in the west
 
3:20 PM
I am bothered by how many sex jokes are in my head
but only a little
 
@KendallFrey venting them won't get rid of them, quite the opposite
 
makes me think of the masturbation kickstarter again
 
@corvid looks like animations, thanks, TIL.
 
also was wondering, and this is probably a very dumb question... but is there some type of library to autogenerate index.html pages? As in, inject all the javascript assets and everything
 
a template engine?
 
3:24 PM
^
 
I thought template engines just put html in predefined blocks usually
 
your question isn't as clear as it needs to be
so we're guessing
 
I will make another guess: you want yeoman?
 
Yeoman is quite handy, been investigating it recently. Dependent on the quality of the generator you use ofc
 
so, for comparison, meteor kind of does it behind the scenes. It just builds your index.html file by taking all the js files in public/ and client/ and adding them into the index page
 
3:27 PM
well a template engine does that as well
once you tell it too
!!afk "doof".split('').reverse().join('')
 
@AwalGarg I want that clip Q.Q
Clippy <3
 
Thinking about it, I'm glad he's a nice guy. Were he to get sick of all the abuse he gets and snap, he'd be a pretty horrific slasher villain
...just me then?
 
3:59 PM
@AwalGarg Extension ? Or just a concept drawing ?
I might do it for Miaou... thanks for the idea!
 
@DenysSéguret maybe with a cat instead?
 
@towc This would require serious drawing talents
 
@DenysSéguret just a stick figure cat? It would fit well
 
@DenysSéguret That's an easter egg on the Super User chat
 
@OliverSalzburg thanks
@towc Well, this still would require more drawing talents than what is available in the Miaou team ^^
 
4:06 PM
@DenysSéguret no need to draw new ones, there's google images for that :D
 
posted on May 25, 2015 by Alex R. Young

More libraries are starting to blend ideas from functional programming, streams, and reactive programming. Yassine Elouafi sent in ADT Streams (License: MIT, npm: adtstream), a library that offers a stream API using promises and algebraic data types. It has methods for wrapping other streams, like Stream.fromReadable for use with

 
@towc How many of them are free to use ?
 
most, I guess?
you could just credit them... I'm sure that nobody who draws stick figure cats would mind
 
4:35 PM
How many stick figure cats are you looking for?
 
hi cats
 
user1596138
UPDATE AdPerfs SET performer=(@temp:=performer), performer = alias, alias = @temp;
 
user1596138
What wrong with this
 
user1596138
I just wanted to swap columns :/
 

« first day (1682 days earlier)      last day (3269 days later) »