« first day (1937 days earlier)      last day (3005 days later) » 

crl
12:03 AM
[̲̅$̲̅(̲̅5̲̅)̲̅$̲̅]
 
@BenjaminGruenbaum still here
?
2am there, probably not
anyways, dicky
 
An interesting question that I came across today at work: Is there a time limit for the GIF length?
What do you guys think?
I googled around but theres no straight answer.
I think there is no limit. Not sure though.
 
no
people have hacked gifs and you can use it to stream
 
yeah, thats what I figured
 
it isn't optimized, or recommended
but you can do it
 
12:07 AM
so you could potentially show a movie in GIFs, lol
there is a limit on the colors though
 
37 secs ago, by rlemon
it isn't optimized, or recommended
 
every time I listen to this I'm more floored at how well done it is
 
crl
why does it switch left then right then left? jsfiddle.net/crl/L8q28he0/1
I thought this would continue to the right
oh, toggle... stupid me
 
12:22 AM
@ssube oh nah I was ok with the kick
I was just joking with my next comment since he said we were raging :P
 
1 hour ago, by rlemon
him saying "don't kick, now he will think you are mad"
1 hour ago, by rlemon
I think cleared up why he said it tho
igotchu
 
crl
I want to model tabs (like nav-tabs/nav-bars/switchers things that show only one content at a time) with a list of components in react, but that's hard since the buttons div is separated from the div with content
 
Just got the internet set up in my apartment
I'm only paying for 115mbps
I'll take it
 
@BenjaminGruenbaum @SterlingArcher youtube.com/watch?v=3rnFlQAvk8U
also a funny one
the ending makes it
@ndugger I'm too lazy to punch a hole in the wall so I'm using a over the power line connector thingy
wifi on my laptop gets 100x what my desktop gets right now :/
 
huh
 
12:36 AM
just complaining
I suppose they theoretically can work well
they just don't
:/
 
Yeah, I'm glad I'm getting the speed that I am. I was tempted to buy the 250mpbs, but I figured I really don't need it
It was only like $30 more
 
@rlemon what?
Those work awesome for me
I have 4
 
not me
 
They are god damned amazing
 
they work okay, depending on where in the circuit I use it
 
12:38 AM
I have netgear ones
 
I'm on the plug opposite the wall right now
 
yeah I play my steam link through them, and the kids use them instead of wireless on their pc's
 
I get 200/50 on wifi
so this is not bad
 
crazy
 
move anywhere else in the house. 10/1
or worse
 
12:39 AM
damn, that's nuts man
I'm sure they are highly dependent on wiring in the house
 
yup
and where the breaker splits it
asked the electrician at work
 
I'm on all diff circuits and fortunately they work great here
 
they can work well, or they can be complete shit
 
back in the early 2ks you have to be on the same circuit to use them
 
in my case, they work okay on very limited jacks
and my house was built in 2003
 
12:41 AM
Are those ethernet?
or wireless repeaters?
 
ethernet
 
ah, yeah so are mine
 
I need to buy repeaters
 
weird man, that sucks, I know they aren't cheap
I paid like $65 for each set
 
I got mine on sale, paid like $119
lol
 
12:41 AM
damn dude
yeah I paid that for 4
 
our dollar is shit
 
but mine are umm 200mbps
 
I'm not personally hurting
 
er no, 500
 
but it can now be seen
 
12:42 AM
what is the Canadian dollar at now vs the American one?
below .75?
 
I think
estimated to drop below .58 this year
I'm hoping on the weed game
 
ah yeah .73, crazy
damn, when I was younger it was always .75
if it drops to .58 that will be pretty nuts
 
trudeau is legalizing it here, I hope we can then export it to you guys where it is legal
that would help a lot
weed; the new oil. ™
our biggest problem is oil export flat-lined
even Saudi Arabia will have troubles at <$30/barrel
you just can't compete at those markets
 
they are the ones setting the price
you have to blame Opec for the lower prices
 
yea well, they kinda fucked themselves
it is only going lower
it's now more to make the barrel then it is to buy the oil
how much longer will it last?
 
12:46 AM
eh, not really man, once the US and CA and others stop extracting it locally because it isn't feasable, they will just rise the price again
 
yea I'm not saying it wont go back up
 
North Dakota is hurting now because of it
 
but for the short term, they did fuck themselves
 
they are starting to close up shop
 
the markets show it
everyone who exports oil is biting the bullet right now
 
12:47 AM
OPEC has done this crap before
some people are worried about peak oil too
heh once the world starts running out prices will go WAAAY up lol
I'm loving the price of gas though lately
 
same
like 80c/l I saw
haven't seen that in a long time
 
yeah same thing here
it's pretty crazy
my truck used to cost over $70 to fill
now I'm paying like $30 something
 
