« first day (2909 days earlier)      last day (2261 days later) » 

14:00
@BenjaminGruenbaum When an argument turns into labeling one party as the winner and the other as the loser, neither side will ever come to an agreement
@BenjaminGruenbaum I've tried that one and it seems to work, but then a function call in the parent blows up trying to call this.variable
@Machavity what I meant was, I write a very simple class Parent and class Child, and copy the "helpers" in the transpiled code and use them in my code
You're right, thanks for enlightening me. I probably use 'win' far too often.
@Neil I mostly agree - that's why I took a step back to ask. It's not so much about agreement (it's rather objective in this case) - it's more about me trying to be more aware of my interactions.
@paul23 you mean like you can in Chrome? (or at least used to be able to)
14:08
@Machavity what do you mean? You also need to do Parent.call(this) in the child's constructor.
@JaromandaX Well just to disable the security feature.. So yes I was able to do that in chrome.
@TravisWhite it's more of a me issue than a you issue tbh. But thanks.
@BenjaminGruenbaum Ah, that might be it. None of the SO answers I've found have that and it stopped throwing that error
I run a dev nodejs server at port 1337, and sencha app command creates a static file server that serves files at port 1841, so everything fails due to the browser not allowing the site to interact to port 1337.
14:12
@Machavity that's just how prototypical inheritance works :)
@paul23 try cors everywhere - the name is misleading if you ask me as it basically bypasses CORS rules - which is what I thought you wanted
Will do
Thanks for the link. The name seems to imply it enforces cors rules?
would --disable-web-security do anything here?
I haven't been following fully.
@paul23 that's what I said 😋 but it bypasses CORS
@rlemon Firefox > Chrum 😛 he was asking about Firefox
@paul23 look if sencha app command can serve CORS headers
AFAIK --disable-web-security is broken, the extension works but is not a great fix.
14:19
@BenjaminGruenbaum isn't that a Chrum command line option? Not Firefox?
@JaromandaX It's a Chrome command line object - I'm just saying that it's broken :D
I would just look for workaround with those port issue instead of bypassing cors
@BenjaminGruenbaum Chrome + broken = status quo (lately) - niggling bugs mainly that make my work life a nightmare for the one client that insists on never using firefox, only chrome!
yes. I am a difficult person.
@JaromandaX well, it's just a different sandbox model that --disable-web-security addresses, it never really worked with multiple accounts well.
@KarelG that's entirely a reasonable thing to do - to just proxy the port on the original server and be done with it
14:22
@KarelG no, I agree, bypassing CORS is a hack - but it may be just for dev purposes as @paul23 stated
@BenjaminGruenbaum I wasn't referring to --disable-web-security, just Chrome in general the last few releases - I always know when there's been a release, that one client sends support request after support request
Ah, well, Chrome is the market leader
So it's not like we have much of a choice in general.
Sounds like an annoying client :D
Understatement 😋 but they are a big client, so ...
THe problem is: if I would change sencha build process to output to a folder discoverable by nodejs I'd have to change the nodejs server to understand static files. -- Our production server has an nginx server infront of everything anyways. So I'd be developping code at application level just to deal with my personal set up.
I really enjoy not having these sort of relationship
@paul23 create a third server (or change the local node one) to proxy requests to both ports from different paths
The other way would be to manually run exactly the same setup as the production server (nginx in front of everything). However that would increase complexity.
@BenjaminGruenbaum That happens on production, are you suggesting to also do that on my dev pc?
14:26
@paul23 yes, just in Node probably.
in theory, you only have to instruct node to add a port forwarding to your other server when working locally (with its own property file)
14:44
node is (in production) not the server that faces the outside world though, nginx will only pass /api/* urls towards the node server. So adding routing in the node server like this would add extra complexity to the system just for debugging purposes.
> when working locally
since you are using nginx on the server, you can take over the configs and expand it with development config (that appends the production one) so that you can have a nginx server locally that does port forwarding to those servers without problem
I would not deploy nginx locally - I'd just do it from Node
user1596138
15:00
Any advice getting source maps to work in IE11? Tried most of the devtool options in Webpack so far
@LuckyKleinschmidt Implement a chrome devtools wrapper? :P
user1596138
I wish
is there a problem (error) or do you want to troubleshoot something?
user1596138
I can't even run firebug it will just crash the whole browser lmao. Lucky if I get stock IE devtools open at all!
user1596138
Sourcemaps don't work
user1596138
15:03
Just wondered if someone knew off the top of their head. I have done this before and forget what I had to do
user1596138
There wouldn't be an error. Just no unminified source
Who the hell still uses Firebug? It's dead since quantum and the builtin dev tools are just as good
user1596138
People who can't get IE devtools to open
user1596138
I would never use it on FF lol
Ah, you mean the lite thing that isn't a browser extension
user1596138
15:06
Yea
forgot that this exists
user1596138
The script
user1596138
It usually doesn't work worth a damn either tho
Hey, someone know how to properly print a post here on SO ? Because with the "new left bar design" it can't be possible
user1596138
Turn off left sidebar
15:09
I mean, when I hit Ctrl+P the "print design" it's horrible
user1596138
372
Q: How do I hide the left navigation sidebar?

SuragchThere is a new left navigation sidebar. I prefer using the space for reading questions. How do I hide it? Return to FAQ index

Anyone has tried?
user1596138
Yeah. Turn off the sidebar if you don't like it for whatever reason (print included)
Let my try ...
user1596138
I'm sort of dying over here that you're printing SO posts tho lmfao
15:11
@LuckyKleinschmidt Continue dying, don't worry !!!!!
@robe007 github.com/rlemon/PrettyPrint idk if it works anymore
it's old
very old
Yeah, the left bar is hidden, but the print design it's horrible
@rlemon let me try
user1596138
I don't think it's designed for print
@LuckyKleinschmidt xD
*sees jQuery* it is surely old
user1596138
15:13
lol omg yeah it looks terrible
I just make a series of screenshots
eh, kinda works
user1596138
Yea so at the end of my bundle.js I have
user1596138
//# sourceMappingURL=ResultsView.js.map
user1596138
15:16
But in IE it never requests anything .map :/
user1596138
I wish Chrome had a "crash like IE does" setting
@robe007 chrome.google.com/webstore/detail/just-read/… is a good extension to remove cruft from pages
for SO questions tho I have to set the width to something reasonable, and lower the font size
@rlemon (Y)
if you're using windows 7, you don't have the windows 8.1 update that enabled sourcemaps for IE11
i'd expect windows 10 to have that update
15:21
@LuckyKleinschmidt maybe add a flag to load the code unminified and from multiple files.
@LuckyKleinschmidt Visual Studio is typically the better IE debugger but IE11 is supposed to have reasonable devtools
user1596138
@BenjaminGruenbaum Wait I can debug IE with VS
user1596138
??
user1596138
And I need more than unminified, I need the sources since this is generated code :/
so what problem are you actually having that you need sourcemaps?
user1596138
An IE only bug
user1596138
15:24
I don't HAVE to have sourcemaps. I'm going to tho lol
user1596138
Figured it out.
user1596138
7
A: How to debug why MS Edge/IE11 does not load sourcemap

SampsonMicrosoft Edge expects a single sourcemap comment, located at the end of the file. Your file contains two comments, which appears to cause the issue. Remove all but the final comment, and this should resolve the issue for you. I will file a ticket to track this issue, but it's unlikely we will m...

15:45
@Feeds Lol this makes me feel better about my life.
Are props guaranteed in componentDidMount or do you need one of the other lifecycle methods for that?
16:00
Hi, I have a button div (which contains two buttons), that has an id of "addRemove_factor_1_1". The two buttons have ids like "add_characteristic_factor_1_1" and "remove_characteristic_factor_1_1". I have the object of the group (the addRemove_factor_1_1), I am trying to get to the add button by doing this which does not seem to work: btnDiv.find("button[id^='add_characteristic_factor']");. Would appreciate your help, thanks!
@isquared-KeepitReal 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.
user1596138
@DavidKamer didMount is after the first render. You can count on the dom nodes existing too.
How did you select btnDiv?
@KevinB var btnDiv = $('#addRemove_factor_1_1'); So the selection is good.
I think you are misusing id's
Why don't you select the button using the same logic?
16:03
@LuckyKleinschmidt Thanks. I figured as much because I was getting the props everytime... I started React right when componentWillReceiveProps and other lifecycle methods were being deprecated, so I have just a fuzzy enough memory to doubt that componentDidMount is the right place to read props in besides render lol.
You didn't need the btn div, you already know which _id_id the button is
@KevinB I need to navigate into the buttons through this higher level btnDiv, because it will hold multiple pairs of Add/Remove buttons
use classes
@KevinB silly question, but how?
class="someclassname"
then you can select them using .someclassname, just like in css.
16:05
@KevinB good point.. :) Thanks
16:25
How can I find an object in array of objects based on on of its properties value and change another? it can be lodash
i mean
i'm sure there's a lodash method for that
it's probably called find
docs
user1596138
@DavidKamer Yea man the whole "no more will" is going to hurt to fix on my end
user1596138
We've been on React since 0.13 so lots of that exists
Isn't leather thermally insulating?
That said, this is a good design
user1596138
@ShrekOverflow YEa but you usually aren't using the chassis to ditch thermals on a laptop
user1596138
16:34
Also didn't you hear the ad?
I don't care about the ad xD
user1596138
:35
but i did hear the core M that explained everything
youtube broke on opera again -_-
user1596138
> Creating a surface that's warm
16:34
so its a feature not a bug
user1596138
It probably doesn't even come with hardware that makes much heat lol
i wonder if they mean warm metaphorically
user1596138
Damn i5 and i7..
WHOA
i5 and i7 yikes
user1596138
@ShrekOverflow Yea they mean aesthetically
16:35
that'll be a thermal throttle
user1596138
I liquid metaled my laptop last week lmfao
you are brave individual
user1596138
I wanted an excuse to buy my 2700x 1080 TI PC
user1596138
It worked great tho. I hit power limits where I used to his thermal limits
@LuckyKleinschmidt nice!
My laptops almost always thermal throttle unless I am in front of the air-conditioner
user1596138
16:38
I played FarCry 3 for 3 straight hours last night on ultra and never cracked 75C
user1596138
Whereas it thermal throttled at 85 which I used to ride pretty much constantly.
user1596138
It's actually boost clocking the GPU now haha
user1596138
chat.stackoverflow.com/transcript/message/44099749#44099749 @ShrekOverflow look how beautiful the factory paste was..
user1596138
#dry
@LuckyKleinschmidt oh i changed the paste on my desktop a week ago
the thermals went from ~60-70ish to straight ~44
now I can overclock again
user1596138
16:41
I should've done this forever ago but seeing as it's a crammed Rog laptop I didn't want to risk it until it was impossible to keep using
user8729657
Does anyone know of a software or way, instead of me having to manually change a clients layout of their webpage from having their content displayed in a grid, it can be displayed in a list or in columns. Should I write the code for it or is there software that does this?
16:57
huh?
@OvieAdese Write it, can't be more than a couple classes
Look into flexbox
stackoverflow.com/a/52632072/871050 Am I going crazy or missing anything?
Or is the code in the answer and the code in the question 100% equivalent?
looks like it
17:04
absolutely equivalent
> So to fetch data from one dimensional array you need to surround your variable by ()
eh
also, 'two dimensional array' is an array of arrays in JS and works the exact same in both cases.
also, why do people force bracket notation where it isn't required?
a.b.c['d'].e
like.. why?
@rlemon Because that's what they know from PHP
What do you think?
because they copied most of the code from elsewhere
is my goto assumption
They still have the notion that there's a difference between an object, and an associative array.
@rlemon Also that
the only wtf at the moment is why OP says his answer changed the output
I'm guessing it was never broke to begin with
17:10
@rlemon My guess as well
He didn't save the file or whatever
@LuckyKleinschmidt That sounds super painful. Was any of that stuff really necessary to begin with or has componentDidMount changed that much from what it was then?
anyone know where I can buy aglets, but not in bulk?
I don't need 100 of them
just like, idk, 4
(not for shoes)
not bad
but I can get 50 for $5
so not great
guess I'll have extra
hate the shitty plastic aglets on sweater strings
they always fall off
I used to melt all mine
17:25
don't wanna melt a $100 sweater :D
I'll just buy the bulk. it isn't pricey
just seems wasteful
18:12
Make yourself an aglet bracelet.
Did anyone else in the US get that alert just now?
what alert
huh, weird... It was a "test of the emergency wireless system"
Or something like "Test of the presidential emergency wireless system"
huh, the more you know :D
@LuckyKleinschmidt there is a way, if anyone knows it's Oliver - he's the IE expect - probably reach out to him
@Rick That's in really poor taste.
18:28
@Rick wow that's pretty bad to say
good point removed
Yeah. They announced it a while ago @DavidKamer.
I just read something about it this morning
Trump has my cell number. Send help.
but to be honest (even though this isn't the place to discuss it) I think there was a nhic study on it @Rick
@Allenph Lol, he's just checking up on you, not sliding into your dm's
Have any of you used Parrot OS (Security version) before?
18:31
is it better than kali
@Rick I've only ran it on a VM so far, but it has a much better UI that feels and looks like mac but better.
It's got an anon browsing feature I haven't tried yet and a few ide's including atom are preinstalled. I'm pretty sure I'm replacing my custom ubuntu build that runs off of a flash drive with this...
These boxes I am assuming are really just used for penetration testing.
@Rick you mean my vm?
ya but more generally the OS
@Rick The security version I think is.The thing is they have multiple versions including a "home" version. The home version is just the security version with less tooling I think. You could easily install all the same stuff using the repos onto the home version...
18:37
@DavidKamer are you saying that the gui is so good that you're just getting it for that.
@Rick partly. I'm doing some wifi surveillance when I move to make sure no one in my neighborhood thinks their L33t h@ck3r dud3s and can bother me... So I might just use if for that until I hear about other people using it day to day...
I just really like the UI and how well designed the whole OS is... It helps it's debian based.
debian is cool. what do you use as a vm docker?
@Rick I use virt-manager. I think I can use it to directly install an OS onto a flashdrive and boot from that OS...
I would never use that for something in the cloud tho
@Rick Do you live in the US?
ya, virt-manager is cool.
ya
why
I just learned that this is a thing
apparently if you order anything in one of the "five eyes" countries they can implant stuff in your device before it arrives
18:46
For our security of course
ya i figured as much
that's what they do.
user1596138
@DavidKamer No changes. They are just trying to make it more fool-proof, the will methods are easily abused/misused
@KevinB oh yeah, because malware isn't malware if it comes from someone who you don't know but can legally do it.
you learn to live with it. the smarter among us know they already have cameras up our butts
user1596138
@BenjaminGruenbaum I just figured it out logically instead lol
user1596138
18:48
There will come another day soon where I need to do it again tho :(
user1596138
Usually I can get Edge to reproduce the same bugs as IE and then it's easy to debug
user1596138
@DavidKamer I get real emergency alerts all the time via the same system...
user1596138
It's always "Amber alert: Grey car with a human in it"
user1596138
Like yeah sure I can totally keep an eye out...
@Rick oh I'm sure that they even have satellites that can peep on your wifi using a powerful antenna, but actually tampering with devices and forcing malware onto people's pc's just so that the Russians can use it later via "Shadow Brokers" is crossing a line in the civilian court system imo. We're not under the UCMJ so the NSA doing stuff to interstate goods is a violation of our state constitution unless they somehow got the state to sign a public bill that agreed to it.
user1596138
This is fucking awesome haha
user1596138
i.sstatic.net/Fa644.jpg Best mousepad ever
@LuckyKleinschmidt I get this too.. I bet there are people who go on a hunt for it when they see it lol.
user1596138
@DavidKamer I mean I used to spend 80 hours in a vehicle per month. I always look. But not when there's basically no description like every one this year
Which is why I am surprised they criticize the chines for doing it. I guess there is a difference between pretending not to be doing it and openly stating it. However, it doesn't bother me.
18:53
@LuckyKleinschmidt I mean even if you do see the car described chances are it will only be in passing. I think it's really meant for people they might directly interact with like cashiers and gas station attendants. Doesn't hurt to keep an eye out though.
@DavidKamer What makes you think they're installing this software for russians to use?
user1596138
@DavidKamer If you see it in passsing you fucking call 911.
user1596138
Thats exactly what it's for
if you mean, by doing so russians can, that's an entirely different scenario and them adding this doesn't make ti any more likely to happen.
@Rick I don't mind if they passively look at my activity ( I mean I think this is a debatable issue ), but I care if they actively harm my devices through malware or physically...
18:54
:tinfoilhat:
user1596138
user1596138
Pink Floyd TriForce is this not insane
user1596138
Dark Side of Hyrule
They are the government. They are exempt from most legal recourse.
user1596138
Link Floyd
18:56
Fortunately we elected the people who put them there
and set the rules they follow
@KevinB I'm saying that we have proof that tools and backdoors they forced to exist later were sold to the russians. We don't know enough to say if they were or weren't stolen even though the NSA claims their were tools that were stolen. My point is that if they force backdoors by demanding them from MicroSoft, Google, or even the Linux Foundation, then they are actively creating a threat to the business regardless of their right to surveil.
well they set the rules so they don't have to follow them. lol
What proof?
some video someone took of some factory that may or may not actually be the factory the video claims it to be?
@KevinB ... They actively do this... I don't think it's debatable that it has been done... There is plenty of proof out there. You can go and look for it if you want, but as far as showing you proof on this, I think it's basically the same level of argument as trying to prove the Earth is round...
@KevinB the government spies on every American. It's a fact. They monitor all internet traffic.
18:59
the point still remains, there's no proof bsides conspiracy theories from people who commonly make up fake conspiracy theories.
I'm just saying that if I go to a federal building and slip and fall, the government is liable just like anyone else if it was their fault. They should be liable to when they break shit I own.

« first day (2909 days earlier)      last day (2261 days later) »