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

1:00 PM
*it's emitting neither of them? *isn't emitting anything at all?
there is no abort event?
I mean, it's not documented
 
@AreWojciechowski , no error events?
 
Error isn't firing either
wait, I'll check one thing
 
@AreWojciechowski Wrong
 
I don't get one thing.
 
I am going to burn systemd now
 
1:03 PM
app.get(/***/, function(req, res) {
  req
});
(app is express)
 
Actually I could be wrong
 
afaik req object does not inherit from ClientRequest
 
If req is a regular node thingy, listen to the end event on req.connection
 
oh you are talking about incoming PUT requests?
 
Or close
Wait that doesn't make much sense either
What node version are you using?
 
1:06 PM
req prototype chain is IncomingMessage few times < Readable < Stream < EventEmitter < Object
the lates
latest*
v4.2.3
 
thats the 5.2.0 manual
 
well, I guess no revolutionary changes in stream then
I think there are no changes to stream. Sorry for wrong link anyway
So? Anyone has any idea why it may not work?
 
Since this isn't a high time in chat, you should post a question on SO with a reproducible example and link it here
 
I just began doing that
Well, thanks for at least trying :P
 
@FlorianMargaine Totes, we should call it "Ecmascript"
 
1:23 PM
Does anyone get modules in es6? I don't "see" where its going...
 
@SterlingArcher : imgur.com/gallery/3ZlrV
 
@deostroll not going anywhere
 
I mean as far as browsers are concerned...
 
40 secs ago, by Awal Garg
@deostroll not going anywhere
 
customer comes into place need to implemenet on feature to show customer. day of meeting feature isnt implemented after 20 mins lunch on day of meeting feature was implemented to show customer in time for afternoon demo with 1 minute to spare before meeting starts again
*one feature
 
1:34 PM
 
@AwalGarg how will code like this work in the browser? gist.github.com/deostroll/5066e6605769df23c8f6
 
@BenFortune and?
@BenFortune That's basically what I said earlier :P
 
@deostroll no one knows yet. Seriously, it is not going anywhere.
 
@deostroll why not?
 
1:42 PM
window.addEventListener('load', () => {
  document.getElementById('content').innerHTML = sum(pi,pi);
});
really ? What's wrong with a simple function() { ?
 
@KarelG Lexical this binding
 
@AreWojciechowski if you were not using modules that would make sense
 
0
Q: IncomingMessage abort event

Are WojciechowskiI have this basic express (4.13.3) server in Node (4.2.3). //blah blah initialization code app.put('/', function(req, res) { req.on('close', function() { console.log('closed'); }); req.on('end', function() { console.log('ended'); }); req.on('error', function(err) { cons...

 
please, someone can help me here?

http://stackoverflow.com/questions/34175963/make-a-des-encryption-with-cryptojs-lib-throws-me-error
 
@deostroll It makes perfect sense for me, even with modules
 
1:45 PM
yeah we usually bundle stuff...
 
I just don't get whats your issue with es6 modules @deostroll
 
hey men? :)
 
@AreWojciechowski ahh, now I see what you want. Have you tried listening to req.socket.error/end/close?
 
@AwalGarg Well, I kinda want to avoid that, because I want some-kind-of pure stream implementation
 
@BenFortune yes, but he's not using that there
 
crl
1:49 PM
<script async is like <script at the end of body?
 
also ... quite pointless to do that on an load event on the window ( IMO )
 
crl
flagged ^ :p
 
What on earth did someone find a need to flag now?
 
@AreWojciechowski I get a 'close' event on req.server locally. I don't think there is another way of doing it.
 
crl
(not me ofc)
 
1:52 PM
@crl async means you don't need the dom to run.. can be run before the the whole page is parsed
 
@AreWojciechowski implicitly it means there is some "bundling"at play...
 
@Neil I doubt that async attr on script tag will be run before it'll be parsed
 
crl
@Neil so it's not blocking?
or I misunderstand sorry
 
@crl it's run as the page is being parsed
 
1:54 PM
nvm
 
Did he really do that
 
So unless code is bundled that code won't work in the browser
 
@SomeKittens That's awesome. Thanks so much. FWIW, I think your implementation code should be myService.getProfile.then();
 