@Loktar just googled, we have like 55 years in reserve
so I think, unless some more bs scare tactics, that might not be changing soon
 
yeah the US supposedly has a lot as well
 
I'm okay with low oil prices
Canada will adjust to another export
 
12:51 AM
We will just steal your guys oil muhahahah! :P
 
it will just take a bit
 
yea you guys will be fine I'm sure
 
maybe a 2-3 year recession
8 mins ago, by rlemon
I'm hoping on the weed game
we already "export" a bunch from BC
illegally so no money to the gov
imagine if that were taxed?
BC is estimated to have a 6 billion dollar annually weed crop
fuck I knew it was a lot
didn't realize it was 6 billion
 
:P
 
BC Bud is a generic term for several potent Cannabis indica-dominant varieties (e.g. BC Arctic Sun, BC God Bud) naturally grown in the Canadian province of British Columbia. The term has almost become a brand name, especially in California, Oregon, Alaska, Idaho and Washington, to which most of the province's cannabis is exported. It is often referred to as "beasters" or "the beaster" == ProductionEdit == The United States Drug Enforcement Administration considers BC production to be a major problem, given the porous United States-Canada border, and has launched several major initiatives to cut...
> However, a high tolerance for cannabis use in BC and an awareness of the role of it as an export cash crop (worth an estimated $6 billion annually)[5] has tended to make it difficult for Canadian or American authorities to intervene effectively. This remains a significant point of contention between the US and Canada, and is one of many US-Canada border problems driving changes to both nations' policies
 
12:55 AM
:O
 
like, I don't wanna promote drugs, or anything like that
I'm seriously talking from an economic sense
we already sell it too you guys, and it is now becoming legal in both places
why the fuck not shouldn't the taxpayers benefit
 
I'm so glad I play racing video games
 
s/acing/ocket/
 
that too
 
seriously. so addicted to KSP right now
 
1:01 AM
lol
 
I may top my Terraria hours at the end of this
 
I'm approaching 500
 
104.5 hours past 2 weeks
eat it
 
nowhere near your terraria hours but still
 
1,174 hrs on record for Terraria
 
1:02 AM
I'm attempting to make some creamy chipotle chicken tacos for a potluck tomorrow. It might end up gross; I'm a pretty terrible cook
 
134 hrs on record for KSP
but 105 have been in the past two weeks
so yea
 
I don't think Steam records offline hours
which I don't know how to feel about
 
I don't know if I have offline hours
 
I do, sometimes
 
Steams hours are kind of meh
doesnt record offiline, but does afk
you can go "away" while playing a game and it still records the time, kind of weird
 
 
1 hour later…
2:19 AM
Script to set your background to a current picture of earth
instructions on how to do it every 10 minutes:
    To run it once every 10 minutes, add it as a task using Task Scheduler that runs when you log in. Use the following command: PowerShell.exe -windowstyle hidden -ExecutionPolicy Bypass -File C:\path\to\himawari.ps1. Finally, make the following changes to the script:
Add While (1) { right before the first line
Add Start-Sleep -s 600 and } after the last line
 
operation chipotle chicken tacos was a success.
I don't cater.
 
@maowtm Reminds me of a !== a. Which is perfectly reasonable and should not be removed.
 
!!> ({}) !== ({})
 
@maowtm true
 
To determine Objects?
 
3:07 AM
Uncaught SyntaxError: Unexpected token >
my console said
 
@Jesse What did you input?
 
!!> ({}) !== ({})
 
@Jesse true
 
@Jesse You just need ({}) !== ({}). !!> is for calling the bot
!!hello
 
@maowtm That didn't make much sense. Maybe you meant: help, tell
 
3:09 AM
it is more like a interview question.
@maowtm got it
 
dat feel when you upgrade your onboard video from 1mb to a 2mb card
 
dat 2mb card
 
I hate these interview questions. I'd rather see real code. At least a hundred lines.
 
OMG I love jade so much that I don't want to write normal html...
 
3:29 AM
jade is disgusting
 
Isn't it "pug" now anyways
 
p
    | I&nbsp;
    strong strongly&nbsp;
    | disagree.
 
p
| I
strong strongly
| disagree.
 
Good example XD
 
You don't need &nbsp;, just remember a space in the end of that line
 
3:31 AM
unless your editor is set to trim training whitespace.
 
also &nbsp; won't work I believe
p
    | I
    ! &nbsp;
    strong strongly
 
@Luggage Mine do! All of them! :D
 
@maowtm it does work. i use it all the time. see: gist.github.com/luggage66/2f037f7746b865d2d9b4
 
0.0
 
ew
 
3:37 AM
So what if |="&nbsp;"
will it work?
 
