« first day (2112 days earlier)      last day (2839 days later) » 

7:00 PM
I've never met a mormon that was a bad person, but mormonism is like the scientology of the christianity realm of religion.
 
This is actual sky news and not a spoof https://t.co/4yyICC1H8f
 
@rlemon ...seriously, that's his logic?
 
I mean, he's technically not wrong
 
I mean, no.
 
@GandalftheWhite ahh, nice! well, no need to overdo or rush it, go with a safe +20% increase (y)
 
7:03 PM
how is that not inciting a state of fear?
 
it definitely is
 
he/news people should be arrested for this type of bullcrap
 
but if he was a terrorist, he could have killed them all
 
That should be an actual thing 'Reporter Y was arrested today for inciting fear in the public.'
 
suddenly, "oh, you don't like the current government? Well that's inciting fear."
 
7:06 PM
Freedom of Inciting Fear; It's in the constitution of earth
 
Honestly, the journalistic world needs an oversight committee that just pimp slaps them every time they try to come out with stupid crap. Fox news and CNN will actually have to try and do some real journalistic work.
 
MSM has been using fear for ratings for decades now
but shit is getting a little out of hand now
that news report was just stupid
 
I'm absolutely not saying Trump is a good candidate, but that's one thing that he wants to fix; especially reporters/media knowingly lying just for views.
 
Yeah that is a great point in favor of trump
Too bad it doesn't fucking matter cuz his other views are so awful
 
nahh he's got okay vision
Bernie is the one with glasses
don't you watch the news?
 
7:18 PM
!!rimshot
 
What I don't like is that I have some opinions/views that I can't even share without being labeled a racist/bigot/asshole.
When really, the proof is in the pudding.
 
user1596138
@Meredith Which ones specifically tho. I'm anti-everyone, FYI.
 
Vermin Supreme 2016
 
you can share them, just choose the right forum
 
7:19 PM
I just choose to not share them instead
 
that works as well
 
@ndugger ...Probably because you are one?
 
It's not worth the stupidity
@Meredith if the shoe fits
 
"Oh everyone calls my bigoted views bigoted, but I'm not a bigot! I'm special!"
 
I'm a special bigot
 
7:20 PM
yea I'm stopping this one here.
 
my mother tells me so
 
argue elsewhere please.
 
I wasn't aware this was an argument
 
Yeah I'm not arguing
 
if JavaScript has taught us anything, you should know that if it quacks like a duck and waddles like a duck, it's probably undefined
 
7:21 PM
I'm cracking jokes, and meridith is being her usual superiror self
 
Just making fun of him
 
I foresaw one. "I'm a bigot" "yes you are"
 
Nothing out of the ordinary here
 
can escalate very quickly in this room
 
@ndugger lemon asked you to stop, you don't have to turn it into a fight
 
7:21 PM
@ssube there is no fight
I'm really confused
 
@ssube no he hit the nail on the head.
looked like a flame war was about to start
 
@rlemon absolutely
 
Hey guys. if I could just interrupt the political conversation... lol.
 
when you open with "I'm not a racist, but..." the only thing you can start is a flame war
 
I don't mind meredith; I know she has certain opinions, and I just let her have them. It's not something that I'd start a fight over, lol
 
7:23 PM
I've been here a few times with a related question, this issue is driving me crazy and I need an assist... no matter what I've tried I can't seem to resolve this javascript related problem.
 
only politics and pokemon allowed here
 
Here's the backstory....
 
ReferenceError: problem is not defined.
 
@SeventhSon do you have an example that we can see?
 
@ndugger dank memes are always on topic
 
7:24 PM
It's not a specific example so let me describe the problem:
 
trueché
 
ohh and @SterlingArcher's love life, and everyones workout routines.
 
and my lack of love life
 
no you had that one date that time
remember?
 
I have a date tonight, but it won't go anywhere, because I'm me
 
7:25 PM
you should at least take her somehwere?
first date, on your sofa?
laaaame
 
dad joke
 
Just don't talk to her about how you think abortions are wrong
 
