« first day (2082 days earlier)      last day (2870 days later) » 

12:00 PM
ofc, the modern mobo's offers that, but ...
 
@Paran0a get a Dell
 
sorry i am not having too much touch with jsfiddle creation.
can i provide my code here?
 
and we have not much touch in solving a problem we don´t know
 
please
help me
 
pretty please?
 
12:01 PM
do it here
 
@dnvsp don't pass setTimeout a string
pass it a function
not sure what your issue is, but that is code smell
 
@FilipDupanović you are right but I want to create a complete web application using these technologies So I thought a book would help out rather than learning out individually
 
@SterlingArcher I shaved this morning for the kicks, moustache tan is real.
:/
 
@rlemon SterlingArcher is afk: somebody find ja rule!
 
can u explain how to do to pass setTimeOut as a function
 
12:03 PM
@Abhishrek Civ5 complete edition at -92% :P steam store link That's a hell of price reduction
 
@VinodBDhupad there are courses on egghead.io/courses and something more topical and focused on nodeschool.io/#workshoppers
 
i am very new to javascript and jquery
 
@KarelG I have Civ5 CE
stop burning me I bought it at full price
 
I bought it at half price
:/
 
@KarelG Civ6 is going to kill the franchise
and make it a disney movie, what do you expect?
 
12:04 PM
due of its cartoonish appearance ?
 
EUROPA UNIVERSALIS FTW
 
@KarelG the entire asthetic
 
not sure, i didn't have been following it much
 
The game seems utterly boring
 
there is a new concept: expanding cities, that uses multiple tiles
 
12:05 PM
I fear I will go back to Counter Strike
 
Whats that new game placed in space that is created by the creators of EUR UNIVERSALIS i think
 
so you can construct specialized cities
 
@FilipDupanović that great help from you thanks
 
@KarelG ... and now cultural victory will be even more OP
 
@KarelG you could already do that
 
12:06 PM
that's true
 
also the new social policy system makes me feel like am playing card game
 
@VeronicaDeane on one tile ...
it's less flexible if you ask me
 
so far Roosevelt looks like Potato
 
which is?
 
Stellaris ! Thats it
 
12:06 PM
and Cleopatra looks straight out of Frozen
 
are they renewing the diplomatic system ?
 
@VinodBDhupad mind you, you've probably read by now that you should be using Express.js; that's fine, but just so you know, it's been superseded by koa.js
 
it's good ... even with that Gandhi bug
why change it :|
 
Gandhi isn't a bug
 
