« first day (1524 days earlier)      last day (3429 days later) » 

6:00 PM
@rlemon I said "yes".
 
user2620028
Which means nothing :P
 
does anyone knows using timeline.js for creating the google map marker ?
 
xD
 
when draggin the timeline the google map marker will draw ?
 
@AwalGarg you're not funny
 
user2620028
6:02 PM
Lol he is really not.... But i enjoy his presence lol
 
@rlemon ahaha! You are XD
I thought you read "n" instead of "y".
 
random question on PCI express slots...if anyone is familiar with them.
 
user2620028
Not really the place to ask but what is the question
 
if we can't help, try here:

 Root Access

For all you Super Users out there. You have backups, right?
 
The root access room has quite intelligent people.
 
6:05 PM
it's where I go to vamp networking issues
 
I know I know, I am just freaking out and not sure if I made a mistake. So I just got a new mobo, and I am going to crossfire for the first this weekend. But I am not sure if I have enough PCI slots, or the right type...
 
user2620028
what board do you have
 
ruby gems are dumb.
 
and I am going to try and crossfire two of these: bestbuy.com/site/…
Do I need another PCI x16? Cause my board only has 1?
 
6:07 PM
> Flexible graphics capabilities supported for either CrossFire™ or SLI™ action
 
So the PCI thing doesn't matter?
 
might
 
@rlemon to make it clear External scripts must always be in the head at least that is what i tought?
 
I was just copy pasta
 
user2620028
Yeah you need two pcie x16 slots
 
6:08 PM
@user3470815 nope
not the case at all
 
why?
 
