« first day (2797 days earlier)      last day (2145 days later) » 

12:27 AM
posted on June 12, 2018 by Evan Lucas

Notable Changes Fixes memory exhaustion DoS (CVE-2018-7164): Fixes a bug introduced in 9.7.0 that increases the memory consumed when reading from the network into JavaScript using the net.Socket object directly as a stream. http2 (CVE-2018-7161): Fixes Denial of Service vulnerability by updating the http2 implementation to not crash under certain circumstances during cleanup (CVE-2018-1000168)

posted on June 12, 2018 by Evan Lucas

Notable Changes Fixes memory exhaustion DoS (CVE-2018-7164): Fixes a bug introduced in 9.7.0 that increases the memory consumed when reading from the network into JavaScript using the net.Socket object directly as a stream. buffer (CVE-2018-7167): Fixes Denial of Service vulnerability where calling Buffer.fill() could hang http2 (CVE-2018-7161): Fixes Denial of Service vulnerability by updatin

posted on June 12, 2018 by Evan Lucas

Notable Changes buffer (CVE-2018-7167): Fixes Denial of Service vulnerability where calling Buffer.fill() could hang Commits [7dbcfc6217] - src: avoid hanging on Buffer#fill 0-length input (Сковорода Никита Андреевич) nodejs-private/node-private#121 Windows 32-bit Installer: https://nodejs.org/dist/v6.14.3/node-v6.14.3-x86.msi Windows 64-bit Installer: https://nodejs.org/dist/v6.14.3/node-

posted on June 12, 2018 by Evan Lucas

Notable Changes buffer (CVE-2018-7167): Fixes Denial of Service vulnerability where calling Buffer.fill() could hang http2 (CVE-2018-7161): Fixes Denial of Service vulnerability by updating the http2 implementation to not crash under certain circumstances during cleanup (CVE-2018-1000168): Fixes Denial of Service vulnerability by upgrading nghttp2 to 1.32.0 Commits [e1ff7c3cbc] - deps: upd

 
12:56 AM
throwback to when node 4 died
 
1:34 AM
morn
 
1:55 AM
OHHI
 
2:41 AM
morn
 
2:53 AM
morn
 
3:17 AM
\o
For some reason HTML Webpack Loader is adding a space randomly in the middle of my HTML haha
 
that is quite an interesting bug
 
I don't know if you're insinuating that it's a special character like ?
For some reason Sublime does have a bug where it will start to insert that character every time I press cntrl+backspace
But it doesn't take up any space and is invisible
The weirdest bug in the world, I have to quit out and open it again and it stops happening
 
3:55 AM
Hey bros
I locked myself out of the room 😃
and bruteforced the lock in 😛
the programming version of brute-force not the brute version
I am stunned and kinda thankful how real locks are so vulnerable.
 
You picked it?
 
I was imagining you with 100 different keys trying them as fast as possible :P
 
hahaha
 
My life has gotten so much easier since I learned how to use regular expressions. It's something everyone who uses a computer should learn, I can think of so many instances in previous jobs where it would have helped save tons of time.
2
 
4:40 AM
I find it really useful in notepad++ and when working on legacy shit
but i rarely actually use it as part of the code
 
5:07 AM
@Alesana... In which work, Regex helped you?
 
6:00 AM
Why Facebook changing their class name of every tag. Each and every refresh.
 
@vinieth Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
6:15 AM
@vinieth Because it's being generated automatically
Why would they do that? To shake off bots and crawlers I suppose
@Alesana And now you have two problems ;)
Yes, I agree. Regular expressions are very useful once you know how to use them
 
@Neil there are better approaches to that tho
 
@KarelG Maybe, but there's no reason why you wouldn't use generated class names
especially if it is encouraged by the server framework
 
@Neil What's the second :O
Or the first, for that matter
I mean, I have a lot of problems, I'm just not sure which ones you're referring to :P
 
hi
is there a difference if I make ajax request using $post/$get and $ajax{}
and giving type,url,content type inside it
 
yes, lookup what HTTP POST and HTTP GET means
 
6:28 AM
What KarelG said, also the $ajax one is GET by default however you can use an option to set it to POST
My computer is falling apart
Even just running webpack, it sounds like it's having an aneurysm
 
