« first day (2315 days earlier)      last day (2648 days later) » 

1:01 PM
it will take a while when it becomes a viable "opponent" for the current major browsers
or am I wrong ? Didn't have been following it for a while. * peeks at @Meredith whom promised to update me *
 
what do you mean by "viable opponent"?
when it reaches 20% marketshare?
it is a feature-complete browser, so I am not sure what you mean by "viable opponent"
 
in "game" term, that it's not in beta phase
 
..
 
@KarelG, but I assume you have to state defer or similar? If you don't, then it is synchronous by "default"
 
Brave looks like a nice browser that might just make it brave.com
 
1:09 PM
@MyDaftQuestions yes, or use async. Check the mdn doc
 
Thanks @KarelG
 
github.com/tj/mmake cc@FlorianMargaine @Zirak interesting maybe is it? (\/) (°,,,°) (\/)
 
@KarelG it has not been beta since 1.0 release (about a year ago)
 
I didn't have been following it :P
 
so ... let me repeat, how is it not a "viable opponent"?
 
1:12 PM
it's not anymore :P
you convinced me
 
1:51 PM
what is the point of $dirty in angualrs form management?
 
people are still using angular?
 
@corvid Yes, we are
@tereško It tells you if a form input model value has been changed
 
so, it's something that is being managed automatically
 
@tereško Usually, yes
But you can .setDirty() on the NgModelController to do it manually
Because sometimes you just gotta ;P
 
2:09 PM
anyone here writes typescript?
export interface Field {
    size:
    'col-md-1' |
    'col-md-2' |
    'col-md-3' |
    'col-md-4' |
    'col-md-5' |
    'col-md-6' |
    'col-md-7' |
    'col-md-8' |
    'col-md-9' |
    'col-md-10' |
    'col-md-11' |
    'col-md-12';
    type:
    'text' |
    'select' |
    'check';
}
should I just make it one line or is this like ok
 
Jesus christ, is anyone else's Spotify absolutely slow as balls on Android?
 
@jacobian We are not subject to the great firewall, but the intended customers of our clients might.
 
what will happen if, when using angualr, I have multiple forms with the same name attribute
I mean, what will happen to $scope.form_name ?
will the entire thing just spaz out and die?
 
I thought angular didn't go off of name, should each input have it's own model?
 
2:27 PM
Some regex master is stealing my lime light ;c
I just learned regex and wanted to answer some questions, but this guy comes and answers them faster than me
Me heading home, bye guys
 
even then just answer. some people just post regex with not much explanation. if you do more effort, you still "win" at the end
 
I'm using Angular2 Universal as a starter for my project. When I setup the starter and run the app, does anyone know when the chunk is getting loaded even though it's suppose to lazy load the chunk when you navigate to the lazy page?
 
0
Q: How i can fix this error, when importing my database?

Herbert89CREATE TABLE `oc_appconfig` ( `appid` VARCHAR( 32 ) DEFAULT '' NOT NULL , `configkey` VARCHAR( 64 ) DEFAULT '' NOT NULL , `configvalue` CLOB DEFAULT NULL , PRIMARY KEY ( `appid` , `configkey` ) ); 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL se...

the error was not meaningful ...
keh
0
Q: Remove malicious code from .js files

NicI'm hoping someone can help me with this issue. I have found some malicious code in nearly all the .js files across all sites on my account. The code is; var _0xed92=["\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x67\x6F\x2E\x61\x64\x32\x75\x70\x2E\x...

 
3:12 PM
@Zirak Nice, thanks! Saw it on Twitter earlier today as well. This person tweets basically everything interesting that's infosec-related
(Most of it probably comes from /r/netsec, but she's like a giant aggregator)
@rlemon Sounds like quite a guy! O_O Thread looks like one that's trying to suck me back into Reddit :D
 
do it
 
@Zirak Speaking of which
@rlemon Heh. I closed it already. Got some textbooks that won't read themselves!
 
maybe they will if you leave t hem alone
sounds like a good experiment
 
Hehe, worth a shot, I guess
Did you guys see this? Absolutely badass vusec.net/projects/anc
 
SKG
Hell All. A quick question. Why does 1&& 2 returns 2. Why not true?
 
3:16 PM
@SKG 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.
 
@SKG the right hand statement is eval'd and returned
( truthy ) && ( 2 )
is what you're running
 
Because 2 is truthy. JavaScript doesn't cast (/ convert) types it doesn't need to
 
SKG
"JavaScript doesn't cast (/ convert) types it doesn't need to". Thanks for this. I will study it further. God bless.
 
@SKG More references to read:
https://developer.mozilla.org/en/docs/Glossary/Truthy
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness
 
SKG
thanks:)
 
