« first day (2616 days earlier)      last day (2333 days later) » 

5:00 PM
that kid's gonna be decked so hard someday
 
we call it getting Scott Stevened
keep your head up kids (and professional NHL players)
 
@AndréBastos that's explicit construction.
 
Aren't you still returning that promise you are creating to a setTimeout?
that wouldn't be very useful
 
When you open a canonical and people keep asking about it feelsgoodman
 
return new Promise(function (resolve, reject) {
    Database.Devices.getDeviceById(deviceId)
        .then(function (device) {
            return Controllers.Gps.getRadioInfo('gps', 'info', {}, device);
        })
        .then(function (data) {
            createLog('debug', __dirname, __filename.slice(__dirname.length + 1, -3), deviceId, 'runChild', 'data', data);
            Controllers.Gps.sendDeviceInfo(data, device);
            process.send("child end work");
            resolve(data);
        }).catch(function (e) {
 
5:06 PM
isn't return new Promise(function (resolve, reject) { not necessary
 
yeah
since it seems like getDeviceById returns a promise
 
(keep in mind, we're still returning a promise to a setTimeout)
in other words, the promise handling is mostly irrelevant to the problem, even if it's not being done the most effective way currently
process.send("child end work"); never gets called
 
Y'all watching the net neutrality discussion prior to the vote?
 
4|wscontro | deviceId -->  9f3f6261-a2c3-45cd-9dc4-f9523ace0b50
4|wscontro | CHILD WORK BEGIN
4|wscontro | CHILD WORK ENDED
4|wscontro | EXIT SENT
4|wscontro | Parent sent message -->  exit
4|wscontro | A child exited or crashed with code 0 and signal null
did you watch the video that guy posted?
with 25k views and 24k negative votes
 
?
 
5:11 PM
see if i can find it
 
@KevinB i was wondering that too
 
Oh, from Ajit Pai
Yea
Hey look, the guy for repealing Title 2 just admitted that he's okay with prioritized internet.
 
right
why wouldn't you be if you have plenty to afford it
 
I just wanna point out that Loktar said that there's no way they'd ever do that.
 
5:17 PM
@Neoares I invested into that as well! :D
 
FYI, they're talking about net neutrality right now
 
I like it. I think I like it so much, I'll hold it until it is worth nothing
 
@MadaraUchiha who is?
 
Pf, net neutrality. What a nerd topic!
 
5:18 PM
the people who will be voting on it
 
They'll be voting on it in the next hour or so at this rate.
 
Stream isn't working for me
 
Shalom all!
 
They're having fun!
 
5:20 PM
Try that Ben
 
I don't like fun
 
That's WaPo's stream, the audio has a little lag, but you don't need to watch it.
 
@KevinB i got confused after what you said about the returning goes to the set timeout
 
Disney is buying 21th century fox wtf?
 
in the code on your question, you have a setTimeout wrapping all the child work
the return new Promise was placed where that setTimeout callback is, so it'd be returning to that setTimeout callback
which isn't very useful, because setTimeout ignores that return value
 
5:21 PM
@William It's done. 52.4 billion.
 
Why the heck did they use React lol
 
ok i understand.. so how can i resolve the promise and guarantee the code will run and send the message correctly after ending the process ?
 
Why isn't the promise resolving?
 
Why would the government make a decision that goes against the majority opinions of their constituents? Isn't that a good way to lose your job?
 
@ndugger because they ran on doing so and was voted in
 
5:24 PM
@ndugger This is the FCC, they're not elected officials, they're appointed.
 
Well shit my pants
 
In Ajit Pai's case, this is his Padawan task to become a full blown Sith.
 
well, the people that appointed anyway
 
> Apocalyptic Rhetoric
suck a dick, white dude
 
Once his term is done, Verizon will welcome him back with open arms, and a stupidly gross paycheck.
 
user9090831
5:25 PM
Is it wrong if I attach a link here?
 
@Mr.Cho Welcome to the JavaScript chat! Please review the room 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.
 
@Mr.Cho depends on the context
 
lol, someone fucked up the audio on the stream. His voice is only coming out of the left speaker, and an echo in the right speaker
 
I don't know
 
Thought it was funny
 
5:26 PM
@ndugger That's the mics they're using, even on the FCC channel it's all mono
 
> uses mono mics
decides on technology regulations
ok FCC
kys
 
user9090831
@KevinB This question is about the Spring framework. I think this is a separate issue from javascript, so I do not think it's exciting to post a question.
 
@ndugger That was my thought, lol.
 
@Trasiva "To Acquir" I don't think everything has been signed but yes it is definitive
 
BBC already has it stated that it's done.
 
5:29 PM
Is this correct? `if(data.message) {
console.log(this);
}`
Trying to simply it by not doing console.log(data.message)
 
Well, the era of internet startups is coming to an end. Thanks, Ajit Pai, you fucking dolt.
 
@TheCodesee data could still be null, causing an error
 
Do you guys think that doing some MOOC classes from a university will increase my chances of getting a job as a web developer?
 
@Trasiva wait Disney's site says to acquire thewaltdisneycompany.com/… so they don't seem to own everything yet
 
sorry i updated my code
copied it wrong!
 
5:31 PM
@Alesana I don't think they particularly care what classes you take, as long as they're in the general direction
 
would this reference data.message?
 
but I haven't gone through that experience, so I may be wrong
 
@KevinB are you there?
 
yes
 
@towc So even treehouse could help? I just realized I have nothing to put for education o.o
 
5:31 PM
@TheCodesee The if statement does
 
what can i do?
 
@OliverSalzburg but would it print in the console the value of data.message
 
This lady who's speaking now is bae
 
figure out why the promise isn't resolving.
 
she knows what we want
 
5:32 PM
If it isn't resolving, it's either still pending and you need to wait longer, or it's failing and the catch is running.
 
@TheCodesee I don't see why it would
 
If the catch is running, it should be going to your logger, whatever that is.
 
Ok i will add a catch to see
 
You already have a catch.
 
Yes my bad
 
5:33 PM
@OliverSalzburg so i would have to write console.log(data.message); ?
 
@TheCodesee Yes
 
user9090831
If you do not mind, give me the answer to this link. We do not attach contents, and think about link with attachment sorry. There is too much content to attach.
 
user9090831
This article may or may not help, but there are plenty of others you can google to get a better understanding ogf Spring and Ajax: javacodegeeks.com/2013/09/spring-mvc-ajax-jquery.htmlcraigwor 24 mins ago
 
@OliverSalzburg how come console.log(this); wouldn't work?
inside the if(data.message) function
 
user9090831
This article may or may not help, but there are plenty of others you can google to get a better understanding ogf Spring and Ajax: javacodegeeks.com/2013/09/spring-mvc-ajax-jquery.htmlcraigwor 24 mins ago
 
5:34 PM
@TheCodesee It would also log something, but probably not date.message
@TheCodesee That is not a function
 
yes sorry i meant if statement
 
Because if statements don't rebind this
 
oh i see, thank you for explaining
 
@William That means that they've agreed to the deal, they just have to wait on congressional sign off.
They have to file with the SEC.
 
Thank you! Hopefully it isnt allowed. I hate darth Disney
 
5:39 PM
It'll go through.
Nothing they're purchasing puts them in a monopoly.
Or threatens to do so.
The move for the controlling majority in Hulu is the most interesting thing to me.
 
Meeeh except It is bad for everybody other than shareholders of those two companies. In particular bad for customers, other companies and employees:
 
How is it bad?
 
@Trasiva do you think Disney is getting too much power over theaters? They already dictate how long Star Wars has to stay in a theater
and that hurts small theaters
 
@NathanJones Honestly, I don't know. I'd have to see the numbers, if they keep the movies in theaters too long, it financially would hurt Disney as well, because empty theaters are lost money.
 
5:42 PM
I saw a comment on HN that suggested the merger might be good for competition in the home streaming market
 
I'm honestly just repeating what I have heard from HN about being bad for everyone so not really sure
 
it was funny, though, because they would become a monopoly in one market to become competitive in another
 
And now they're going to be competing with Netflix
 
Disney'll have their own streaming service in 2019 when their Netflix contract is up.
By having controlling interest in Hulu, that gives them the ability to potentially split Hulu into Hulu and Hulu Disney, or just make a Disney package.
 
I'm wondering if the next deadpool and new mutants might be cut
 
5:44 PM
Deadpool won't
That's going to be a stupid huge cash cow.
 
Yeah, it's already a proven success
There will probably be more studio oversight, though
 
Disney has never directly produced any R-rated product under the "Disney" brand. So it depends how the company is restructured
 
I would be super upset if we don't get more of Ryan Reynolds as Deadpool, he's essentially Deadpool in the same way Hugh Jackman is Wolverine.
 
@hilli_micha agreed
 
Or was Wolverine rather. No clue how that's gonna be handled now that he's no longer doing it.
 
5:48 PM
Watch Disney make another x men with wolverine just like with Han Solo with their incredible power and influence
 
I don't think they will honestly.
Hugh Jackman has essentially is Wolverine. He's going to be nearly impossible to replace with something of quality.
Also, can I point out that this mean Disney officially has Spiderman back?
 
I try not to be cynical, I mean, we've had differing actors playing iconic roles (e.g Joker). For Han Solo, I can understand, Harrison Ford is kinda old. But Hugh Jackman is still relatively young and completely able to do Wolverine (other than his desire to no longer be solely defined by the character) so it's a little weird knowing that with him still around.
 
Hugh Hackman said it was the last wolverine movie. No Sony still owns Spider-Man.
 
Hugh Jackman recently backed the idea of Tom Hardy being Wolverine - according to this article - express.co.uk/entertainment/films/891768/… - no clue how to feel about that.
 
Update: FCC vote on hold due to possible security risk
 
5:53 PM
ok, turns out my father was at a heavy day of work and got slightly irrational with time management in conversation
 
Jugh Hackerman is my favortie movie star
 

« first day (2616 days earlier)      last day (2333 days later) »