I need two pci x16 slots....so what do I do??? :(
I was told the mobo should be fine...
 
You need two PCI slots
they don't need to be x16
You'll lose a little bandwidth
 
@user3470815 why would it be?
 
user2620028
He has 1 pci-e (x16) 1 pci-e (x8) 3 pci
 
6:09 PM
Worst case scenario, 15% restocking fee
 
one x16 and one x8 should be fine
 
@rlemon I tought it had something to do with performance, better to load them before anything on the page?
 
read this ^
@user3470815 stylesheets yes, javascript not always
 
ok @rlemon will take a look thx
 
in fact, more often than not, you get better perceived performance putting them in the body
 
6:11 PM
im confused. So this will work but it's "pointless" because I get lower preformance?
 
@Austin we're talking about external resource includes, not your issue
 
if your page is super image heavy or something, you would not really like having the javascript load at the end.
 
@AwalGarg false.
images are parsed and then it moves on (they download in the background, so to speak)
 
@M59 Hilberts Hotel + What is Time
they contradict.
 
I was referring to SomeKittens, Taco, Hatter is Mad since they just discussed it above
 
6:13 PM
@rlemon yeah, fuck window.onload and images
 
you can deal with images
 
fuck'em still.
 
I also don't like wrapping with window.onload but I will if I'm being lazy
 
it doesn't work... it's the point
 
I don't see your point at all actually
 
user2620028
6:14 PM
@Austin yeah i was wrong those cards will work with the (x16, x8, x1) slots on your board. (The x16 will be the fastest and then the x8 if you have room in the case there)
 
@rlemon window.onload doesn't wait for the images to be fully loaded
 
Hi! My Node.js passport authentication only works on one page... I tried to access my res.locals.user on other pages than the one where i redirect, but it doesn't work
 
@FlorianMargaine has always worked for me
 
Can somebody help me?
 
@HatterisMad So What do you mean by fastest? Will crossfiring even be worth it with x8?
 
6:15 PM
@Austin Hmm?
I said you might lose some bandwidth, but that isn't a big deal
 
> The load event fires at the end of the document loading process. At this point, all of the objects in the document are in the DOM, and all the images, scripts, links and sub-frames have finished loading.
 
@SomeKittens Okay! So I will still get pretty much the full effect of the crossfire?
 
So in a nutshell , external js shouldnt be at the head, "because while a script is downloading, however, the browser won't start any other downloads"
??
 
@rlemon I stand corrected. I wonder where I read the contrary :( Bad me.
 
@rlemon hm... trying to reproduce in a fiddle
 
6:17 PM
@user3470815 no, in a nutshell you should do this smart and figure out what should go in the head and what should go in the body ;)
 
but this doesn't even load... what's the obvious error?
 
user2620028
@Austin You will still receive benefit from crossfiring them yes. How much benefit depends more on application than your hardware at this point.
 
@FlorianMargaine include options
 
ah... fiddle being fiddle
hm, seems to work indeed
dunno where I got that idea from then, my bad
 
anyone has pressed ctrl+shift+up in jsfiddle? :P
 
6:19 PM
@HatterisMad Okay, do you know of any resources that offer some insight on what application uses will benefit moreso? Or what scenarios? Like, is like hyperthreading where only some games/programs use it, or will everything GPU intensive benefit from it?
 
@AwalGarg yup
I'm probably one of the few people in here whose read the jsfiddle documentation ;)
whose? who's?
fuck it
 
who's
I dunno actually :P
 
@FlorianMargaine DOMContentLoaded doesn't wait for images iirc
 
@rlemon I thought lorempizza would just get a random pizza
 
@FlorianMargaine it's all the same request
 
6:20 PM
@rlemon yeah, I know, but I really thought that window.onload would be buggy, hence all the workarounds waiting for images to be loaded
@rlemon ah, right, cache
 
@rlemon im confused .. external libraries should be in the body ?
 
@user3470815 I'm trying to say don't make a hard rule for these
 
@rlemon who's, it's "who has read" shortened
 
first learn how the document is parsed and come up with your own solution that makes sense to you
like, if you have application logic that interacts with the DOM, why wrap it when you can include it in the body.
but if you have a polyfill library, and it isn't huge, it might make sense to include it in the head
 
Shouldn't jquery be loaded before the code that uses jquery, so that the code that uses jquery, can use jquery?
 
user2620028
6:21 PM
@Austin There are benchmark testing you can do with sli and crossfire on your own, and there is a plethora of tests done at your google fingertips.
 
@AwalGarg yes, but that doesn't have to be the head
depends on how your document is structured
<!DOCTYPE html>
<html>
<head>
	<title></title>
	<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<!-- HTML CONTENT -->

<script src="/js/jQuery.js"></script>
<script src="/js/someplugin.js"></script>
<script src="/js/app.js"></script> <!-- this is all of my application code -->
</body>
</html>
is perfectly fine
including jQuery in the head here would work as well.
 
user2620028
@Austin this appears to be a slightly biased article against sli or crossfire but it is still providing true information makeuseof.com/tag/sli-improve-gaming-performance-si
 
byezzzzzzzzzzzz
 
That is my goto template for all docs (just remove jquery and plugins, and add the meta charset and viewport tags).
 
the only two scripts I include in my head are conditional
polyfills and shit
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
 
6:24 PM
My goto template: <!DOCTYPE html>
 
I use all the polyfills that reside in caniuse.com/js
But I should stop doing that, I guess :?
 
only use the ones you need
 
true
 
@AwalGarg Not enough polyfills, you should have at least 50
 
:p
 
6:28 PM
also yep/nope is deprecated
 
!!should I make a coffee?
 
@rlemon Definitely
 
classList, addEventListener and datasets would do for most of the things I do lol
 
!!thanks
 
@rlemon Most welcome
 
6:29 PM
lol polyfill for addEventListener?
srs?
 
haha yea, why?
 
do you need to support ie8?
 
Almost always, yes.
 
wasn't talking to you mr.I-just-dropped-ie6
 
I had to. Once.
 
user2620028
6:31 PM
@Austin according to the benchmarks being done in this article http://www.tweaktown.com/articles/5984/sapphire-radeon-r9-270x-2gb-toxic-video-cards-in-crossfire/index.html
It looks like they perform about as good as a single http://www.newegg.com/Product/Product.aspx?Item=N82E16814127746
 
IE8 is only used because it comes with w7.
 
user2620028
wow i wish we were able to drop ie 6
 
@AwalGarg ummmmmm
 
50% on IE 8 and my users are a good sampling of the corporate world
 
@HatterisMad Okay, thank you very much! I think figured out what you were trying to explain. I have two x16 slots, but only one runs at x16 while the other runs at x8
 
6:31 PM
@rlemon no?
 
user2620028
@Austin more or less yeah
 
ah yes, as crossfire they level up with the highest-end cards, but those couple 300-400 bucks
 
w7 ships with ie9
 
eh? no
 
so doing the $150 investment instead basically gets me there for now at a cheaper price
 
6:32 PM
@AwalGarg hrm, wiki disagrees with my w7 pro cd which comes with ie9 installed
 
user2620028
@Austin right, so if you are getting them cheaper then buying a single high end card then your golden. just tweaking and getting to know that technology and how it works will help your output with them a bunch
 
user2620028
pretty sure early w7 came with ie 8
 
hm.. that's interesting.. i'm 83% windows 7.. i should have higher use of ie9+..
 
user1596138
Boss was like "wanna work for double time next week"
 
6:34 PM
@HatterisMad Awesome! Sorry for all the noobiness, I am a software guy but trying to get more hardware savy. I do have one last random Q, I have read that for crossfire you need to be in fullscreen for its use. Is that true? (no more windowed mode?) :P
 
@rlemon you probably would have installed updates or somethin?
 
or SP1+?
 
nope
 
user1596138
Kinda just sucks
 
maybe it is sp1
didn't pay too much attention
 
6:34 PM
@someDoge I wouldn't
Family/Christmas is important
Not to mention my birthday
 
user1596138
Yup I won't.. I think it's a tiny bit shitty
 
@Luggage I have a legit win7 sp1 home premium disc, and it comes with ie8
 
user2620028
@Austin to be honest it has been so long since i have had an sli/crossfire rig i don't remember. I have always played fullscreen mode as well :P Maybe super users would be able to answer that one for you
 
I have more legit windows discs than anyone should have
 
@someDoge I have heard of someone getting 6x pay because Christmas was on a Sunday
 
6:35 PM
xD
 
every time we get a new pc we get another OEM copy
 
@HatterisMad Haha okay thank you! :)
 