12:07 PM
nobody played Civ: Beyond Earth :(
 
it's an easter egg
 
well I hope they get a Donald Trump mod
he with the cartoonish style would look perfect!
 
@FilipDupanović I did, wasn't that impressed
 
@FilipDupanović I am newbie nodejs and mongodb
 
In other news we are hiring auth0.com/jobs [work with the guy who wrote Passport.js]
 
12:10 PM
Why pickup MEAN stack, then?
 
civ is too complicated for me (means too much time required to get into the game)
and that round based approach isn´t my favorite game style
 
@Abhishrek hey, that's nice! I use jwt.io
 
@littlepootis very valid POINT
@FilipDupanović o/
 
wtf is it with people doing new RegExp(user input)?
 
@VeronicaDeane how is having this 0 - 1 = 255 not a bug ?
 
12:11 PM
oh I use jwt too o/ unite
 
@KarelG If it's intended
It used to be a bug
now it's a homage to a bug
 
ah. TIL
 
user2620028
@abhishrek last time i clicked that link i looked at the page and didnt apply, I got an email a month later informing me that they were not going to hire me. O.o
 
O_O wat
 
lol wut o.O?
 
12:13 PM
show me the mail?
 
SPOOKY
 
user2620028
Yeah i think i may have had to give them a spam email to look at the job description or something
 
did you accidently apply using Stackoverflow?
 
user2620028
don't think so
 
how do you accidentally apply to a job
 
12:14 PM
O_O
 
user2620028
i didnt apply! lol
 
@littlepootis goto jobs.stackoverflow -> keep posting the same resume for everyone
 
I accidentally applied for a job and now I work at google
 
@Paran0a WAT ! GOD DAMN!
 
I slipped and fell and landed in this job.
 
12:16 PM
Yesterday I accidentally bought new pants and now I have 2 kids , a exwife and a job at NASA
 
user2620028
@abhishrek
Hi Aaron,

Thank you for your application to Auth0. After reviewing your profile, we've made the decision to not move forward at this time. I hope you don't mind if we reach out to you in the future when a position opens up that may be a good fit.

We appreciate your interest in Auth0 and wish you success in your job search.

Best,
Auth0
 
Nice hair
 
user2620028
I replied to their email with " I never applied to auth0 :( "
 
I think you got fired
 
12:17 PM
@littlepootis do you PootTk much or something else?
 
heh, that's golden
 
user3119231
@littlepootis 10/10 would give you the job
 
> Microsoft last month paid a California travel agent $10,000 after she won a judgment in small claims court by successfully arguing that an unauthorized upgrade to Windows 10 crippled her work PC.
 
Do you even reddit
 
12:22 PM
win7 was truly master race of OS
 
@KarelG obviously, someone got very pissed on that morning they turned the machine on and waited 2 hours for an upgrade
 
the same nearly happend to my pc on work... one min inattentive -> windows 10 is live
 
@FilipDupanović it's not that problem. The PC was not in steady state anymore after the upgrade. ( src )
 
to be fair, I think it warns you that there's a scheduled shutdown for an upgrade, you just didn't happen to be around to cancel it @elsololobo :P
 
@FilipDupanovic yeah that could be true ^^
 
user2620028
12:28 PM
@Paran0a No
 
@KarelG that's not great news; 2016, the system tools are great, but obviously we're still not there yet
 
12:42 PM
hi Filip
 
Hi
cordova.plugins.notification.local.schedule method only works inside deviceready event listener but not in the controller. Is this a known behaviour?
 
@AvinashRaj It works any time after device ready.
Just, not before that.
 
I want to schedule a local notif only when a particular condition is met..
ie, if there is no db update for today then send a local push notification else don't send.
 
Morning. I have a MVC.NET site. Within it, I've added a standard HTML page (.html). I'm trying to call an AJAX function but get told off for cross domain... How is this cross domain? I'm using relative paths in the URL :s
 
hey @Victor o/
 
12:49 PM
sup?
 
the usual, stuck on naming things
 
Try army code words
like operation haddock
Grey tardis
:)
 
@FilipDupanović I broke a nail, like half of it
 
@Dave I might settle for new EvilWing().wimpyWizard()
@Victor ouch, you have to keep the nail matrix protected
 
12:58 PM
yup.
 
which finger?
 
why we can do this,

var a = 1,
      b = 2,
      c = a + b;


but we can't this in module pattern,

var example = example || {};
example.UI  = {
      a : 1,
      b : 2,
      c : a + b
};
why do we must have to use "this" within example.UI to get sibling properties
 
@FilipDupanović, I'd settle for Current.User.Electrocute() :S
 
@Mathematics Use a getter
 
If I return a PartialView from asp.net mvc for an XHR request. The request accepts it as pure html..
but if I wrap the partialview result inside a JSON object, the XHR request fails. I'm assuming because the PartialViewResult doesnt get rendered properly into HTML.

Anyone know a good way to handle this?
 
1:01 PM
@BenFortune getter ?
 
Is this RenderPartial or Partial
 
@Dave this is PartialView() from a controller
PartialView() returns a PartialViewResult object
 
If not then I miss understood the question :)
 
@BenFortune thanks - its a very good idea, but it won't going to work with IE8
 
1:03 PM
Why new Date(0).getHours() is 21 while new Date(0) is 1970-01-01T00:00:00.000Z?
 
@Dave no. That is rendering the PartialView inside HTML with razor.
I am trying to basically convert the PartialView into an HTML string.. I have found various SO posts on that, I was curious if anyone had any more up-to-date cleaner ways to handle this
 
Is it because of timezones?
 
