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

4:00 PM
@HatterisMad so do I, hell I live in the same city and see my mom every few months. but if she said she wanted me to come see her I would.
 
@towc ok man I'm not here to argue. I have my own problems to deal with I hope you resolve yours
 
I live 500 miles away from my grandmother and see her every few months, really isn't that hard. Plus it means a lot to her and that's what matters to me.
 
^
 
and if they want to see me, they can actually come around at a planned time, like we had originally agreed to
 
4:01 PM
I live at the most 10 minutes from all my close family.
 
I bet they're really feeling the love
 
Fuck me man, they're your parents, not a fucking solicitor looking to sell you a condo.
 
^
 
I also don't want my parents showing up unannounced, but that's because they'd smell the thinmints and cry.
 
my parents are deceitful, mine isn't just laziness
 
4:02 PM
What on earth did your parents do that makes you so angry
 
@SterlingArcher cared
 
@Luggage that's why I have at least 4 candles at any given time
 
@rlemon lol quality
 
I think a new love of candles would be very suspicious behavior for me.
 
lol
I've always liked candles, so it's convenient
 
4:02 PM
My parents know and don't care
 
Just rebel like a normal teenager and get your nipples pierced and go home
 
^
 
!!giphy it's time to stop
 
papa franku
 
4:03 PM
wow, so synced
 
@SterlingArcher I don't think this is rebelling
I'm not trying to fight them
or teach them a lesson
I just want to go my own way
I have more of a plan than it might seem at first
 
You're 17, your plans suck.
5
 
lmao no you don't. I had the same thoughts
 
I didn't say it was a great plan
but it's not just living in the woods
 
I'm not getting into this, it's the same thing everytime bro
!!afk nope
 
4:05 PM
I got married at 18 and worked full time at 13
 
^
 
In my defense, I was with a GF for 3 years at that point
 
I moved out when I was 19, but even then it was with my GF (now wife).
 
Also, I was a shitty disrespectful kid - getting married ended up being a one in a million lucky shot because we were both very comfortable people relatively to live with and we put a lot of effort.
 
@ShrekOverflow nice
@towc wtf are 'judgement teeth'
 
4:08 PM
Also I moved out at 18
 
wisdom teeth.
I suspect
 
oh, right
 
judgment teeth sounds way more badass
 
Hi guys, I am new in JS and I use SonarJS for analyze code and I want to exclude a rule for some lines of code, how can I do it?
 
@IgorTurcanu 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.
 
4:09 PM
that is just scary :P
 
I've never heard of SonarJS
 
When I was young and getting married, I imagined that I would be better parents than mine were, and so I set out on a course to have many children and prove my theory, and shower them with love so they would grow up healthy and well adjusted.
 
@ShrekOverflow damn nice
 
@SeaCharp thanks for contributing to overpopulation
 
4:10 PM
i am afraid one day airplanes will run on JS
 
have u guys heard of JicamaJS?
 
Yeah, it was a really bad idea.
 
JamaicaJS
 
@ndugger in college my SEIII final project we decided to build a sonar detection machine
 
haha
 
4:11 PM
@ShrekOverflow That is one of the most horrifying ideas I've heard
 
I mean I wouldn't trade any of my kids for anything but being the Cool Dad really didn't work out as I had hoped.
 
Speaking of which, what do they run? I imagine they have formal verification for the programs they run like most safety critical systems?
 
> We will begin our decent once the event loop finishes and we can lower the landing gear, folks
 
4:11 PM
I also moved out at 18
 
I was 16, I still would have more respect for my mother.
 
I moved into a small hut in the woods and lived of mushrooms and dirt
 
@SomeGuy this year in defcon someone demoed how they hacked one
 
@ndugger I mean a real sonar. It used microphones to give a sounding direction
 
@ndugger America isn't overpopulated, it's just far too urbanized.
 
4:12 PM
@SterlingArcher BUT MINE LOOKS COOL
@SeaCharp I was just being facetious, m8
 
@ndugger Oh. K.
 
@SomeGuy oh, you didn't hear about the audits, did you? :)
 
@Mosho ping
 
@MadaraUchiha Please don't ping random people.
 
@MadaraUchiha Please don't ping random people.
 
someone !!welcome madara
 
No. :)
 
4:14 PM
You want other people to get Cap banned now too?
 
Thar we go
 
Go on, do it.
 
unban me
 
^^ you see? He's ok with it
 
I dare you
 
4:14 PM
^ now he's joking
 
!!unban ndugger
 
!!welcome MadaraUchiha
5
 
I've seen this movie.
 
@GNi33 Welcome to the JavaScript kick list! 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.
 