@rlemon One?
 
user2620028
@rlemon how many do you have?
 
user2620028
@Austin no problem man
 
6:35 PM
at least 7
i'm looking at them
but I know the boss has a couple in his office as well
 
user1596138
lol. Well actually it's not even double time. I get 7hours/day paid anyway it's just what I work on top of that I would also make
 
and I have a copy at home
 
user1596138
So nah I'll sit back and collect my normal paycheck while I was off skiing and having family time haha
 
@rlemon you can use them for diy, if you like it XD
 
"do it yourself"?
 
6:37 PM
< 1% on windows 8 and 8.1 :)
 
yeah
 
user2620028
@Rlemon i got all of the recovery discs from firedog at Circuit City whenever they closed. So i had at one time about 7 binders of all windows vista recovery discs (Each binder sleeve could have 18 discs) and each binder had like 30 - 40 pages lol
 
I don't see how windows oem discs are related to diy...
 
@HatterisMad but it's Vista...
 
@FlorianMargaine useless anything is related to DIY.
 
user2620028
6:37 PM
@SomeKittens you never asked what i did with them lol
 
user1596138
@FlorianMargaine I think he means like crafts or something lol
 
I miss AOL sending me small, brightly-colored frisbees in the mail every couple of weeks.
 
user2620028
lol they fly so well though dont they
 
IE once ran on unix? Really?
 
And mac.
 
6:42 PM
Heh:
> Tod Nielsen, general manager of Microsoft's developer relations group, jokingly declared that he wanted to hold the launch of the browser at the Ripley's Believe It or Not museum in San Francisco due to the skepticism by those who believed the project was vaporware.
 
m59
@darkyen00 I think I know why you're saying that, and it's two different senses of "infinite".
 
haha
0.42% of rlemon.ca's traffic is IE
 
0% of rkoutnik.com traffic is IE
 
and 100% of that is IE10
I've had 1 IE user
also, holy crap. rlemon.ca gets like 15-20 hits a day
I expected like 1 if that
1% of my traffic on lorempizza.com is IE
25% IE9, 75% IE11
all of my sites follow the same trend. Chrome > FF > Safari
 
my current website is on an apache server with cpanel, becasue I'm too lazy to make a real website
 