I maintain a CMS that has hundreds of clients. One of the features is that the "designers" that work here can add javascript code into fields in the admin for the CMS. That code does all sorts of specific things like wrapping certain classes in other classes to provide responsive functionality, relocating items on the page according to the client's wishes, etc, etc.
 
@rlemon that's where it should end
 
sofa?!
no man, that's HS crap
 
7:26 PM
it's closer to the door
sometimes you just can't wait for marriage or until you get to the bedroom
 
kitchen table
show some class
 
my kitchen isn't big enough for one :(
 
@rlemon @SterlingArcher's love life is more dramatic than a tv soap opera man.
 
:31992820 that would put me under the 5' mark
that's just too short
 
We recently upgraded a control that we use for HTML/WYSIWYG functionality. It's called tinyMCE, you might have heard of it. Unfortunately, the new control v4 doesn't work in what they call "inline mode" using TextAreas, and so the controls had to be converted to DIV's instead.
 
7:28 PM
Guys you can suck my entire asshole I'm trying to win a government contract here >:(
 
Ohhhhh ima Snapchat you then
 
Unfortunately, Javascript selectors can "see" into the div's where they weren't able to see into the TextAreas, and it's causing the additional tags and relocation javascript to move pieces of code into the WYSIWYG content area when it's being edited.
 
@SterlingArcher did you bleach it?
 
@rlemon haha dude
 
@SeventhSon I don't think javascript can "see"
 
7:30 PM
obvi
 
I was just looking at this
the fish part is so neat
 
Fucking cool Right?!
 
the fish part is great
 
yeah that is really awesome
 
I've successfully written a C# parsing routine that revises the javascript to exclude the div class that wraps the WYSIWYG control, and for the most part, it works. BUT, it has really weird unexpected results for no reason. The JavaScript looks good, but... occasionally just fails, crashes the broswer, etc.
 
7:31 PM
I want to make one
 
I bet you could add a special nemo that shows up occasionally
 
Substitute "find" or "select" for see.
 
I wanna make one for a 'art' piece for my living room
 
So I asked you guys about this one day and I got some responses but none that seemed like it would work. How can I block javascript selectors from finding code that is in a certain part of an HTML document?
 
you don't
 
7:33 PM
Sorry for the backstory but I wanted it to be clear why I can't just change the source javascript.
 
then you change the html to invalidate the selectors
but you can't just magically "block" javascript's access to the DOM
 
Yes, I've successfully written a C# parsing routine that revises the javascript to exclude the div class that wraps the WYSIWYG control, and for the most part, it works.
But in some cases there are weird unexpected results.
 
Yes, you said that already
 
It's really the difficult way of doing it, there has to be a better way.
 
1 min ago, by ndugger
but you can't just magically "block" javascript's access to the DOM
 
7:35 PM
setInterval(_ => {
  $(selectorA).each( (index, element) => element.className = selectorB );
}, 1);
totally do this ^ :D
 
4ms is the minimum
as defined by the spec
 
not anymore
 
what?
really?
 
I thought so too
 
@rlemon Can you elaborate on this code?
 
7:35 PM
they changed it and removed the minimum
 
Is it platform dependent?
I thought browsers were still 4
 
@SeventhSon no because it is a shit example of what not to do
@ndugger ofc. but the spec doesn't specify 4ms anymore
 
Oh, lol.
 
Oh, cool
 
@SeventhSon you can a) change the JS code, b) change the resulting HTML code, c) sandbox the entire thing so it isn't part of the DOM you're looking at
those are really your only sane options
 
7:37 PM
@ndugger you can't rely on anything less than 10
 
I would consider an insane option that works consistently. The old control used an iFrame.
 
That would depend entirely on what you're doing inside of your timer, no?
 
@SeventhSon go back to the iframe
 
I can't reverse the control upgrade, we need it and there are many, many hours in it.
 
While iframes are generally frowned upon, it's not because they're bad--it's usually because people abuse/misuse them.
 
7:39 PM
Well don't let your sunk costs stop you from doing something
 
oh jesus it's back
 
I misread that as "black"
 