I'M NOT SCARED OF YOU
 
4:14 PM
@GNi33 What are you talking about? I feel apprehensive :P
Hahahaha wow, ruthless, @MadaraUchiha
 
he will be reborn
 
The "don't ask if you can ask a question" rule is really dumb.
 
But for how long
 
you're really dumb
 
@SeaCharp no it isn't
 
4:15 PM
@SeaCharp It's not, it saves up everyone's time
 
@rlemon LOL wtf?
 
@MadaraUchiha are you gonna use Rinne rebirth ? lol
 
I'm occasionally dumb.
 
that's funny
 
Also, it's a fairly common rule in chats.
 
4:15 PM
MODBUSE!!!!
 
Help, help, I'm being oppressed!
 
what did he do ?
 
@Loktar right? I thought it was pretty funny
I'm surprised the printer kept chugging on
 
It saves time except everyone's always on here bullshitting anyway, so who cares?
 
Modbus is a serial communications protocol originally published by Modicon (now Schneider Electric) in 1979 for use with its programmable logic controllers (PLCs). Modbus has become a de facto standard communication protocol and is now a commonly available means of connecting industrial electronic devices. The main reasons for the use of Modbus in the industrial environment are: developed with industrial applications in mind, openly published and royalty-free, easy to deploy and maintain, moves raw bits or words without placing many restrictions on vendors. Modbus enables communication among many...
 
4:16 PM
i need to speak to a manager we have an employee not putting onions on my burger. i want 30% off my next meal
 
That was interesting
 
@SeaCharp if we only talked about JS, the room would stagnate fast
 
@SeaCharp we're waiting for an interesting question. :)
 
@SeaCharp do you have a JS topic we haven't discussed 100 times?
 
@ShrekOverflow Fascinating. I find NASA's details on safety-critical programming the most fascinating. Especially the real-time OS requirements and live, remote-debugging they've had to do
 
4:16 PM
if you have anything JS related to offer up, you're more than welcome
 
I need 7 more rep until 3k
 
Quick, everyone downvote @ndugger
 
DO IT
 
@SomeGuy speaking of that they are using node.js
 
It's pretty basic conversational process to find out if anyone is interested in your question before asking it.
 
4:17 PM
@MadaraUchiha On it! Mod told me to do it! Screencapped!
 
I can't downvote him any more. It's harassment at this point.
 
@SeaCharp It's generally there to prevent begging and "anyone here plzzz?" kind of messages.
 
@SeaCharp try hearing "can I ask..." maybr 50 times a day for 3+ years and you'll rethink that
 
now I want to go for a walk to chill out, but if I do, I won't be able to argue with my parents before they buy the tickets
 
When you're more known by the members of the room, conversational questions are generally more accepted.
 
4:17 PM
and since I'm not chill, I can't do the productive things I was going to do
 
@ShrekOverflow The Reaktor stuff?
 
@SomeGuy hmm, let me see if I can find it
 
I don't have any interesting JS questions because I hate Javascript.
 
@SeaCharp yea. I get it, but remember we hear a LOT of the same "does anyone know angular?" and we get tired of saying "maybe.. depends what you want to know about it.. I can't answer that until yI know what you are having trouble with in angular"
 
I'm just here for the lulz.
 
basically it was about how unsecure some airplane systems where and that this has been known for a long time
 
Thanks for that, now we will label you a troll much easier
 
@GNi33 :(
 
@SterlingArcher Meh, before I was elected, I got to be a room owner in the Java room, and I despise Java 😃
 
last thing I heard about that was when they told pilots about it and they had no clue
 
4:19 PM
I've been called worse.
 
Is there a person alive who likes Java anymore?
 
@MadaraUchiha I was a RO in C# at once point in time. removed myself
 
@hilli_micha lol
 
@MadaraUchiha I was an RO in C# for a long time and I've never even used C#
 
Someone make me RO in C#; they really love me in there
 
4:19 PM
I actually only hate JS because I suck at it. Wish I were better, seriously.
 
just use jquery
 
so stick around
it'll happen.
 
can confirm, i started the ndugger C# fan club it has 2 members we're really active
 
@SeaCharp well, what are you doing to change that?
You building anything?
 
@hilli_micha I like Java
 
4:19 PM
you'll learn JS and 3d printing.
 
I'm always building something.
 
And Rimworld.
 
and motorcycles
 
and Canada
 
and papa johns
 
4:20 PM
I sucked really bad at JS a few years ago. This chat room is why I no longer suck.
 
Canada sucks
 
10/10 would chat again
 
and friday
 
Been working with FullCalendar to build a scheduling app.
 
and frogs
 
4:20 PM
@KendallFrey Wednesday is better, we have frog for it
 
@SomeGuy afair there has been at least one alleged incident where someone used the built in entertainment systems to gain access to engine control
 
I'm off tomorrow; can I do friday links today instead?
 
Java isn't bad its different. Programming is not Java's cup of tea ;)
 
