« first day (3082 days earlier)      last day (1865 days later) » 

6:16 PM
@rlemon How can I call it?
 
I don't know, you tell me
 
You mean this:
command.stdout.on("data" ...
?
 
var nomes = ["Paulo", "Jonas", "Samuel"];
var listElement = document.querySelector('ul');

for (nome of nomes) {
  var liElement = document.createElement('li');
  var textElement = document.createTextNode(nome);

  liElement.appendChild(textElement);
  textElement.appendChild(liElement);

}
 
nome ??? That's portuguese? xD
 
@robe007 no, I mean the spawn callback argument.
ahhh, that's for exec not spawn. ignore that then
 
6:24 PM
@KevinB Should textElement.appendChild be listElement.appendChild?
 
the first question still remains tho
 
Yes, it still
 
@ConspicuousCompiler yes
 
@robe007 stdio: 'inherit' implicitly does the pipe for you
You don't need the pipe if you use inherit.
 
@MadaraUchiha Yes, I know. Just I want to know if I can pipe that result to a variable?
using inherit
 
6:31 PM
@robe007 No, you cannot.
 
@MadaraUchiha Do you know why?
 
@robe007 Because you don't have a pipe when you choose 'inherit'
You "relinquish" the option, by not choosing pipe
I think you can accomplish what you want by using pipe and pipe the ReadableStream you get to both process.stdout and another WritableStream of your choice.
Yes, the same ReadableStream and be piped to multiple WritableStreams.
 
SO it sounds like what you want to do is do a T with the output @robe007? Show the output on the standard output but also save it to a file?
 
It's worth noting that the pretty progress bar is done with shell control characters that don't display that well when piped to a text file (or anything other than a shell, really)
 
If you cat the file after the fact, though, the final result should be the same as if it played out in the terminal--just with the animation greatly sped up.
 
6:36 PM
Ok, let me explain. What I want to do is to see if is possible to get in "real time" the progress of the bar to get how percentage the command it is been executed
 
@robe007 So you don't want inherit for sure...
You don't want to display the exact same stdout as the child process, you want to display a processed version
You want to do some magic (maybe, for example, change the % at the end to be a decimal fraction instead, or something) and then display that
 
Yes, exactly that. But I can't find a way in which I can see the percentage of the execution of the npm install ... that using stdio: 'inherit'
 
To Madara's earlier point about control characters, if you're parsing the output, you're going to want to pass --parseable to that npm install command
(And potentially --verbose)
 
Let me see those options of npm ...
 
@robe007 You can't use stdio 'inherit'
'inherit' is a shortcut for saying "I don't want to mess with whatever the input and output of this subprocess is, just forward mine as though the user activated that"
But you do want to mess with the output
So 'inherit' is not for you
In some personal news, today begins my last week at @StackOverflow. Lots of sad good-byes coming up; so many great people here that have been a huge part of my life for a long time. But after almost nine years, it's time for something new.
inb4 meta post: "Chat is being deprecated"
 
6:56 PM
lol
because it was ever worked on
 
it wasn't even updated for the welcoming
That says a lot
 
the last update we got was for kicks
afaik
before that it was a few minor bug fixes.. that took like two years to land each
they knew about the websocket hole for well over a year before fixing it
 
user1596138
@Allenph if you end up getting it hit me up lol.
 
I feel like chat gets as much attention as it needs. Bugs aren't reported too often, but they seem to get fixed when they are: meta.stackoverflow.com/questions/tagged/…
re: the welcome initiative, New users can't even participate in chat, by design, yeah?
 
lol they really don't get fixed when they are reported.
that's what I just said
 
7:10 PM
meh, i skipped teh "can't access" ones as that's not really chat bugs. the only real bug i've found took a full year to be fixed
 
took them well over a year to fix a data breach
 
others were just things like networking errors or jquery being out of date.
 
@ConspicuousCompiler A new user can earn the 20 required reputation points within 10 minutes of opening an account...
 
@ConspicuousCompiler that took years of trolling from users to solve
literally years of it
 
7:23 PM
Sure, Madara, one could answer a bounty question as their firs action on the site and hit the rep limit 1 second in to their new account, but I would make a small wager that more than 90% of users who eventually hit 20+ rep take a week between account creation and hitting that number.
 
you can edit 10 questions and get your rep in minutes
 
@ConspicuousCompiler You don't need a bounty answer
You can suggest 10 good edits, you can post a single answer and get two upvotes on it
 
it could even be an answer to a garbage question
it'l get upvotes
 
You know how fast answers and votes happen on Stack Overflow
 
Yes, I'm giving an example of how a large amount of rep could be theoretically gained, but demonstrating i think it is unlikely by using hyperbole.
 
7:25 PM
The rep limitation is the minimal "What is 3 + 7?" captcha that stops 90% of the spammers
 
I can ask 3000 crappy questions and get 100K rep
 
But it's not hard by any means to get through
 
people have done it
 
Well, I know how fast downvotes happen on SO.
Upvotes maybe not as much.
 
LOL
 
user1596138
7:25 PM
Fixing poor grammar gets you into chat in moments
 
no, it's totally the opposite when answering
 
user1596138
People love to convert code into snippets too..
 
@ConspicuousCompiler It's questions that get downvoted very quickly
Answers usually get downvotes only when they are wrong
 
@rlemon but.. as soon as somebody opens your profile and sees 3000 crappy questions, what is the rep good for
 
if your answer is "correct", it will receive up votes regardless of whether or not it's useful.
 
7:26 PM
what is the rep ever good for?
 
@rlemon Almost any interviewer I offhandedly mentioned it in was very impressed
 
in correlation with answer/questions? quite a lot imo
 
so is 10K
so is github contributions
I mean, I can say someone contacted me for a job because of codepen
doesn't mean it's particularly useful.
 
nobody with a sane mind would just "accept" a rep number on Stackoverflow without checking the questions/answers provided and given
 
Rep is only useful on this site if you feel like playing the game. which is fun, clearly I enjoyed playing it
 
7:27 PM
@Alexander I didn't want to use jquery, but it had a quick function to convert json to a query string. — Demodude123 1 min ago
 
otherwise, rep is moot. it's no indication of your skill or knowledge - just how much time you've spent on StackOverflow
 
maybe the questions are even a better indicator than answers, having that said
 
or lack thereof
 
@rlemon nah, I disagree. If you are interested in hiring someone who stated to have a SO account or so many rep points, I'd instantly check this activity on the site, read some questions, some answers
busted
or impressed
 
and that has what to do with Rep?
you just proved my point
 
7:29 PM
they wouldn't have even checked without the rep though
 
you care about their content, not how many points they accrued
 
there wouldn't have been anything to check
 
@forresthopkinsa no, he just said he checked because they stated to have an SO account [or..]
 
not really, but I read some random questions and answers I figure.. "yeah, the guy knows this shit", and he has like 50k rep or more... that is a statement
 
then you're falling into the trap
 
7:30 PM
I have no rep and if someone tries to use my SO activity as a metric for my skill as a developer, they're going to be very disappointed
 
because I have to assume, everything he is doing here has the same foundation of knowledge
 
I imagine if I had 50k then I would have something to show for myself on my profile
 
that's like saying how many Twitter followers someone has indicates how good their interpersonal skills are.
 
how can you compare that
 
because the system is designed to be run as a game
 
7:31 PM
on stackoverflow you have to prove your magic
 
it's gamification 101
 
I really don't think that's a fair analogy
 
there is no value outside of the site
you created a system that entices people to do things for points. Assuming good faith on those actions is a trap
it's a game.
and it's treated as such
 
There is no value outside of the game
I play the game even when I'm not on SO
 
on twitter you only have to look good, SO is really more about knowledge. Yes, you can do crappy and shitty things and still get rep, but then again, anybody interested in you is looking your up
 
7:32 PM
Because I'm a player
 
that's personality. not SO rep.
 
And if someone comes up to me and tells me they have 100k points on SO then I'm going to be impressed
 
unless you're bboy360 and whipping out your phone at the clubs
> yo bb, see my 100K SO rep?
 
that one gets all the girls I'm sure
 
@forresthopkinsa I'm not. that just means they spent a fucktonne of hours on main gaming the system
if they got 100K rep from 11 answers.. sure.
if it's from 9000 jQuery answers.. who cares
the flaw is that there are many avenues to rep.. and we see that
 
7:33 PM
Everything boils down to how much time you spend on something though
 
you just assume high rep means quality answers
high rep means lots of time on the site.
 
so, we can all agree, the rep counter as pure number isn't worth much. But nobody in his right mind would take that number without looking into the actual data.
the combination of those things, can be very impressive.
 
If someone shows me that they made King's Landing in minecraft, I'm not going to shrug and say "well all that tells me is that you spent a lot of time on it"
I'm going to say, wow, the fruit of your labor is really cool
 
@jAndy so now you're saying the complete picture is impressive.. not the rep. which I would agree fully with
because Rep alone is moot.
there is no high bar to gain it.
 
this is getting really pedantic
 
7:35 PM
it was from the start
 
It's oversimplifying to claim that the rep score doesn't matter outside the site. If you said "I have 100 rep on StackOverflow." the interviewer is not checking your profile. If you say "I have 10k rep on StackOverflow." then they are.
 
you all just tried to tier it to a point where Rep was more than just a meaningless metric on this site 😛
 
I can't believe this
 
@ConspicuousCompiler the interviewer should check what you tell them to check if you're giving samples of your work and experience.
 
Whether you're a bugbear in your writing style in those 10k answers matters too, sure, but you have to get past that filter first.
 
7:36 PM
Yes in my experience, companies always were very impressed by SO reputation. Most companies (especially big ones) have tons of employees which are around here as well. So if you apply to a job, the company of course is looking you up here in greater detail
 
if I told an interviewer to check my SO and github, and they wanted to consider me, I'd expect them to look at both.
 
but if you're half decent in answering and questions, its a huge advantage to get a job obv
 
🚽
 
and that should be reflected by Rep, but it doesn't always carry over
 
I like imaginary internet points.
 
7:37 PM
for example: Look at Copy - probably one of the smartest programmers ever to be in this room, if not the smartest.. dude has like 100 rep.
then there are people I know who have >100K with almost all questions
but if you read the content... it's clear as day who is better at asking and answering
 
but.. I have to agree with lemon from another perspective, where the rep system really fails. Until I had 100k reputation, it was really hard work. Providing good answers, to gain as much rep as possible in 24 hours. But, as soon I reached 100k, all the rest pretty much came automatically
 
@KevinB Could you elaborate?
 
because all your answers will will receive upvotes over the years
so from 100 to 170k was.. a piece of cake
 
@jAndy I've been passively accruing rep since at least ~50k
 
i stopped at 20k
 
7:39 PM
I stopped at 10K for the most part.
I'm only at like 13K
 
!!stat
 
@KevinB You (https://stackoverflow.com/users/400654/kevin-b) have 86053 reputation, earned 15 rep today, asked 7 questions, gave 2312 answers, for a q:a ratio of 7:2312.
avg. rep/post: 37.1. Badges: 11g 139s 161b
 
but still. 3K is a decent amount of no work rep
 
@rlemon You suck
 
sorry, I have a life.
 
7:40 PM
37.1, it only goes up if you're not posting stuff
 
@rlemon yeah lemon, yu no have more imaginary internet points???
 
!!stat
 
@jAndy You (https://stackoverflow.com/users/1386886/jandy) have 177257 reputation, earned 20 rep today, asked 64 questions, gave 1988 answers, for a q:a ratio of 16:497.
avg. rep/post: 86.38. Badges: 43g 266s 327b
 
@DavidKamer because you haven't upvoted me more
it's your fault.
 
yessir
right away sir
 
7:41 PM
the fun tools happen at 10K anyways.
 
> my rep is bigger than yours
 
I don't really need more queues or delete votes
 
rep size doesn't matter
 
I just wanted to see deleted content and flags.
 
^
 
7:41 PM
I'm still proud of my 100k gift's from Stackoverflow.com :)
 
mostly for the luls. not even for moderation abilities.
some of the best answers are deleted
 
did Sterling get elected
 
no
 
aw
that's alright
 
ME: hey, I spent like 20 trillion hours on your site, helped millions of people out... and finally, eventually, you gave me some love back!
SO: Here's your Tshirt and your cup, now STFU.
 
7:42 PM
as long as that one guy didn't get elected
I don't remember his name, he was like "I'm turning 30 which means I'm now mature enough to moderate this site"
 
I proudly voted for sterling
 
he gave comically bad answers to the questionnaire
 
@forresthopkinsa He withdrew
 
(not Sterling)
oh really lol
 
We ended up with Jean and Baum, both of which are great choices.
 
7:43 PM
cool yeah I'm good with that
 
I even voted for people that were lower votes/at the bottom compared to sterling to give him a better chance
literally the only person I knew on the list
 
I'm going to refuse to fill out the questionair
:shrug:
 
voted for Jean as second but Baum looked fine
the results are surprising, Josh was ahead of Jean almost the whole way
 
Speak of the devil and he appears!
 
7:46 PM
Rude
 
Say what?
 
We were complimenting your hair.
 
It's pretty amazing hair tbh
 
Do only RO votes get counted on those
 
pretty much
 
7:47 PM
Yup yup
 
gonna vote anyway hah
 
But feel free to provide reasoning yay/nay
 
To be a RO in this channel (basically, any SO channel) has become a penis enhancement a long time ago.
 
That's cynical and I don't agree
 
7:50 PM
^ My mantra.
 
enhancement lmao
 
there are like 25 ro's, pretty much the whole regular chat is a ro. Any real chat related moderating (like bad words, flooding) could be easily handled by caprica. So, it's only social status
 
user1596138
@jAndy I'm a RO in the sandbox. Pretty high level gig
 
i just like being able to see deleted stuff
 
7:53 PM
and 5 or 10 of ro's I haven't seen in weeks basically
 
user1596138
^. I just have been noticing a lot of the time I'm on there are no active ROs (not that we have needed them)
 
user1596138
Half of the ROs are either no longer active or have such a negative perception of this place that they should be culled for the time being.
 
i idle in here a lot, throughout the afternoon and such. there's just nothing in here for me to chime in for.
 
Which is my point
 
yeet
 
7:57 PM
@jAndy You can say that on any sort of moderation position on any sort of online community when it's not paid.
 
@jAndy many are still "here" just not interested in talking right now
I always have the tab open, I just don't spend my whole day here anymore
 
I'm not sure if I entirely follow your argument, though @jAndy. Is it that RO status doesn't matter at all, so people should be approved immediately if they ask for it? Or that no one else with RO status is needed, so elections should be halted?
"elections" isn't the right word, but you get what I mean.
 
user1596138
^ lol
 
hmm should I pursue that login information carries over between multiple host masks? - IE if someone types directly the IP, or the URL, or uses a shortened url?
 
user1596138
Not needing more ROs is a very valid point tho.
 
7:59 PM
there should only be one @paul23
alternates should redirect to the one
 
if we do need more RO's, it's not for North America timezones
 
before any login can happen
 
when we sleep the room tends to be RO-less
 
It's usually okay, but Karel is on holiday
 
yeah it gets weird in here at 2am or so
 

« first day (3082 days earlier)      last day (1865 days later) »