3:22 PM
liveleak.com/view?i=e27_1327440153&t=1 hahaha this takes the cake
 
I am pretty insufferably bad at CSS for a front end dev...
 
@rlemon fucking hell
 
it makes perfect sense
flawless TV plot
 
I think the worst part was "added a zero"
 
why wouldn't the bios settings be stored as strings?
also makes complete sense
 
3:27 PM
> unfortunately, not all effected sites have backups
Oh my
Multiple sites
Reading stuff like that makes me feel like such an IT expert
 
Figured it out!
 
@rlemon that vid doesn't run at me D:
 
I'd hope not
that would be some Ring type shit
 
user2620028
@jhawins thoughts on remote start / keyless entry kind of a system for an old car? I have to go through and redo my power locks and ignition wiring anyways. Was thinking it would be a good opportunity to modernize it.
 
keh... strangely it doesn't work at firefox, edge and chrome that i'm using atm
 
3:36 PM
@SterlingArcher nodejs satellites reaktor.com/expertise/space
 
MS should check their routings ... https://outlook.live.com/owa/ leads to "insecure connection" while https://outlook.live.com/owa/?authRedirect=true is ... fine
 
user2620028
@rlemon i enjoyed that tv show
 
user2620028
just have to remember that you are watching a tv show and not everything has to be real
 
Has anybody tried using setIdentityProvider
with RTC ?
 
user2620028
just like when you watch jersey shore, you have to remember it is fiction. cause none of those kids would ever have sex in real life.
 
3:44 PM
@HatterisMad they would all have tons of sex
because they don't care who they have sex with.
 
user2620028
@Loktar they are too busy talking about how much sex they have to actually be having it :P
 
and find people like minded
 
I bet they have more sex than most in this chat room
just being honest
and that's not a good thing
 
keh
 
user2620028
jesus christ guys i was kidding
 
3:45 PM
idk man. does single-player count?
 
@rlemon depends do you have an STD?
If so it counts
 
is Ugly an STD?
 
still applying Jersey Shore rules here
 
that must mean that you're a damn "sharp shooter" if you have that many kids while having less sex than they have
 
@KarelG LOL well I mean diff partners, ect.
I was just joking anyway
 
3:46 PM
me too ;)
 
idk anyones sex life here
maybe we have some jersey shore wannabes who bang every night!
 
cept Sterlings
we all know Sterlings
 
jersey shore wannabes ?
 
anyone here know how to make an item in a flex layout not distort its aspect ratio?
 
@KarelG like pokemon trainers, but looking for dem STDs
 
user2620028
3:49 PM
i liked how the girl everyone hated from Jersey Shore was supposed to have a baby on the day the mayan calendar cut off.
 
LOL
 
she was the one you loved to hate
every show (should) has one
 
user2620028
i just remember south park making fun of her
 
Knu
Anyone used webpack before?
 
Is there the equivalent of moment.js, but for displaying measurements?
 
3:53 PM
I just spent 15 minutes searching for a toilet plunger. How's your day going?
 
At work or home?
 
user2620028
did it fix itself by then?
 
@jake Measurements of time? Yes, momentjs
 
Knu
he's talking about length, obviously
 
@KendallFrey did your mom clog the wc again?
 
3:55 PM
nope
 
@Knu length of what?
 