> When NASA went to collect all possible data on the
situation as part of the investigation, it turned out to be a task of astronomical proportions.
 
Did a lot of work with TinyMCE which was a nightmare.
 
4:20 PM
So pretty doable, huh? :D
 
TinyMCE was indeed a nightmare
 
1 message moved to Trash can
@Koosh 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
 
@SomeGuy heh
I'd expect them to use something like GO
 
function printDiv(divName) {
     var printContents = document.getElementById(divName).innerHTML;
     var originalContents = document.body.innerHTML;

     document.body.innerHTML = printContents;

     window.print();

     document.body.innerHTML = originalContents;
}
 
@ShrekOverflow The only thing I like about is, is the fact that I know C# decently well, and so much of it translates over. The rest can be hashed out with a weekend and a book.
 
4:21 PM
but ... the yare all definitely smarter than I am
 
@GNi33 Oh, yeah, I vaguely remember something like that too
 
@SterlingArcher Two weeks after upgrading our CMS to the newest version of TinyMCE there was an exploit that seriously compromised our servers!
 
@hilli_micha I must say than you know neither
 
So I have this function to print contents of my div - but if i enter data into my controls it prints everything empty
 
because you're setting innerHTML
which doesn't hold state
 
4:22 PM
@Koosh you'd be much better off cloning the node, adding it to some kind of container in the document, hiding everything else, and then printing... What you have now is awful.
 
or just shove everything into an iframe and print that
 
that too
 
@SterlingArcher *shivers* please do not remind me to that
 
why thank you @ndugger i do appreciate honesty
 
4:23 PM
I built an entire legal information database using dynamic tinyMCE forms. It was hell
 
Koosh is my new favourite user
sorry, Jordan
 
why thank you @ndugger
 
@MadaraUchiha can you modify messages in here? or was that "welcome" message robs doing? :D
 
It's ok, I'm... sniff... I'm over you
 
4:23 PM
@ShrekOverflow From a language standpoint, has it changed signficiantly in recent years? My previous co-worker and I used to discuss about this and he often mentioned that's essentially how he learned Java. I'll end by saying my experience is limited.
 
@GNi33 you can see the edit history
 
TinyMCE tech support said "oh you have to store your assets in this manner, the control isn't designed to do what you're doing" and what we were doing was pretty standard stuff. It was insecure as hell.
 
mod edits leave a trace
 
like harry potter spells
 
okay back to my function, can someone point me in the right direction to do what I need done?
 
4:24 PM
@rlemon sprinkle some crack on 'em and call it a day
 
@GNi33 It is the workings of the lemon.
 
@Koosh you were given two suggestions
 
@hilli_micha Anyone can learn Java easily, there isn't much in Java :P
 
innerHtml is a no go, because it doesn't hold state - by Asp.net controls hold state normally
 
except for at every 5 lines of code you should google
if Java provides a better way of doing what you are doing out of the box
 
4:25 PM
@hilli_micha Not significantly enough, not fast enough.
 
and I really hate writing async code in Java
 
@MadaraUchiha yeah, as I was assuming :)
 
Futures and Promises are meh
 
view state, I can't say I fully understood @ndugger suggestion since as you probably know I'm not the best with this Javascript language
 
at best
 
4:25 PM
maybe something in layman's terms @ndugger
 
@rlemon yeah, it says "CapricaSix edited", so I wasn't entirely sure
 
Why are people inviting me to join rooms
 
? i would appreciate that
 
I am not that experienced in Java though
 
user484936 and boqapt
 
4:26 PM
@Koosh probably the easiest and most sensible option would be to define a print css to only show the div
 
Anyone can help?
 
@KevinB :D
 
great now the notification covers half my screen
:p
 
0
Q: Callback function code makes child process still alive after exit signal

André BastosI'm having trouble executing two functions to get gps info from a device and send it. So I have a file who acts like a parent who create forked child process and each child asks for gps info each 5 seconds and send it. The problem is the code after getDeviceById (getRadioInfo and sendDeviceInfo...

 
HAHA SIKE I DONT WANNA CHAT WITH YOU IN PRIVATE
!!afk gottem
 
4:27 PM
wait
those two people are the same person
 
Who declined my flag
boooooooooooooooooooooooooooooooooooooooooo
 
@rlemon something like this?
 
That they are.
 