user2620028
timezones don't account for a 40 some year gap
 
@Waterscroll Not sure how you're getting 21
 
Mornin
 
user2620028
1:06 PM
morning sterling
 
Mine shows 21
 
user2620028
yeah mine shows 18
 
Browser?
 
1:08 PM
@Loktar neato! Looks a bit small for a longbow, but it's not a recurve -- what's the draw weight on that bad boy?
 
hey yo jesse
 
user2620028
Chrome Version 51.0.2704.103 m
 
@HatterisMad what does new Date(0) show?
 
Firefox 47.0
 
@Bart 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.
 
user2620028
1:09 PM
@Bart 1969
 
user2620028
Wed Dec 31 1969 18:00:00 GMT-0600 (Central Standard Time)
 
So it's timezone dependent
 
<div class="a">
   <h1>hi</h1>
   <p>Hoi</p>
</div>


.a:first-child{
   color:red;
}
hey why the hell is the p tag red, but the h1 not?
 
Mine shows 1, I'm in GMT+1
 
:first-child should go to h1, isnt it?
 
user2620028
1:11 PM
Indeed, but i would almost say that is the expected behavior for that function
 
I had some code like this new Date(new Date() - new Date(input)).getHours() I think I should change getHours to getUTCHours()
Was trying to do the "hours ago" thing.
 
@PomeGranate .a:first-child selects class .a that is a first child. It does not select it's children
 
user2620028
but getHours seems to be doing something weird
 
@PomeGranate put a space between .a and :first-child
 
@Paran0a omg really?
 
1:13 PM
I guess it is subtracting from 0, but instead of showing minus something it is showing the hours of the previous day.
 
ok thx Bart, why the hell I've never used that? I'm a web developer since 20 years oO
 
@PomeGranate here have a look jsfiddle.net/0fxz0q7t
 
user2620028
yeah that would make sense
 
I guess the most correct statement looks like: .a > *:first-child {
 
yes, sorta, depending on what you want
 
1:16 PM
@Paran0a jsfiddle.net/0fxz0q7t/2 how can I prevent that the second hoi2 is also red?
 
where would one in general put in a feature request on an existing git project? Should i add it as an issue our try to directly contact the developers?
 
@jAndy let me try that
 
Andys solution will work
 
@rlemon @Loktar @GNi33 @BenFortune y'all gonna love this shit
Its badass
 
1:17 PM
@elsololobo some have a guide on contributing, otherwise you might figure out by looking at open and past issues in the issue tracker
 
@Paran0a ok thx :)  @jAndy s solution did it.

.b > *:first-child{
   color:red;
}
 
Damn it, forgot my headphones
 
@FilipDupanovic okay, thanks :)
 
what does > mean in css ?
and * ?
 
* = all elements
 
1:18 PM
@PomeGranate 20 years web development and you don't know?
 
> means direct children of that element, * is the universal selector
 
direct children*
not just any child.
 
technically both can be omitted, but it's just a good style to be explicit
most of the time
 
@BenFortune sad but true.
 
direct yeah
I believe i also would never write such selectors
 
1:20 PM
Yeah and lemon is correct, omitting the arrow would also work here, but it would also select any children in the tree (if anything matches)
 
thx guys
 
You can check the difference with and without arrow jsfiddle.net/0fxz0q7t/3 Be careful how you use it
 
@Paran0a no css hacks? they're so much fun!
 
.a >:first-child without * would also work?
 
omitting the * is just the same. It will also query over all possible elements.
 
1:23 PM
It depends as to what you're trying to do, but selectors those are awful ( IMHO )
 
TIL Firefox can still fire Javascript events while another thread is paused in the debugger
 
hello guys how to get the value fhfmfmx from this url
localhost:55209/Default.aspx?fhfmfmxPreview=true
 
wow
 
none should be used in production, all are awesome :D
 
@Kob_24 Uh using what?
 