morning here
first time hitting stackoverflow today
eyes cried foul at new layout, dont know why... :(
headed here to tell you all guys...
 
you can turn off the left menu
there are enough complaints about that on meta. But the new design is to have a multi-device support, even mobile.
 
It's not too bad - what Reddit however did is just despicable
 
@KarelG how???????????
 
6:34 AM
profile -> edit profile and settings -> site settings -> preferences -> tick checkbox Hide left navigation at navigation
 
just resized chrome window...now I have started to appreciate its responsive behavior...dont know whether its better than earlier on full screen,
disabled left navigation...feels home
thanks
 
@Mahesha999 you have to disable in meta separately though...
weird design decision
 
@SurajRao you don't say
 
cant just copy the settings
 
6:43 AM
I had to do that FIVE times
GOTCHA RAGE ON U
 
I meant specifically using $post/$get and them inside $ajax
 
hello
 
@Alesana There's a quote from Jamie Zawinski that goes something like this: "Some people, when confronted with a problem, think 'I know, I'll use regular expressions.' Now they have two problems."
I suppose he wasn't a big fan of regular expressions :)
 
ah Neil, if you want an example of that
just think at trying to validate emails with regex.
 
@KarelG meta.stackoverflow.com/questions/369406/… lets see I am expecting status-deferred atm
 
6:55 AM
there are lots of developers that tries to do it
 
Well maybe that was the point
regular expressions are a fine tool, but most of us tend to use them incorrectly
 
eh related anecdote: I used my plastic axe (that I have in my office because I sometimes yell at stupid code on my screen) to hit a co-worker because he used regex to filter out VAT numbers before sending it to the external service that validates it correctly.
it even went through code rev 😑
 
heh
he was just trying to help
Though I'm guessing it prevented you from receiving perfectly valid VAT numbers
Maybe the big evil of regular expression is that it is sort of like a mini-program which can't get parsed/compiled except at runtime
meaning it can't really be checked for validity like other code can
though javascript is already like that, granted
 
Morning all :D
 
7:12 AM
@KarelG @Mahesha999 useful userscript in the mean time chat.stackexchange.com/transcript/message/45126453#45126453
2
 
@New_2_Code o/
> Using these toolkits is like trying to make a bookshelf out of mashed potatoes.
 
7:45 AM
@SurajRao love it
 
that only hides the thing
does no checkie
if attribute changes or whatever
sidemenu is back
BACK
@BenFortune does gearbest a sorta summer sale from time to time? (you have suggested me that link before) Need to replace a rpi
*does gearbest do...
 
@KarelG not really, it's one of those sites where you have to keep checking for sales
They do a brilliant black friday though
I prefer banggood though
 
eh that layout of banggood
it reminds me of something
 
😃
 
> bang good
sounds like an nsfw
wasnt it something like deal-extreme though?
 
8:02 AM
Ben, that is a nice site. Thanks for mentioning it
 
8:25 AM
I feel like it's a trick to get me to type in "bang good" in a google search at work
 
@Wietlol There are 3 good ones, gearbest, dx and banggood
(Ive never been able to say this yet) 🙋Well Actually!🙋 All of Office 365 is (almost finished) being completely rewritten in this little scripting language called #JavaScript. And Skype And Microsoft Teams And @Code And all of @MSEdgeDev Debug Protocol (instead of C++) nbd https://twitter.com/jdgarciauc3m/status/1005768121230163969
 
not sure if that is good ....
Oh boy, I miss Oliver's salty comment. He would have one here
 
8:41 AM
What is up guyz?
 
We can rename object destructured variables like const {fooBar: foo_bar} = obj;. Can we do similar in arrays? Like: const [fooBar: foo_bar] = arr;?
 
I thought that was an affirmation until I reached the last question mark
 
:) its a question :)
 
Can anyone tell me the best resource to learn machine learning and artificial intelligence
 
8:42 AM
can someone help me with the travis error
 
@DudeCoder coursera, Andrew Ng
 
@Neoares.. Got it... Thanks buddy!.. seems that he's too popular..
 
which makes the test fails
 
@DudeCoder guess why ;)
 
8:44 AM
everybody just tell his name, whenever I ask about ML and AI
When I started that course, I thought that is outdated now..
 
@TapasweniPathak check the unit test. It fails
up to you to investigate that and correct the intended behavior
 
@TapasweniPathak.... kaha se ho ji?
There are too many bots on SO, I was wondering that who makes them and how?
 
i know the unit test fails.
the problem is i get a EPIPE error, weird
when i run the test locally it get a error github.com/mapbox/ecs-watchbot/blob/…
at this test
i logged the callCount it is present
but for some reason this errors
 
@DudeCoder because he's the boss
 
are there any other alternatives instead of having child.stdout.write('string') to log
 
8:55 AM
@Neoares... Can you tell me some Web projects to work on?
 
web projects of what?
 
Actually I love Android-Development but Android-Studio sucks.. So moved to Web-Development..
 
weren't you asking for ML tutorials?
 