it's run at the same time as a normal script tag (assuming defer isn't there), but asynchronously so page loading doesn't stop while script is run
 
@deostroll why? its imports { blah, blah } from './lib/calc' on file app.js on foo.com
@deostroll so it will just get blah from file foo.com/lib/calc/index.js
 
crl
1:57 PM
the browser should, if possible, execute the script asynchronously (that part is confusing, how does it know that a piece of dom needs a script)
 
@AreWojciechowski that requires calc.js already be loaded in the browser...but the onload code won't work...
if its going to async fetch it...
 
@AreWojciechowski source?
 
@deostroll It will automatically prefetch all files included in imports keyword?
@AwalGarg no source, he just asked how it is possible. One of the possibilities.
 
I am not sure of that...
 
@crl If you're running script that involves adding new scripts, you wouldn't want it to continue parsing the page
 
2:00 PM
@crl I suppose you'd use it to let the browser load a script while parsing the DOM and in combination with DOMContentLoaded event so you can put scripts further up in the page and start fetching them sooner
But I am honestly not sure
 
though in most cases you probably wouldn't care
 
crl
ok thanks :)
 
@AreWojciechowski or it could mean we've already added <script src="lib/calc.js"></script> prior to our code...
given facts that I know of today...thats how I predict it would work...
 
@deostroll I think not, because files included in script tags are included into global context
and imports are not
 
@deostroll that is actually a proposal. The proposal is to introduce the "module" type for script tags. So you can do <script type="module" src="./foo/bar.js" name="something"> and then import 'something' in your JS code.
Old browsers which do not understand the module type will simply skip parsing that script tag...
 
crl
2:04 PM
that would be great ^, tho usually you need all scripts when the page is loaded
 
now it makes sense...
 
It is just a proposal...
 
Guys, what happened to @CapricaSix
 
!!tel myself hello
Someone killed him
 
Adama killed her?
 
2:08 PM
Adama?
 
She's not even at the sandbox...
 
@Alper Galactica reference
 
crl
she's there with me
 
Battlestar Galactica is an American science fiction franchise created by Glen A. Larson. The franchise began with the original television series in 1978 and was later followed by a short-run sequel series (Galactica 1980), a line of book adaptations, original novels, comic books, a board game, and video games. A re-imagined version of Battlestar Galactica aired as a two-part, three-hour miniseries developed by Ronald D. Moore and David Eick in 2003. That miniseries led to a weekly television series, which later aired up until 2009. A prequel series, Caprica, aired in 2010. A two-hour pilot for...
 
I need help: I recently started with JS and tried to make a small tool for my clan. here's the code: http://pastebin.com/QxZavEL4
I Want to create for each Group in the php array $groups an initial row with 2 input fields an a add (+) button. this works in the code. but it won't increment the rows. without the php echos it would look like this: http://techtreedev.de/muster.php . it will increase the rows globally. any help?
 
2:09 PM
just noticed when checking for games that there may be a Rollercoaster Tycoon game being published in 2016. Dat memories from RT3 (◕‿◕)
 
crl
beer!echo test
test
 
I used to play theme hospital a lot
that game was awesome
 
Didn't know about it :D
 
ded
 
yod
 
2:15 PM
@nick too late, spent my paycheck on booze
 
crl
beer!urban yod
 
@GNi33 lmao add what you want bro! And Vice Grip is a great song!
 
!!live
 
already added a bunch
:)
 
oi @rlemon
 
crl
2:16 PM
@crl Yod Yod is essentially a load of wank, which certain people have tried to introduce in the place of [bare], meaning lots. It appears it is not as broad-reaching as [bare] though and refers primarily to people. Fortunately this word is unlikely to make it into general circulation as bare is actually far more practical.
 
@SterlingArcher and I added a load of Parkway songs... real Parkway songs.... ;)
@SterlingArcher man, I love that band. I added a few older songs
 