m59
6:51 PM
@darkyen00 hmm, actually, you got me thinking about it again and there is something odd.. There can't be an infinite history (problem of infinites - Hilbert's Hotel), but there can be a definite sequence of events with a defined beginning and end that exists eternally. The problem to me is, I've always understood time to be a potential infinite, so the beginning is defined but there doesn't have to be an end. The speaker in the Hilbert's Hotel video doesn't believe in the B theory of time..
which is what the "What is Time" video is speaking of.
 
Safari: Kinda like chrome, but none of the good bits.
 
m59
And this may very well be the reason to choose the A theory of time...
 
(I assume, I used safari only to d/l chrome)
 
m59
but there seem to be problems with that one as well. Maybe both are wrong ;D
 
what made the whatwg.org guys think that it would be a good idea to put the entire(!) spec on a single page? :/
 
6:56 PM
you're a bad idea
 
I love lodash. I want to print the source and rub it all over myself.
 
You're weird
 
You'll get there.
 
I don't have access to the drugs
 
@copy I do. PM me, we'll talk pricing.
 
7:00 PM
posted on December 18, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {}

 
They help but no drugs are mandatory. Just go to lodash.com and start enjoying.
 
rlemon's stuff is stepped on, you should talk to me.
I'm the best at selling drugs on the internet while using my legal name.
 
you know what is annoying? people who constantly edit away or delete their messages
 