1:25 PM
@Victor dunno, you shouldn't be using anything harsh to clean the wound and you shouldn't let the unprotected bed go dry or it might build up more scars on the matrix; you need to keep it clean, reduce swelling by applying ice and flex your fingers regularly to increase the blood flow for reps; if the swelling doesn't wear down, you get throbbing pain and think you might be developing a fever, you should go get yourself checked for a possible infection
 
if it's node or express then you can use the query string and slice the keys
 
@corvid i use this console.log(window.location.href.lastIndexOf('?feflPreview=')) to get the index
but i want the value instead
 
!!> "localhost:55209/Default.aspx?fhfmfmxPreview=true".substr(29,7)
done and done
 
@rlemon "fhfmfmx"
 
Alison Brie good taste
 
1:25 PM
lol lemon
 
function getParameterByName(name, url) {
    if (!url) url = window.location.href;
    name = name.replace(/[\[\]]/g, "\\$&");
    var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
        results = regex.exec(url);
    if (!results) return null;
    if (!results[2]) return '';
    return decodeURIComponent(results[2].replace(/\+/g, " "));
}
 
that will earn him a D
 
waw! so fast!
thx i will check it
 
Heres "my" "hacks" for tooltips codepen.io/Paran0a/pen/aZOpJx
 
I would get academic dishonesty for copying and pasting from a stack overflow question :\
 
1:27 PM
@Kob_24 if that is some kind of homework.. don't use that.
 
hehe no its not!
 
;) hehe
 
@jAndy Not even D
 
if you have direct access to the domain, use the location object to get the hash values/parameters and slice them from there
 
user2620028
@Paran0a Thought for sure that name would be a pornstar
 
1:29 PM
I wonder how well adopted JSON Schema is.
 
@HatterisMad I wish!
 
we do have some clips
softcore
 
@rlemon didju listen?!
@Paran0a um lol
 
real girls , bad girls , something like that. I think that was a sketch of some sort. Can't google I'm at work
 
user2620028
@rlemon i always kind of wished the whole cast of charmed :P
 
1:36 PM
@HatterisMad Or happy days
drools
@VeronicaDeane 9pm est july 4th, Juno will be entering orbit around Jupiter
5 year mission concluding in less than a week
 
Graveyard of the fireflies is the saddest thing I've ever watched..
 
@Luggage dunno, there are libraries around, certainly works for internal purposes
 
ewww anime
 
@littlepootis <3
 
@Paran0a dude.. I hate anime, but that thing is a masterpiece.
I'm pretty sure it will make most people cry.
 
user2620028
1:39 PM
why is it that you hate anime?
 
@littlepootis did you watch The Wind Rises?
 
Why do you have anime you normie?
 
I don't like the overdone expressions, or the animation style really.. story lines are pretty neat.. sometimes.
 
Its like saying I dont like tv shows
 
1:41 PM
@rlemon that's the only thing they care about really
 
and collecting all the pokemon.
 
@FilipDupanović No. Is it as nice as this?
 
they'll deliver a good story, you have to deal with all the imperfections of the style on your own accord, that's not their main focus
 
@FilipDupanović and that's not entertaining for me.
hence not watching anime :D
or manga
 
anime = videos
 
1:42 PM
and the awkward cringy sexuallity in all the wrong places.
 
manga = comics?
 
anime = cartoon boobs
 
documentaries with high production value is where it is at.
 
user2620028
@rlemon There are some of the art and animation styles that i hate, i dislike some of the expressions and the way they portray characters. But all of this can happen in every form of delivering stories not just anime
 
@corvid thx :)
 
1:42 PM
anime = so desu
 
@HatterisMad sure, not disagreeing with that.
 
Nothing like some daijobu and chottomatte in the evening
 
I never said anime was bad, I just explained why I dislike it
 
user2620028
@rlemon look at cartoon network right now... i don't think i would watch anything on there at the moment
 
well CN is for kids/teens
 
1:43 PM
anime ranges from art, to trash
 
user2620028
Yeah but i mean CN and Adult swim both
 
anime ranges from ecchi to trash
 
user2620028
like robot chicken has the nastiest animation stop motion and art style possible and yet its super popular
 
I don't really watch TV unless it is streaming
:/
not until they offer a pay per channel in my area
 