no..
 
14 mins ago, by Dude Coder
Can anyone tell me the best resource to learn machine learning and artificial intelligence
 
8:56 AM
now I'm asking for Simple projects
 
that was a plot twist
AI has nothing to do with web development
 
yep ;)
no I wanna work on Web-dev
I'm taking these 2 things alongside
 
you'll end up willing to go full AI
 
hi again, does anyone have any suggestion on what if child.stdout.write('some string') here github.com/mapbox/ecs-watchbot/pull/205/…
console.log is easy but not the right way
want to log a string before it goes to .pipe(logger.stream)
 
@Neoares there is a position at local university to work on a neural network to represent a human brain
they could not find "eligible" engineers
 
8:59 AM
Ohhk, I'll firstly take AI and ML only
 
want to log a string before it goes to .pipe(logger.stream)
 
that is done for research in brain diseases like alzheimer or parkinson
 
Have you completed the course by Andrew Ng?
 
Heyho!
You guys seen rlemon lately?
 
Do heard the name Hitesh Choudhary?
 
9:02 AM
@Squirrelkiller I have seen him here last friday
 
Hi! Anyone here good at CSS?
 
Caps giphy command has been broken for some time. Hoped to meet him here. Guess I gotta come here more often.
 
@Squirrelkiller the command resolves to the web host that rlemon owns. It is not functioning there
@rlemon can you check your API to get giphy messages?
 
who is rlemon?
 
@Emil I used to be very good at Counter Strike Source - But then I took an arrow to the knee.
 
9:07 AM
@New_2_Code Figures! :P
 
@DudeCoder Another frequent user in this channel.
 
@Squirrelkiller make a PR on cap's repo
that's what he usually says
 
@New_2_Code.. Got it
 
rlemon is Robert lemon, running not only Caprica Six (our SO chatbot instance) but also rlemon.ca, his website that also makes the giphy command possible.
 
@Squirrelkiller stalker
 
9:09 AM
Thanks
 
@Squirrelkiller... thats cool
 
@Squirrelkiller A few of us abandoned ship and only come in here every now and again
 
@towc Doesnt make sense to open something on the chatbot page when it's actually his website that's broken.
 
little kid Trumpie is now happy that he is in history books
 
9:21 AM
I think he's doing great with N Korea and I hope he succeeds
 
lol the agreement is a joke. Vague intentions
 
Also lowering the company tax was good, he isn't doing great on healthcare or education but meh.
 
for that latter you need money. And a government gets money from taxes :P
 
the upside in trump's bad intentions is that he's too incompetent to put them into practice
 
a president does not put these in practice
they just make plans. It is the gov people that has to put it in practice after receiving guidelines from his staff
 
9:26 AM
well, he sucks at planning then
 
and that fails pretty often because politicians can be good managers but they have to work with half assed plans
that is a disadvantage of democracy
 
oh wait
 
heyho guys how can i make an script which says : if (video fully loaded) { do some event}
 
@KarelG not easy :D
 
@Delidragon video.onload
 
9:28 AM
eh those dismissions are also a proof of his lack of management skills
it happens, but I never have seen at that frequency
 
@towc thx
    <script>
      var vid = document.getElementById("video");
vid.onloadeddata = function() {
    document.querySelector( "#vidsphere" ).emit('fade');
};
    </script>
this dosnt work some idea why?
 
.onloadeddata ...
I suggest you to read HMTLMediaElement docs
 
$("p").click(function(){
		fadeTo(3000,1);
	});
why this doesn't seem to work?
 
!!mcve
 
If you would like assistance, please create a Minimal, Complete, and Verifiable Example
 
9:39 AM
@Breathing fadeTo needs a target ...
 
@Breathing you basically failed at C and V
 
$(this).fadeTo(...)
check the docs first the next time ...
 
and sorry for being unwelcoming
 
it can't apply to all the p elements?
 
-.-
 
9:40 AM
@Neoares Sorry I will keep that in mind
 
!!rtfm
 
@Neoares Hey, read the JS Manual or JQ Manual.
 
lol
 
@KarelG what if I needed to fade all the p elements?
on clicking on a single p element
I guess would need to give them a class
@KarelG thanks ok
 
I was reading the jQuery docs when my boss suddenly joined the office. I quickly switched to porn.
7
 
9:47 AM
@Breathing did you understood what I have said
$("p").click(function(){
    $(this).fadeTo(...)
});
applies that effect to all p elements as you read.
 
jesus
sorry
I am dumbo
 
10:03 AM
I am bambi
nice to meet you
 
10:15 AM
lol those actually exist!? weird world
 