@ndugger it was because they were bad
 
I hate posing impossible questions that sound like I'm being argumentative or difficult. Sorry if this seems like one of those times.
 
well then you'll have to change one of the other parts. there MIGHT be an insane fix like I showed you above, but it is seriously not something I can advocate or suggest
 
I used to have a tumblr
 
@SterlingArcher show it to your boss
 
> hey fam, check out this dankness
 
@Meredith that doesn't surprise me in the least
 
I wouldn't be surprised if you had a league account
 
7:40 PM
I don't
I've never played it
I don't play competitive games
 
I don't have one either
 
I wouldn't be surprised if you had a stackoverflow account
 
@Meredith who hasn't had one briefly?
 
I would be, considering how low my rep is
@ssube me
 
League of legends players
 
7:41 PM
back when Wordpress was the great satan, anybody who wanted a blog made a tumblr
I used to have one for automation/ops stuff
but it sucks as a platform, so now I'm getting Ghost set up
 
The problem with blogging is that nobody gives a shit
 
God dammit why u accessing wrong controller scope angular >:(
 
user1596138
@ndugger It's ok buddy we can go on a date in 2 weeks
 
user1596138
Would you like that?
 
user1596138
:blush:
 
7:43 PM
@Meredith unless it's about tech stuff and you're posting fixes for stuff
 
food blogs are big too
who needs to buy a recipe book
 
@ndugger Btw if you say sjw irl nobody will take you seriously
 
nobody takes me anything
 
@Meredith I know someone that literally refers to themselves as an SJW; can confirm--I don't take her seriosuly
 
7:44 PM
@Meredith let it be, he's just trying to pick a fight
 
I am the fight
 
It's like..."I'm making a point about how bigotry and discrimination aren't real issues...by casually using a slur"
 
I'm kind of like batman, but instead of fighting crime, I write javascript
 
imgur.com/a/eOjjz rockets \o/
 
I left pokemon up during my demo, and the GPS in my office is so wonky that I got 1km from doing nothing
 
user1596138
7:45 PM
@Meredith If you call someone a SJW IRL everyone will laugh at them actually... Cause life is jus like middle schoolers tbh lol
 
@ssube that's how you see this? dude she's been just as bad
 
Gonna hatch a 10km egg tonight :D
 
@Meredith I literally do know someone that uses "SJW" as a badge of honour. It's not a slur to everyone.
 
@rlemon they're both contributing, he just keeps bringing it back up
 
do you know what black people call each other
 
7:46 PM
keep your hate speech off my javascript
 
Still a slur when you use it
 
@Meredith John
 
both of em need to stop, tho coughs loudly
 
@ssube happened on both sides now. not just one
 
I don't think "John" is a slur
 
user1596138
7:46 PM
The difference is @ndugger doesn't actually care lol
 
user1596138
She does
 
@rlemon then kick em
 
I knew a black guy named Paul
He was a pretty good friend of mine, actually
I haven't seen him since we graduated high school
 
mer and nick insists they are not fighting. if the banter stops so be it
if not, then yea
 
7:47 PM
@ndugger one day he'll call you up and ask your for tree fiddy
 
I personally don't think we're fighting. We like to poke fun at eachother is all--at least that's how I see it
@Meredith confirm?
 
you ain't gettin mah tree fiddy, monsta
 
No I'm literally making fun of you
 
user1596138
7:47 PM
I don't think we are allowed to say SJW at MidwestJS
 
user1596138
They got dat code of conduct
 
@Meredith bitch
 
alright then, both of you can take it elsewhere
or end it
 
lol
 
please and thankyou
 
7:48 PM
I'm still joking
 
user1596138
I am invisible :(
 
I still think she's joking too
 
@Jhawins I see you big boy
 
It's the very dry sarcasm
 
I am not
 
7:48 PM
@ndugger yeah but you're missing the part where it's funny
 
I live for the sarcasm
 
user1596138
@rlemon So he saw me ask him out and he just ignored it :/
 
@Jhawins he's preoccupied right now
 
@Jhawins With a shnoz like yours? You're everything but.
 
user1596138
@rlemon He needa be preoccupied with me
 
7:49 PM
hello friends, some one can help me please? just a litle question
 
@arkgast 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.
 
@arkgast do you have code?
 
@Meredith talk pokemon to me <3
 
it is just about require() in nodejs
 
user1596138
7:49 PM
lol I'm jus fucking around. I keep having to rebuild in VS
 
I'm getting close to 100km walked
 
@Jhawins I'm fighting with ssh tunnels again
 
@Meredith Either you're being very sarcastic, which I find endearing, or I'm not taking you seriously and mistaking it for a very dry sense of humour, which is what I have. In any case, I don't mind you.
 
@arkgast have you read the docs?
 
Seriously? You go girl, I'm only at 42.7
 
user1596138
7:50 PM
@rlemon Did you try !important
 
Yeah 93.4
Gonna try to get it tonight
But we'll see
 
For the week?
 
Granted about 3 miles extra/day around counted on pokemon
 
It never counts all of my mileage when I run
 
@ssube I'm doing
 
7:50 PM
@arkgast I've gotten that to work before! What's up?
 
@Ragaxus 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.
 
If pokemon tracked machine cardio I'd be about double the km
 
device A :: ssh -R *:99999:localhost:22 -l rlemon otherhost
device B :: ssh localhost -p 99999
> ssh_exchange_identification: Connection closed by remote host
 
@rlemon I've been trying to figure out the syntax on them for like 4 years
 
so yea
I have a permission issue
but I can't seem to figure it out :D
and documentation of ssh tunnels is weak because they have like 2 use cases and even those are bad
 
7:51 PM
won't that make a loop tunnel on otherhost?
 
very very easily malicious
 
iirc *:99999:localhost:22 means "bind on every local interface on port 99999 and forward that to localhost (on the remote side) port 22"
 
@ssube situation, I have deviceA tunneling to serverB with -R and -N flags, I need to gain access to deviceA after ssh'ing into serverB from deviceC
 
lol rekt
 
@ssube yes, that was a suggestion because of how sshd doesn't bind on default.
 
7:53 PM
if I'm bouncing through toolshop to 152, I use ssh -L 8081:10.5.0.152:8000 toolshop and hit localhost:8081 (which goes through toolshop to ...152:8000)
 
I've been reading all day on this
 
@rlemon ohhhh hm
 
a -> B <- c
I'm c, a is tunneled to B
I need to check logs on a
 
@rag
 
are you sure localhost is what you want? If B supports IPv6, it might default to that loopback
I've had that happen a bunch with stupid Java stuff, preferring v6
 
7:55 PM
don't think I have ipv6 enabled
 
@Ragaxus this is my code

// This works
const img = require('../theme/images/img.png');

// And this doesn't
const ROOT_PATH = '../theme/images/';
// In src I'm sending 'img.png'
const imgPath = ROOT_PATH + this.props.src;
const img = require(imgPath);
 
require an image resource?
no..
you've got this all wrong my friend.
 
webpack maybe?
 
I'm working with webpack
 
!!afk puffing the reeferino (Vaping... fuck off NSA)
 
7:56 PM
@arkgast Webpack doesn't run the javacript, so you can't programmatically piece together the include path.
I had the same misunderstanding when i first tried using it
 
ok, so is there someway to do that?
 
-1
Q: Understanding the scope behavior in Javascript

Nirbhay Guptafunction func1 () { cache = 0; return function() { cache=cache+20; return cache; } } var func2=func1(); console.log(func2()); ---> 20 console.log(func2()); ---->40 if some can simply help here in understanding why the output for the second time is 40 What I am un...

 
@arkgast You could use a dynamic importer, like System.js--otherwise no
 
@ndugger there are cases where you can and webpack will accept it
 
@ssube Really? I thought that it didn't actually run any javascript
 
7:59 PM
it does at runtime, which is when it actually links the modules
 
which makes sense
 
so with the right flags you can make require work at runtime with already-loaded modules
 

« first day (2112 days earlier)      last day (2839 days later) »