@corvid Gotta keep those tiles 1:1 eh?
 
Knu
matter
 
@Knu Length is overrated
 
"Water closet"
 
3:56 PM
@Loktar whoa there
 
@jake both, technically
 
note taken: when kendall visits make sure there is a plunger in every bathroom
 
haha
 
@Knu The real length or the american one?
 
you're the one with the peanut butter analogy
 
3:57 PM
rlemon, don't forget to have an additional one extra plunger
 
@GNi33 planck length
 
Knu
@GNi33 I don't care. I need a webpack guru.
 
@KendallFrey it's not an analogy, it's life
:D
 
ewww
 
@rlemon go away with your physics
 
3:58 PM
@Knu The people with 5+ years of Webpack experience are in the PHP room
 
Knu
@OliverSalzburg right :)
 
lol @OliverSalzburg
 
not sure if you have experienced that, fixing a bug based on a bug record that is a NPE issue. Fixed that by adding a NPE check condition ( if(variable != null ) {...} ), deployed, got compilation issue. Something like "the variable <var name> is null".
i just stood there for few minutes, figuring out what has happened
 
4:13 PM
@KendallFrey man that would be cool
 
4:23 PM
@rlemon lol the cup throw at the end
 
4:35 PM
@rlemon Bug spray
 
Hello people.
 
Could anyone please explain what this refers to in JS? What is the lexical this?
 
26
Q: What does "this" mean?

JCmIn jquery, what does this means and when it is used?

 
What is this link?
I'll take a look, thank you :D
 
1 message moved to Trash can
@ShellZero Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
4:47 PM
this is nice
 
@John 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.
 
Hello everyone :D
 
'lo
 
I have a rather simple question regarding the preventDefault().
The following is my code:
onKeyDown(e: KeyboardEvent) {
        if (e.keyCode === 13 || e.keyCode === 32) {
            e.preventDefault();
            this.onClick();
        }
    }
In this, if I remove e.preventDefault(), the enter key doesn't work on IE11 and Firefox!
It works in Chrome though!
But when I add the preventDefault(), it works on IE11 and Firefox.
I am trying to understand what exact default behavior preventDefault() is trying to suppress in IE 11 and Firefox but not in Chrome!
 
KeyboardEvent.keyCode is deprecated fyi
event.which
 
4:55 PM
TIL ^
 
I'm building a Node service that will be on a separate server cluster.
Should I use my REST API as an abstraction layer for MySQL, or should I query directly from the Node app?
 
Monolith vs micro services
That's the question everyone is asking
 
@rlemon But even when I use the e.which, its the same situation on both IE11 and Firefox!
 
@ndugger Are you answering my question?
 
@ShellZero I wasn't solving your problem. I was giving you an FYI
 
4:57 PM
TIL +2
 
Sure.
 
In Angular2, I know you can lazyload modules. Does someone know a way to lazy load components? For example, for a tab component, I want to lazy load a view when a tab has been clicked.
 
@rlemon lol that pinball one
 
@rlemon Are you trying to give me an aneurysm?
 
5:13 PM
!!mdns or webbluetooth?
 
@Abhishrek webbluetooth
 
!!wifidirect or webrtc
 
@Abhishrek wifidirect
 
Fuck you cap!
 
Does anyone know of a good duplicate target for stackoverflow.com/questions/42280442/… ? I kind of had to settle.
One that recommends putting the <script> before </body>.
 
5:15 PM
@Luggage I didn't get sick @rlemon I'm alive
 
@Ryan script before body? Like header?
 
@SterlingArcher … what?
 
> One that recommends putting the <script> before </body>.
I don't think anybody recommends putting a script before the body
 
</body>. The end tag of <body>.
 
oh sorry, completely missed the slash
 
5:16 PM
I always put my script tags before the doctype declaration
 
You can have the best of both worlds by defining a &script; entity and putting <script><![PCDATA[&script;]]></script> before the </body>.
@SterlingArcher That one recommends using async, which is bad advice
 
what is this voodoo witchery
 