10:27 AM
Hi All
 
hello
i have a question
 
i have question regarding JS :

i am loading some external js called test.js and inside that test.js it is loading few more js which is hosted on external host test and its internal refreance is on external server


all i want to do is load all those js in my application but issue is after includeing test.js the internal referance of test.js is tring to load its referance from my host than its own host
can anyone please suggest any ways please?
 
Atal did u understood my question?
 
remove external links
 
10:30 AM
no i cannot
i need that
 
then why you are again putting internally
 
is it possible to acces the DOM of an HTML document inside an 'embed' tag? Both are hosted on the same server
 
yes
use find();
even i have question
i need to get all form elements id under div and add counter to them
 
Atal can u tell me just 1 thing please

if i have js file called test.js and this is below content

document.write('<script type="text/javascript" src="/manifest.js"></script>');
document.write('<script type="text/javascript" src="/normalize.js"></script>');
document.write('<script type="text/javascript" src="/vendor.js"></script>');
document.write('<script type="text/javascript" src="/main.js"></script>');


then can this test.js which is hosted on xyz.com can refer to xyz.com/main.js and etc etc when i load test.js on my host called abc.com and load test.js
 
is there any shortcut
like xyz.com/test.js
it wont
 
11:17 AM
@KOTIOS uhm is that a production code?
 
that'd be fun
 
using document.write is like opening the gates to Lucifer's domain.
if you know what you do, then it is safe to have fun with the succubi there. But if not used correctly, you can get some STD
 
that code gave me PTSD
 
s/PTSD/AIDS/
 
ptsd is post traumatic stress syndrome
different than AIDS
 
11:22 AM
@KarelG disorder*
 
right
thanks for correcting me
fucking slow socket
 
@KarelG I know
 
stop blaming the sockets and take some responsibility for yourself once in your life
 
i am not a puppet! D:
 
but I'm your supervisor
the quality of the starred comments has decreased drastically
 