10 messages moved to Sandbox
oops, sorry @SterlingArcher I dunno how to deselect a message :(
in Sandbox, 1 min ago, by Sterling Archer
I forgot to add Engine 45 by The Ghost Inside
 
@AwalGarg Just click the message again.
 
ok
 
2:19 PM
@Cerbrus <3
 
this thing got indexed at "mouse pad" with a price of 6600 EUR ... lel
 
Anbody here who wants to help a noob? (And tell him that his code is shitty)
 
lolbanned
@GNi33 Miss May I <3
 
if arrPropVal[0] gets me Object {Name: "Title", Val: "accidentFreeDays"} how would I just get "accidentFreeDays"?
 
@BenFortune I still need to give their new album a listen
 
2:23 PM
@JoJo arrPropVal[0].Val
 
@Are ty sir
 
@TechTreeDev Fire away
 
I didn't like Rise Of The Lion, but Monument and (especially) Apologies are for the Weak are still one of my fav albums in that genre
 
@JoJo or arrPropVal[0]['Val']
 
@TechTreeDev Your code is shitty
 
2:24 PM
@TechTreeDev Just ask
 
@AwalGarg thx
 
@AwalGarg Helpful
 
I recently started with JS and tried to make a small tool for my clan. here's the code: http://www.pastebin.com/QxZavEL4
I Want to create for each Group in the php array $groups an initial row with 2 input fields an a add (+) button. this works in the code. but it won't increment the rows. without the php echos it would look like this: http://www.techtreedev.de/muster.php . it will increase the rows globally.
 
@TechTreeDev why do you mix php with js, whyyyyyy
 
@AreWojciechowski because i have no clue how to pass values to a js function
 
2:26 PM
@TechTreeDev Luckily someone wrote a very famous question and answer about it.
209
Q: How to pass variables and data from PHP to JavaScript?

Madara UchihaI have a variable in PHP, and I need its value in my JavaScript code. How can I get my variable from PHP to JavaScript? I have code that looks like this: <$php ... $val = $myService->getValue(); // makes an api and db call $> I have JavaScript code that needs val and looks along the...

I hear he's pretty clever that guy ^
 
ok for "famous", but "very famous"?
 
@MadaraUchiha I heard he's a huge nerd
 
@Are kk
 
@SterlingArcher You're not wrong
 
@MadaraUchiha i know. but i did not understood this completely.
 
2:27 PM
@SterlingArcher I heard he's a sore loser
 
44
Q: Is it considered bad practice to have PHP in your JavaScript

Greg GuidaSo many times on this site I see people trying to do things like this : <script type="text/javascript"> $(document).ready(function(){ $('<?php echo $divID ?>').click(funtion(){ alert('do something'); }); }); </script> I don't think that this is some sort of pattern that ...

 
@MadaraUchiha lol
 
@Zirak dead high five
 
@Zirak well I won't lie that was unexpected.
 
2:28 PM
lol kids
 
@SterlingArcher I like trains
 
Does anyone want to go skateboards?
 
Ice skates?
 
crl
you can ride bro?
 
Skateboards killed my knee, and shot my dog :(
 
2:29 PM
@AwalGarg lol, there's no "ice" in Israel.
 
I rode yo moma
 
You might be a nerd, but thankfully you'll never be as bad as this guy
 
how can a skateboard shoot a dog ?
 
@MadaraUchiha neither in here, I yearn for it since forever :( (also he gets sad when you say that and he is in context)
 
crl
can you ollie?
 
2:29 PM
or maybe you are that guy, but hopefully not
 
@KarelG mostly metaphorically, and not at all.
But I did ruin my knee from skateboarding
 
I saw that guy do an interview and he made me feel like a jock by comparison
 
Did it took a long period of rehabilitate ?
 
@FlorianMargaine Extremely famous.
 
Wow, my buddies video went viral ._.
Thank goodness he was filming a stabbing at a football game xD
 
2:31 PM
not sure if that's the right word ... dat "rehabilitate" after an accident
 
@KarelG rehab was instense. I was off my leg for about 6 months
 
howdy folks
@SterlingArcher They tried to make me go to rehab
 
It still bugs me from time to time, but since I worked it out correctly and got the strength back, I proved the doctor wrong and I can snowboard confortably.
 
I said no, no, no
 
But I've never touched another skateboard
Stop star spamming
 
2:35 PM
@KarelG "rehabilitation" would be correct here
To rehabilitate oneself, one goes through rehabilitation.
 
I've got pills
 
@SterlingArcher i was a skilled rollerskater when i was 16. But when rolling on the road on a summer, taking a path with old asphalt (it feels like sandpaper). I started to speed because it led to the top of a small hill. After that, i let the gravity do the job to roll to the end of the road, at the bottom. But a large hole caused a fall. So i rolled literally with my body downhill
 
Oy fucking stop
 
HAMMERTIME!
 
crl
HAMMERTIME!
 
2:38 PM
God I hate you guys
 
HAMMERFALL!
 
HAMMERZEIT!
 
got burn wounds, brain concussion (hit a pole) and a strong warning from my mom to not roller skate anymore. Man it was painful. Took me hours to be able to settle and going to home. My parent faces were mortified :P
 
MALLEUS TEMPUS!
 
Ooo, TIL that javascript has a Set data structure
 
2:39 PM
part of ES6 :)
 
cut that starspam shit out
or I'll yell at you for starspamming again
 
Just ignore it
 
Can't you see who stars things from the network tab?
 
but ... the .add function should return true/false instead of a set, overwriting same object if it's equal
 
Please ban the star spammer
 
2:41 PM
then i simply can do if (! set.add(obj)) { // error, duplicate
 
And like that, the problem vanishes
 
@SterlingArcher nah they patched it
 
Dammit
I was checking the req headers and shit trying to catch em [all]
 
Can you observe a set in the same way that you observe an array?
 
Why should the browser need to know who starred a message? (Other than whay you starred yourself)
 
2:44 PM
@Cerbrus It doesn't. It was leaked in a WS event, hence the patch.
 
Right
 
I just wish flags and stars weren't anonymous, because theyre the most abused
 
can't @MadaraUchiha see them?
 
Like, if you're gonna flag somebody, man up and tell em D:
 
"flag"?
 
2:45 PM
I got banned earlier lol
 
It's just a star
 
The only reason the starred messages stopped is because they thought they'd be banned
lets not say anything to the contrary
 
Why is there even a discussion? This happens sometimes, let it happen, and once it's over we clean it up
 
It's a slow morning Zerk
 
2:47 PM
@Zirak Agreed
 
@AwalGarg Only if I catch them red handed
 
crl
why the hell there's no Array.any.. :(
 
some
 
crl
ahh, weird names ok :) (like every /all) will get used to it
 
2:50 PM
I must say, though... Reacting with things like "Stop star spamming" are probably counter-productive.
 
@SterlingArcher ftfy
 
@MadaraUchiha "bfore"
 
omg... @MadaraUchiha violated my comment D:
I've been... I've been used!
 
2:52 PM
Stop abbreviating at me!
 
Typing with one hand is tough
 
um
please say sandwich... please say sandwich..
 
@SterlingArcher Sandwich.
 
Don't ask what is he doing with his other hand. Don't ask what is he doing with his other hand. Don't ask what is he doing with his other hand.
 
Coffee, actually.
@AwalGarg Drinking coffee.
 
2:53 PM
5/7 spat coffee
 
@SterlingArcher Reference game on point.
 
I'm so happy you got that!
 
@MadaraUchiha Not possible because they live in the real world, unlike you imaginary being.
 
@SterlingArcher So a week?
 
2:54 PM
Say hwhat
7
A: How to add suffix @gmail.com to a list of names

Sterling ArcherAll you have to do is simple concatenation in a loop. <cfset myList = "John,Joe,Pete" /> <cfloop index="item" list="#myList#"> <cfoutput>#item#@gmail.com<br /></cfoutput> </cfloop>

How does this get 7 updoots?
O.o
 
I pronounce that "see floop"
or I did back when I did CF
 
I gotta stop drinking coffee
 
You need octothorps around the list attribute in your cfloop tag. — Dan Bracuk yesterday
is he making up words ?
 
<cfloop> C Floop.
 
!!define octothorpe
fuck
 
2:58 PM
> Another term for the pound sign (#).
 
Noun: octothorpe ‎(plural octothorpes)
  1. (chiefly US) The hash or square symbol (#), used mainly in telephony and computing
  2. 2004, Andrew Pitonyak, Openoffice.Org Macros Explained, Hentzenwerke, page 139
 
@SterlingArcher who the fuck calls those weird thing "octothorpe"
 
octothorpe TIL
 
@DenysSéguret That does sound like generic technical mumbo jumbo
 
Its ok Sterling, Dan's been wanting to use "octothorp" in a sentence all week! :) — Mark A Kruger yesterday
 

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