that'll probably escape that string..
 
So why &nbsp; won't escape..
 
it's valid html.
 
Oh I see, escape don't happens at |
 
mac?
 
3:43 AM
ubuntu
 
hi, I'm a JS noob. Quick question, I'm using a library that lets me drag and drop content between tables; I'm also using innerHTML to add new rows to those tables. However I can't drag content to the new rows. I'm guessing its because the JS function doesn't know it exists yet. Am I able to somehow refresh the JS so that it can find it?
 
@Gilgamesh Welcome to the JavaScript chat! Please review the room rules. Please don'task if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
What library you are using
 
redips
I tried to get it into a JSFiddle, but wouldn't work
 
3:54 AM
6 hours.... wow. I'm a massive idiot. Thanks, that worked.
I read that already, must have missed it. I'm heading off to bad. Seriously, thanks.
bed*
 
nice man, np glad it worked
 
Timezone?
 
I looked for the word dynamic specifically on google @Gilgamesh
just for future ref on generated elements
 
It's 4am here. And thanks, thats helpful.
 
Nice google usage
 
3:58 AM
We should add a notice in the SO's new question guidelines: If you don't have enough sleep, get some sleep first.
 
@Sheepy +1
 
Trouble is, I'd never get to sleep if I knew there was a problem I had to get rid of :P
 
It is scientifically proven that your brain will work on your problem while you sleep or doddling.
 
Well, lets put it to the test then. Again thanks. Have a good night.
 
o/
 
 
3 hours later…
6:53 AM
Hi guys
 
@Pooja-G Welcome to the JavaScript chat! Please review the room rules. Please don'task if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
I am using popover with angular. But I want to call my function when popover open and close. Or lets say, show and hide
 
7:04 AM
Hi guys ...How change this google map script to draw not straight line between tow point on google map ,but draw road line between two point on google map
 
nvm got it
Can someone draw me a diagram for that :?
 
user3119231
morning :)
 
@Mostafa you'll need to use the google direction service for that
that works quite well, I used it here for example: mylefttyre.org/de/blog/map
 
@GNi33 Thanks....i must add another script file
i mean <script scr="lib"></script>
@GNi33 i try it..just a moment
 
0
Q: how to clear data from grid datatable plugin jquery?

Ram Singhwe are using datatable plugin as below to bind the data and display in grid. below is the code: productJs = { apiBaseUrl: "/api/Admin/GetProductsPurchasedOrInCart", dataTableID: "#products_Grid", ready: function () { alert('yyyy'); }, jqueryDatatableSetting: { "aaSorting": [], "aoCo...

please gelp
*help
 
7:14 AM
@Mostafa google doc examples might be helpful: developers.google.com/maps/documentation/javascript/examples/…
 
user3119231
@ndugger if this is my chance to move to 'murica I will do the job!
 
@Maurice where is murica?
 
user3119231
@Jesse you lost soul.
 
It's a mythical land that's part of a lot of conspiracy theories
 
ok~
 
7:20 AM
@PeeHaa looks fine, yeah
 
it is the last day in office before Chinese new year:)
 
user3119231
its just 10 months till new year in GER
 
yeah, moon calendar
 
@FlorianMargaine hey man
 
7:21 AM
omg I am trending #4 on github github.com/trending/developers#pa-awalGarg :D
4
@BenjaminGruenbaum ^ there you go, now it is "too many"
 
user3119231
@AwalGarg awesome! :D
 
did you ever touch amphp, Florian?
 
@AwalGarg congratulation
 
@RamSingh please provide a somewhat working example in jsFiddle or so
 
7:46 AM
@gni
@GNi33, thanks Man.. it is resolved now
:)
do you want me to create a fiddle for working code?
so that it would be easy for others?
 
user3119231
Everytime you are asking something, just create a fiddle to reproduce the issue
 
user3119231
Otherwise we have to guess.
 
oh okay
i will keep it in mind.. and willuse fiddle everytime in future
:)
 
8:02 AM
cool, great that you fixed it. You can answer your own question, so if other people will have the same problem, they'll eventually stumble over your question
oh, nevermind, you already did :)
 
Any ImmutableJS experts out here? I am learning reactjs+redux and so far loving it but this is keeping me from progressing further. My question even have jsfiddle! stackoverflow.com/questions/35183482/… Any input is welcomed:)
 
yeah I've seen that, its pretty cool
 
@Loktar whoa you are up at 2 AM ?
 
lol yeah about to go to bed soon
 
8:08 AM
Good Night.
 
@GNi33 hi
didn't use amphp, but the devs are regular in the php room
@AwalGarg congrats!
 
@AwalGarg grats :D
 
@AwalGarg Wow!
 