11:29 AM
so did yours (quality... damnit don't make me explain the joke)
 
I was not talking about my starred comment ('s quality)
> jesus
> ihob
> what do you mean by route?
wtf is that ^
 
your quality decreased goddamnit
 
what joke
 
yours as a person
 
oh
 
11:31 AM
it's a joke
it's based on a true story though
 
then just say "so you did"
 
that would mean that you decreased
check the history, it's what I said at first, then realized it was unambiguously wrong
 
then it's your fault kek
:runs away:
 
it still is unambiguously wrong
 
so you are
 
11:32 AM
while "yours" is ambiguously wrong
which is less wrong
@Neoares so are you*
 
no?
 
it's time we learnt you some english
 
'So you are' and 'so are you' are both correct and idiomatic, but they mean different things.
'So you are' means 'It is true that you are'.
'I think I'm right.' 'So you are.'
'So are you' means 'You are too'.
'You're a fool.' 'So are you.'
 
those are not star-worthy yes
but I cannot undo it because I am not a RO
 
@KarelG THANKS
 
11:34 AM
kendall or shrek can do it
 
@Neoares that just proves my point
 
wow, TIL you can edit a message, click to "reply to this message", and it will be automatically replaced
@towc I know, I just wanted to share the knowledge
 
do you think about life?
 
@towc just curious. How is your bratislavian?
or whatever the name of your language could be
 
@KarelG do you know where bratislava is?
also, not great
 
11:37 AM
in slovakia
 
but it's ok because I don't interact with people
 
I watch everyone running past me
 
it could have a local dialect
 
you all knew you were born to code?
 
@towc we are people
 
11:37 AM
@Neoares not real people
 
TIL I'm not real
 
I mean, you don't have a soul anyway
 
"bratislavia" is used for a region like my region "flanders" or neoares' catalonia
 
@towc ouch
 
@KarelG sadly not a thing. Would be fun
it's slovak
there's slightly different accents between east and west slovakia, but I honestly can't tell
 
11:38 AM
how to do interact with your co-workers ( if you have a job atm <.< )
 
people tend to speak english around me and I don't stop them
 
enrigslovak?
 
@KarelG pretty much everyone speaks fluent english
in tech, at least
 
heh, in spain we have 4 languages :)
 
if I was a waiter, I'd have a much harder time
 
11:39 AM
that does not help you to teach you the local language
 
I know 2 of them, and can understand another one
 
@KarelG it's not meant to
also, did I mention I kind of have a job now?
 
that is a problem here, that foreign people are not integrated very well because they have problems with understanding Dutch. One of the reasons is that we talked to them in a different language (either French or English) instead of Dutch. We just did that to ease it
 
no contract, no fixed hours. It's just a project I'm doing with some friends
 
is there something on paper?
 
11:41 AM
nope
 
even no "matei copot has right to earn x euros after this project"?
 
nope
I'm actually kind of funding the project
when it lifts off, maybe I'll get money, maybe not
 
without any legal backup? risky investment there
 
Hello
 
hi
 
11:42 AM
i need a quick help
i am trying to show the data from firebase to google map
 
I honestly don't really care at this point. The project does good for society, I'm going to learn a lot, and I don't have problems paying the bills
 
```var rootRef = firebase.database().ref('locations/in/8447705180');
/* var flightPlanCoordinates = [

{lat:28.5783515, lng: 77.2426632},
{lat: 28.5782515, lng: 77.2426396},
{lat: 28.5781515, lng: 77.2426396},


];
*/

var flightPlanCoordinates = [];

rootRef.on("child_added", snap =>{

var latitude = snap.child("latitude").val();
var longitude = snap.child("longitude").val();
var em = {lat:latitude , lng: longitude};
flightPlanCoordinates.push(em);
});```
 
@Sujaysreedhar 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, pastie.org or a demo site like jsbin.com
 
hmm why did cap not move the message away?
 
lemon said it does that every so often
 
11:45 AM
i thought putting ``` would do the trick, my bad
 
you can edit it and do ctrl+k
 
!!sushi or sushi
 
@Neoares That's not really a choice, now is it?
 
LOL
 
i feel so stupid, i'm unable to even edit the message
 
11:47 AM
arrow up
 
wer can i find the option for that?
 
@CapricaSix 10/10 better than 10 neural networks
 
well it is not showing me a option to edit in that drop down
 
$scope.products = [];
    $scope.addRow = function () {
        if (typeof ($scope.Productlist[$scope.ProductID - 1].Text) == "undefined" || typeof ($scope.BFAF) == "undefined") {
            return;
        }
        $scope.products.push({ 'ProductID': $scope.Productlist[$scope.ProductID - 1].Text, 'BFAF': $scope.BFAF, 'Morning': $scope.Morning, 'Afternoon': $scope.Afternoon, 'Evening': $scope.Evening, 'Night': $scope.Night, 'TotalQuantity': $scope.TotalQuantity[$scope.ProductID - 1].TotalQuantity });
 
:( it's 2018
 
11:49 AM
after execute this code dropdown refresh automatically
$scope.ProductValue = function () {
        $http.get('/PrescriptionMgmt/Get_ChangeproductName?productID=' + $scope.ProductID).then(function (d) {
            $scope.Genericlist = d.data;

        });
    };
<select ng-model="ProductID" class="select2-arrow" ng-change="ProductValue()">
                                        <option value="">Select a Product</option>
                                        <option data-ng-repeat="t in Productlist" value="{{t.Value}}">{{t.Text}}</option>
                                    </select>
any idea?
 
@Sujaysreedhar 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, pastie.org or a demo site like jsbin.com
 
onchange="window.setTimeout(function(){ document.location.reload(true); }, this.options[this.selectedIndex].value*5000);"
 
In this code page load entire page i need particular dropdown only how to change this code
 
im trying to post location to map
 
12:10 PM
Has anyone here worked with yarm workspaces in conjunction with TypeScript?
Specifically ts-node
 
12:27 PM
It is important to note that .on() can only create event listeners on elements that exist at the time you set up the listeners.
what does this line means?
 
@Breathing It means that if you attach an event listener to all elements that have a class .foo, and you add a new element afterwards with .foo, it won't have the event listener.
 
ho guys i try to fade something in when a video is loaded but it want work some help would be nice :D
  <body>
    <a-scene>
<!-----------footage------------------------------------------>
      <a-assets timeout="0">
        <img id="sky" src="https://cdn.glitch.com/710c25d4-6d3f-48ef-910b-36ddf7e5e6b9%2FB02-003_Showreel3-Vehikel_30fps_grade-1.jpeg?1528884380856" crossorigin="anonymous">
        <video id="video" style="display:none" autoplay onload="freezedframe()" controls
               loop="true" crossorigin="anonymous" playsinline webkit-playsinline>
          <source type="video/mp4"
               src="https://cdn.glitch.com/710c25d4-6d3f-48ef-910b-36ddf7e5e6b9%2FB02-003_Showreel3-
by the way this is coded with a-frame but it uses normal javascript
 
gotcha madara! :)
 
12:55 PM
Hello guys, if i try to install any npm module i always get following error C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(55,5): error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v
100 build tools, please install Visual Studio 2010 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Re
 

« first day (2797 days earlier)      last day (2145 days later) »