dammit
@rlemon no no... I ran the wrong snippet in the dev tools :(
I should give them descriptive names
they are all 'Script snippet #XX'
 
seems pretty descriptive to me
 
7:07 PM
Is it just me or someone else also experiences the problem that chat loads, and stops at the loading box which says "Loading Javascript..."?
And I have to refresh it a couple of times..
 
"I try do this in many ways, but at the end i completely lost all hope." <-- You're a developer now, kid.
2
Q: Javascript object transform

MichałI want to transform this object so that I can call it that way cars.ox, bikes.ox var baseValue = [ { '2014-12-01': { 'cars;ox;2014-12-01':100, 'cars;ot;2014-12-01':150, 'bikes;ox;2014-12-01':50, 'bikes;ot;2014-12-01':80 }, ...

 
@ssube lol
you should add that comment
 
7:22 PM
good idea
 
@rlemon I found another way to reinvent the wheel today: tooltips! github.com/ndugger/Padawan.js
 
user1596138
7:43 PM
What a bug if (inp.value) linkCheck,checked = true; lmao
 
user1596138
I was like where the fuck is this global coming from
 
Weird that it isn't invalid assignment left hand side
 
can someone disconnect his or her internet for me please?
 
@copy , is a very low priority operator
 
But not lower than =
 
7:45 PM
no? you sure?
 
Wait
You're right
 
I have to check if appcache is working, and I don't have another device right now :(
 
Good to know
 
oh wait, I can just turn the server off I guess...
 
user2620028
doh
 
7:48 PM
shit that won't work :(
 
Awkward question
 
no, it doesn't look infected
 
I'm trying to embed a youtube video over a specific part of an image, but I'm having issues
Background url doesn't even seem to show up. Could i float the iframe over the image or what's the best way to do it?
 
Have you tried jQuery? :)
 
I'm using jQuery but not for a background image
background-image: url(2014 Splash Page.jpg); dev tools says this is an invalid property, but the link to the image works
I'm confused
 
7:55 PM
Not that I think this is remotely close to the issue, but did you try the url with %20?
 
I didn't even think of that. It worked :)
 
oh... huh
 
Didn't know spaces were illegal in CSS background image URLs
 
user2620028
wah wah wah
 
user2620028
:P
 
7:58 PM
You can probably quote it too.
Or use dashes in the filename.
Dashes are pretty, whitespace is the work of shaytan.
 
ah, yeah, putting quotation marks around it would probably also fix it
 
ok... xhr prolly doesn't play well with appcache :(
 
or you don't know how to use appcache
 
or that
 
@SterlingArcher I always wanted to convert to PDF
 
8:09 PM
I've always wanted to File > Save As Jew lol
(spoiler alert flaggers: I'm jewish)
 
@FlorianMargaine the request completes, but the status is always 0.
 
spoiler alert: flaggers don't care
 
@AwalGarg that's probably not a real response, then.
 
@ssube because it is from appcache?
 
if I have a function that returns a jquery ajax object: return $.get(url, function() {//callback 1}), and then using that ajax object, i declare another callback like: returnedAjax.done(function() {//callback 2}), is there a way to define the order that those callbacks should be called? I want callback 1 to run before callback 2.
 
8:13 PM
ok, it works fine on chrome though.
Why iPad safari behave differently :(
 
It works on FF and iPad chrome too :/
wtfs wrong with safari :(
 
It's safari. Nobody ever accused apple of being a software company.
 
I don't test in safari anymore. I never know what to expect
 
@ssube I am making this for the iPad only :(
so that I can offline access it
 
8:17 PM
that's unfortunate.
 
woo hoo
I just wrote something kinda cool
someone post a gif!
 
!!mindblown
That is the only gif ...
 
1 message moved to Orphan GIFs
 
oh wait
 
auto gif binner
 
8:21 PM
does it have a timeout ?
 
!!pizza
 
Nice, keep running
 
@rlemon Input not matching /(\d+)\s(\d+)/. Help: User-taught command: 'gives <>http://lorempizza.com/$1/$2#.png
 
I thought it would be that weird pic :(
 
!!pizza 100 100
dammit
1 message moved to Orphan GIFs
I forgot a constraint
I do all images :P
 
8:22 PM
something like "show for 60 seconds before removing"
 
@NathanJones Yes, let me make a fiddle real quick
 
@tereško yes, i've set it to ten seconds for testing
 
oh
 
@Luggage thanks!!
 
@rlemon It would be great if it auto detects rebecaafriday links and trashes them, please please, for the love of fridays!
 
8:22 PM
but the answer is .then() insteawd of passing a callbacck.
 
sonofa,....
there is no reasonable way to capture all gifs
imgur doesn't force proper extensions
:(
 
check content-type header?
 
@AwalGarg then I would have to re-download all images as I see them
 
You will do it for the room xD
 
8:27 PM
fat chance
 
just kidding
 
container.querySelector('img').src.slice(-3).toLowerCase() === 'gif'
someone save me from using this code
 
String.prototype.endsWith
 
so your solution to ugly code is worse code?
 
@NathanJones jsfiddle.net/e9wyhf9r/1 updated. I forgot to return the value from a .then so that the next .then gets it
 
8:30 PM
why would I add to the string prototype for a single check
 
hehe :p
hm, isn't it a factory function?
es6 only, shit
 
Couldn't you just regex it?
gif$ or something. (<- Terrible at regex. Probably shouldn't trust me)
 
.*\.gif$, roughly
substr or slice is sort of better, mostly by not being a regex
 
FF has endsWith since FF17, ahh, so that is why...
someone should go back into the past and import all the good parts of es6 into es5.
 
Or, you know, use some sort of polyfill...
 
8:36 PM
@NielsAbildgaard Welcome to the JavaScript chat! Please review the room pseudo-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.
 
6 mins ago, by rlemon
why would I add to the string prototype for a single check
@rlemon since cap runs on FF, you can run the script from cap's account only? That way you can use the endsWith function ;)
 
@NielsAbildgaard which will still add it to the prototype when It doesn't really need to be there
 
function isGif(src) {
    // who cares, gif to me
    return true;
}
 
got it. It is a known bug with old safari (and old webkit, in general).
 
it's fine the way it is, just looks ugly ;)
 
8:42 PM
!!dump safari or update safari or patch with ugly code?
 
@AwalGarg update safari
@AwalGarg Wait, I changed my mind! dump safari
6
 
...
before you change your mind again, I will go with patching with ugly code.
 
she only changes once
and iirc it is a 1% chance
 
I have only seen her do that with me, @CapricaSix what did I do with you? :'(
 
you're not that special
but it is a very low chance
 
8:46 PM
nice
 
8:56 PM
I'm clicking an image map button inside an iframe. Can my parent (the main page) detect that click?
 
2
Q: how to trigger a click event from within an iframe to an element of its parent?

themisHow can I trigger a click event from within an iframe to an element of its parent? I tried the following code on the parent page before I open the iframe. jQuery('iframe').contents().bind('eventhandler', function() { alert('event was fired'); }); I also...

 
haha
oh dear
 

« first day (1524 days earlier)      last day (3429 days later) »