results in FOUC. I downvoted it already.
 
5:19 PM
(FOUC is a great acronym because you can pretend the U means un-anything. Here, it’s “un-script-modified”)
 
I think your close is appropriate, especially since they didn't write the code. Maybe a better close is "why isn't this close running" but yeah
nitpicking, no biggie
 
thank you all the same, @SterlingArcher =)
 
Sure thing, sorry I wasn't any help at all xD
That's sort of my thing
 
Although… hmm. I wonder if <script defer> exhibits the same behaviour
 
@BenjaminGruenbaum watching your meetup video now! I'm going to a react meetup next month :)
 
5:21 PM
It’s possible that a deferred script that checks the ready state for backwards-compatibility is optimal
 
I'll be honest @Ryan I have no idea what that means
 
@SterlingArcher developer.mozilla.org/en-US/docs/Web/HTML/Element/script script tags have a "defer" attribute
 
one <script /> at the end of body. Anything else is uncivilized.
 
Really, you only need one script tag ever these days
 
Right.
That was part of my prescription.
 
5:36 PM
Gotta take my pizza out of the oven
 
You may proceed.
 
thanks, bae
I'm so far gone that I'm eating breakfast pizza with a fork while watching second life trolling videos on youtube
 
@SterlingArcher I’ve always done what @Luggage mentioned, but I was just remarking on how I’d never compared its performance to defer
 
I'd like to see those benchmarks
OH MY GOD SOMEBODY TOOK MY BACKUP TRASHCAN
2
WHO DOES THIS
 
(defer seemed like a bad idea because it has completely different behaviour with and without support, but you can work around that by doing what jQuery.fn.ready does)
On the other hand… it still defers execution
 
5:45 PM
if you need to work around it, it's not worth it.
 
Wait, what am I even going on about
just HTTP/2 push it. <script /></body> FTW
 
Yay, my bar stools are ready to be picked up. No mroe shitty $30 ones from target
 
Don't you dare bad mouth target
 
I love target
 
you would love target you almost-hockey-puck
 
5:52 PM
Target and Minnesota are basically the same thing
 
2
Q: how to access the elements of the HTML loaded in object tag?

Kiran ReddyEg: Fetching text input value using jQuery $('#username').val(); I had tried this from this question Here is my code <div id="siteloader"></div> $(window).load(function(){ $("#siteloader").html('<object data="http://testk.shopnix.org/admin" />'); setTimeout(function() { console....

 
> I feel like this is an actual physical representation of a Totinos pizza roll
lmao
@ndugger oh my god. first comment that's too brutal
 
I hate when I've been danking on the toilet for too long and my legs go numb
 
@SterlingArcher You have no idea how much I wanted him to fall and crush her
 
6:00 PM
You're a horrible person and I love you
thank god
 
LOL
 
6:13 PM
ok , how can I use some value from AngularJS UI-router's pattern in a template?
or read it in a controller
 
6:28 PM
@tereško When in doubt, abstract to a config module
 
naah, I found those variables in the magic $state object, which I already needed for something different, in the controller
so it's all fine
 
👍
@KendallFrey Lesson #514: Get a plunger before you need a plunger.
 
It wasn't planned, geez
 
it's never planned
 
how does one simply get a boolean value to find out if an element exists in webdriverio?
 
6:33 PM
if you're always prepared, it is always planned
 
picks up plunger and looks at it critically. "Nope. This won't be enough."
 
@rlemon the plans for this particular episode did not include a plunger
 
you clogged the toilet with urine?
 
no
that would be a hell of an accomplishment though
 
bathroom checklist: tp, smartphone, plunger
 
6:35 PM
@rlemon + single roll of "emergency tp"
or one of those "mini packs"
 
before yesterday I didn't even know vim had auto completion without plugins 0.o
 
@tereško isn't angular fun :D
 
ctrl+n
 
Are you using $stateProvider or.. $routeProvider? Not sure if it's route provider
 

« first day (2315 days earlier)      last day (2648 days later) »