user2620028
the original family guy seasons were pretty crappy quality
 
1:44 PM
I'm not paying $65 for a cable package of which I'll watch 3 channels
 
user2620028
same with south park
 
@Kob_24 I took that from a stack overflow answer so I wouldn't recommend using it for anything academic, just so you know
 
yeah i saw it
 
user2620028
@rlemon yeah i just have netflix.... which i forgot i have actually haha
 
first world problems
 
user2620028
1:45 PM
not really, i cancelled it and then my gf wanted me to resub so i did
 
user2620028
but i haven't watched it since i cancelled it
 
I keep it for background noise
there is always a TNG eppy I can watch if I need
 
user2620028
@rlemon And that is why i have watched futurama from end to end like 6 times haha
 
user2620028
its my go to background noise for when i am programming
 
God dammit the internet just spoiled the GoT season finale
 
1:46 PM
@rlemon amen
 
In the form of a fucking Overwatch PoTG gif
 
Yeah
I avoided them
 
user2620028
hahaha
 
I also think it was pretty clear that it was relevant to GoT
You probably just kept on watching instead of turning it off immediately
 
Duh
I'm a weak man
 
1:48 PM
what would be the easiest way to get the classList of an element based on a specific class in plain javascript?
 
Basically the whole season was spoiled for me, so I just gave up trying
 
@SterlingArcher You mean the part where Ned Stark murders Cersei?
 
I guess I'll just keep waiting for the 6th book like a fucking shmuck
 
morning guys
 
Wasn't Ned Stark played by Boromir?
 
1:48 PM
And Jamie finds out he's not Cersei's brother, but her son.
 
You don't need to spoil a show where everyone eventually dies. It spoils itself.
 
I think I'll leave the chat for now , too afraid of spoilers :D
 
Want to check, does anyone know how to toggle a drop down box in vanilla javascript?
 
@SterlingArcher Well, if you pay attention to his life span, duh.
 
@Ming No one. Here's hoping that some good work at the LHC figures it out.
 
1:50 PM
@Ming yourDropDownBox.style.display = yourDropDownBox.style.display === "block" ? "none" : "block"
 
> //WARNING: SHIT CODE BELOW
Fuck
 
@littlepootis that doesn't toggle the checked state
 
@littlepootis oh i meant with DOM scriping.
 
but it is "DOM scripting"
 
What kind of toggling do you want to do?
 
1:52 PM
if there's a drop down box with arrow, just want to simulate a click on the arrow
@littlepootis
 
dropdown.click()
 
to drop down the box.
@FilipDupanović i tried with click, but doesnt seem to work.
 
hmm, not sure if the element has any special property you could otherwise set to expand it
 
fiddle it
 
wondering if it was .toggle like jquery
 
1:53 PM
What UI library are you using?
 
@Ming usually we don't use native controls (dropdowns, file inputs, etc.)
 
UI library? im just running the actions in my chrome console.
@FilipDupanović you mean need a library to create a toggle event?
 
How do you.. toggle a dropdown?
 
user2620028
@littlepootis open state, closed state
 
@littlepootis eg: i have a form to fill it. choose from list of countries. Drop down the box to show list of countries >> toggling
 
1:56 PM
When creating a project based on knex, are you supposed to leave the knex file out and let the user initialize it themselves?
 
@HatterisMad oh, that
 
fantastic
 
user2620028
haha get rekt little girl
 
user2620028
@Sterling how much work do you do compared to how much time you spend on imgur
 
Thanks to my setup I actually multi-task very well
Perks of 6 computers
 
user2620028
1:58 PM
you still on the cart?
 
5 sorry. That one is upstairs collecting data
 
@Ming mmm they can be pretty hard to style and you often need custom behavior, so usually they're shadowed by custom components in the UI
 
I have my satellite modelling laptop, my RF device machines, an ubuntu bc fuck it, and my main computer which is primarily for repos and memes
 
@Ming No, replace native controls with your own stuff.
 

« first day (2082 days earlier)      last day (2870 days later) »