that's why i couldn't find him yesterday
 
@media only print {
   #idOfYourDiv {
     width: auto;
     height: auto;
     overflow: visible;
   }
}
 
4:27 PM
the media part is right
I have no comment on the css rules. it's your page.
that's for you to figure out
 
everything is wrong, okay but how Would I call this with Javascript?
:/ i'm struggling here
 
you don't
 
as far as i can tell i haven't had any interaction with that user recently
 
the browser reads the media query and applies the css when you try to print automagically
 
i don't understand the big picture using something like that, I'd be okay if I would just just call a function
 
4:29 PM
go read how @media queries work
it'll make more sense
hopefully.
 
i understand it with like resizing for mobile devices if you are checking for size or whatever
 
Pretty sure I didn’t spend $590 on my hair this month
 
change the content if width<500px or something, Ive done that before but with just plain CSS, i didn't have any other functionality added to it
like Print
 
you also have media types
you can target print, screen, speech, and all
 
4:30 PM
You see the changes in the print preview
 
sweet, i'm looking into it now. Thanks!
 
they should be self explanatory
 
I have to go into the Java room; lord helix protect me
 
also, I think you can tell chrome (in the debug console) to pretend it's a print media type to see it live
 
well i'm using firefox and all users are told to use firefox as well
not by me, but team lead
 
4:31 PM
that's fine. it should work the same
 
they probably have something similar.
 
I mean the css should work the same(ish). No idea what debug features firefox has
 
now I'm curious if you can set that in the <html type="print"> ??
gonna have to try that
well, maybe not on the HTML tag
but somewhere in the markup
hrm, doesn't look like it
 
just comment out the "@media {" and "}" lines if you have to
 
or print preview
 
4:37 PM
right
 
@SterlingArcher Maybe you bought someone else's hair
To chew on it while coding
Omnomnomnom
 
Or maybe his beard wakes up in the middle of the night and goes on spending sprees?
 
when he gets his brows plucked he pays by the hair
 
i spend ~$5 a month
 
He found an unshaven hooker
 
4:39 PM
Be nice to your mother @KendallFrey
 
https://stackoverflow.com/questions/47817996/callback-function-code-makes-child-process-still-alive-after-exit-signal

anyone?
 
Can you see the question @OliverSalzburg ?
 
4:42 PM
i cant figure out why the code with the callback causes the process always alive.. if i comment it. the process is killed
maybe it is blocking something i don't know
 
It all seems strangely familiar
 
how ?
 
I don't know
I feel like I recently talked to someone about a similar issue
 
@OliverSalzburg lol what? I dont even chew on my beard I hate hair in my mouth :P
 
@SterlingArcher I just liked the idea. I even took it further mentally. "Hair 4 Rent" You rent it to chew on, then you send it back the the HQ where they put the hair in a dryer and re-scent it before sending it to the next guy
It'll be a thing in the future. Just wait for it
 
4:45 PM
...
 
um
huh.
!!afk huh
 
@AndréBastos do you understand the nature of Promises?
your "CHILD WORK DONE" is not when the child work is done
 
that's confusing
@SterlingArcher WAT
 
@Neoares SterlingArcher is afk: huh
 
yes, he's probably cutting his hair
 
4:49 PM
console.log('bye');
 
@MaksimsKitajevs 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.
 
lol
 
@AndréBastos Child WORK ENDED is logged after the Promise is created, not when it's resolved
 
@Neoares it's not real
My haircuts are pricey but not that pricey
 
my haircuts are free
 
4:51 PM
I get paid for my haircuts
 
My haircuts double as like, a massage
 
Ok i need to control my promises
 
a massage
 
my ethereum is worth $100 today ,_.
maybe I change it for bitcoins before it goes down again
 
@Neoares XRP is where it's at
 
4:55 PM
what is XRP?
 
I made a 200% ROI off it
 
nice
 
@AndréBastos please don't paste unformatted code
ctrl k is your friend
 
wtf happened with @MadaraUchiha and @GNi33 ?
 
4:57 PM
my bad
return new Promise(function (resolve, reject) {

			Database.Devices.getDeviceById(deviceId).then(function(device) {
				//Do Child work

				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) {
					createLog('error', __dirname, __filename.slice(__dirname.length + 1, - 3), deviceId, 'runChild callback error', e);
 
@BenjaminGruenbaum jokes
 
abuse!
 
1 message moved to Trash can
 
@AndréBastos nesting .then() calls is kind of bad practice
 
what?
 
4:59 PM
@KendallFrey galaxyridge.com/wp-content/gallery/gifs/30526480.gif ohh man, she landed on his skate
 
owwy
 

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