8:24 AM
A simple question: do anchors threw a click event?
 
By default, I mean
 
OMG It is 2016 now
Some website still use flash...
@ErroreFatale threw?
 
@maowtm Some still use Java too.
 
@BenFortune And using chromium I don't have none of them..
 
8:29 AM
Ever considered Firefox?
 
Firefox don't have built-in too
and I have to apt-get install the flash installer
 
yaourt <3
 
As if there are any browsers with Flash or Java built in...
 
Any ideas how I could interate over an Array with pairs for Color and #colcode, to make this code less repetitive: pastebin.com/4bXnRLmm
 
Chrome?
I haven't tested, do it?
 
8:33 AM
Oh, Chrome really does! Well, Adobe says it is 32 bit only. I think that is outdated info...
 
I change my question: are eventHandlers inherited by children of a DOM element? I have to capture a precise target (the one to which I explicitly added the event listener), but I'm capturing a child.
 
But why is Chrome building in Flash Player in 2016?
 
@ErroreFatale event bubbling
 
@ErroreFatale DOM tree is formed by parent-child relationship, not inheritance.
 
@Sheepy Don't know. I remembered that if I install chrome in ubuntu, it comes with Adobe Flash Player 16
@Sheepy However Adobe latest version of FP is 11 on linux..
@Sheepy Adobe said that they stopped linux supporting and will only release security updates
 
8:37 AM
So Chrome's Flash is more up to date than Adobe's own?
That may be why...
 
@Sheepy Yes
 
My Chrome says v20. It was the only Flash enabled browser on my PC.
 
I thought flash was part of NPAPI?
 
@Sheepy Are you using linux?
 
Nope. Windows. But why would I install Flash?
 
8:39 AM
@Sheepy Dosen't windows have built-in?
 
ty
 
I am a vivid Windows fan. I use vim, putty, LibreOffice, Pidgin, GIMP, Audacity, Avidemux, ffmpeg, avisynth...
 
@FlorianMargaine Thanks for sanity checking
 
@maowtm Not if it is a clean window. I have installed quite a few.
 
@maowtm but bubbling occurs when a DOM element has as a child a DOM element with the same event listener, no? I have never added any event listener to children, that's why I was asking if anchor have a click event listener by default...
 
8:42 AM
@ErroreFatale Are your event listener receiving event with target being a child of the one you binded to?
 
yes @maowtm , this is exactly the problem.
 
@Sheepy I installed win10 in my VM, using the official installer. I never installed flash but now the IE have flash running correctly..
@ErroreFatale That is event bubbling.
 
@ErroreFatale The child does not inherit any handler. It is the event itself that climbs the DOM tree.
 
@ndugger is there a link somewhere? I'd just be curious
 
@ErroreFatale The child dosen't have any handler inherited, but a event on a child is also a event on the parent.
 
8:45 AM
Ok @maowtm. Is there any way to capture the element binded to the event listener instead of it's child? Maybe e.target is not the right thing in this case..?
 
@maowtm You are right. IE (and metro) also has Flash built in. Oh my god I learned something new again >_<
 
@ErroreFatale You just need to compare e.target with the one you expect, and ignore if it is unexpected.
 
!!tell ErroreFatale mdn event.currentTarget
 
@ErroreFatale evt.currentTarget === evt.target
 
8:48 AM
Thanks sheepy
@maowtm why Can't I simply use evt.currentTarget?
 
posted on February 04, 2016 by Axel Rauschmayer

Object.getOwnPropertyDescriptors() is an ECMAScript proposal by Jordan Harband and Andrea Giammarchi. It recently advanced to stage 3. Overview Object.getOwnPropertyDescriptors(obj) accepts an object obj and returns an object result: For each own (non-inherited) property of obj, it adds a property to result whose key is the same and whose value is the the former property’s descriptor. Pro

 
I mean, why should I do this comparision?
 
@maowtm both are different
 
@ErroreFatale What you wanted to do? Only receive event from the parent, or get the parent element in your event handler?
@ErroreFatale If you just need the element which is binded with the handler, just use evt.currentTarget is OK.
 
I have to change the style of the element binded to the event listener. So I'd say that e.currentTarget is everything I need
 
8:52 AM
@maowtm 16:45 "Is there any way to capture the element binded to the event listener instead of it's child?"
 
@Sheepy OK.. My fault, it says capture the element not capture the event
misread
 
One last question, just to be sure: does the event bubbling occurs only between an element and it's direct children?
 
@ErroreFatale Also indirect children
 
@ErroreFatale No. It goes all the way up to html, if not window.
 
8:59 AM
!!tell ErroreFatale mdn event bubbling
 
@ErroreFatale Event.bubbles
 

« first day (1937 days earlier)      last day (3005 days later) »