« first day (970 days earlier)      last day (3985 days later) » 

4:00 PM
I just joined this channel to express my rage with the amount of jQuery noob stuff flying around SO at the moment. Thanks.
 
@Blowsie You should find a channel where jQuery is loved to do that. We can not do anything but agree with you on that one.
 
@dievardump true dat.
 
@loading... Yeah I saw. I didn't know exec worked that way.
 
@dievardump mind you , jQuery timeout made me lol
 
user1125394
jquery is not to blame
 
4:05 PM
i know its the 1000's of users who refuse to watch a single tut, read a book or blog before trying to write code they are totally unfamiliar with.
or even search SO for existing noob questions for that matter
 
[ignore:jquery]
My JavaSript search on SO
 
@mikedidthis i am getting an error
in my php
Warning: require_once(twitteroauth/twitteroauth/twitteroauth.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/46/10721146/html/tweet/tweets.php on line 3

Fatal error: require_once() [function.require]: Failed opening required 'twitteroauth/twitteroauth/twitteroauth.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/46/10721146/html/tweet/tweets.php on line 3
 
TIL <script type="text/javascript"src="file1.js,file2.js,file3.js,file4.js"></script> creates one HTTP request, reducing page load time.
 
The file doesn't exist
 
what file?
i have downloaded the files from github
i did this php script
 
4:08 PM
Sorry, my free help trial only covers one response
6
 
user1125394
hehe
 
@eazimmerman and @mikedidthis I put in all the keys correctly, but for some reason i still get this error
 
It seems so simple but I can't reach it...
 
@Perocat is this what you are trying to do?
155
Q: Submitting a form on 'Enter' with jQuery?

b. e. hollenbeckI have a bog-standard login form - an email text field, a password field and a submit button on an AIR project that's using HTML/jQuery. When I hit Enter on the form, the entire form's contents vanish, but the form isn't submitted. Does anyone know if this is a Webkit issue (Adobe AIR uses Webk...

 
4:12 PM
no unfortunately, this is not a form.... I don't know what enter key calls, because it is proabily integrated on the API....
 
idk then
 
21 hours ago, by rlemon
var parts = [
    '-_-',
    '┏',
    '┗',
    '┓',
    '┛',
    '(',
    ')',
    ' '],
  scenes = [
    15064,
    250763,
    157064,
    25064,
    15063],
  actives = scenes.slice(0),
  output = document.getElementById('output');

function make(scene) {
  var ret = '';
  scene.toString().split('').forEach(function (item) {
    ret += parts[item];
  });
  return ret;
}

function play() {
  if(actives.length === 0) {
    actives = scenes.slice(0);
  }
  output.textContent = make(actives.shift());
if you run that in your console (replacing the output with console.log), it looks like the human centipede
 
user1125394
@eazimmerman really?
 
Hey @Loktar, your website just killed my Firefox with the big post on the front page
 
user1125394
 
user1125394
4:21 PM
note: didn't know of async
 
@mikedidthis i did, and the php returned my last tweet, but there was a BIG link that was returned...is that supposed to happen
 
@dievardump didn't kill mine, but I would agree that canvas-code or whatever should not run on page-load on blogs
 
@cx oh, it won't run with normal html/js
-___- i should read before i speak
 
@rlemon The demo is borked
 
it needs a minify solution
 
user1125394
4:23 PM
@eazimmerman what?
 
@cx ignore everything i said and will ever say
 
I do not know what I checked on about:flags but I now have a grid (like photoshop guides) on all my pages
 
close the dev tools
 
@dievardump lol really?
I need to redo it
 
Yes
 
4:28 PM
blarg.. I dont feel like it though
but I know I need to
 
The dev tool is not opened
 
@Loktar just link to the pen instead of embedding it
 
@FlorianMargaine I reseted all to default and it<s gone
 
@GNi33 yeah Ill do that for now I guess
 
4:33 PM
anyone here use ebay alot?
 
seen embedded fiddles and/or pens on several sites now, and really never liked it
 
@eazimmerman almost there lol, getting the styling done :)
 
especially embedded fiddles slowed the page down so much, causing me to ragequit the browser-tab
@rlemon oh wow, i missed your 100k message mark by far now
oh no, not that far, that was the message count of all rooms
 
@FlorianMargaine Hahaha, no, I don't
I tried to use it once
They expected way too cheap freelance work, and the work and people wanting it were very stupid
@GNi33 Yay!
It sounds very familiar
 
is it possible to code a tamper money extension in your text editor? like when you save it auto updates?
 
4:38 PM
What's a "tamper money extension"?
 
*
 
Ah, tamper monkey
 
okay, tampermonkey makes a little more sense now
 
@Ryan which one?
 
sorry
@GNi33 so do you know?
 
4:41 PM
> The scripts are stored within a database. Please take a look at the FAQ how to access this. Due to Chrome's security restrictions it's at the moment not possible to automatically edit the scripts in an external editor, but you can copy and paste them to the editor of your choise, modify them and copy the whole script back to TM.
Doesn't seem like you can
It's from 2012, so maybe something's changed
 
@AmaanCheval ok, well then in that case maybe appending a external js file into the page with TM would be the best option?
 
@rlemon Whoa
 
THRESHOLD ~60,
SIZE_MODIFIER ~ 60 is best imo
 
@Connor No idea
@rlemon This is awesome!
It lags a little for me, though
 
4:43 PM
yea, i'll work on that.
there is a lot of getImageData's
 
@rlemon awesome
 
You should remove the background once you're done, then
 
@AmaanCheval DAT GUI on the right.
 
Oops, didn't see the show video option
 
Im just playing around with the settings now to get a good default before I make a pen
also, wondering about that video - I ripped it from youtube and uploaded it to my server...
probably will be ok ?
 
4:46 PM
Don't really know. I think it's against YouTube's policy
See if you can find a mirror
 
yea well, if they provided me with a mp4 :?
couldn't figure out how to get it working cross-domain (methink they no cors)
 
@rlemon The one you just linked to Loktar. I see the controls now, which is good, but I don't see any video or motion or anything.
 
@RyanKinal any errors?
DOM exceptions?
 
uh, and I was wondering why it doesn't work on FF
 
Not that I can see
 
4:47 PM
because I don't prefix anything but webkit
sorry.
 
Guys.... we need a js room harlem shake :3
 
demo's for me are chrome only.
 
@RyanKinal browser?
FF doesn't support mp4
 
user1596138
Preferred way to time how long someone hovers on an element?
 
Chrome
 
4:48 PM
@GNi33 FF supports only open formats
and those to .. very limited :-(
 
user1596138
I know how to do it. I also know that you guys always have a solution 3X more efficient than mine haha
 
var start;
element.onmouseover = function() {
  start  = Date.now();
}
element.onmouseout = function() {
  alert( Date.now() - start );
}
 
user1596138
@rlemon That's what I'm doing. Guess I got this one right ;)
 
@RyanKinal that is so strange.
what version of chrome / os?
 
You should change this onmouseover to onmouseenter [to be verified]
 
4:57 PM
@rlemon v27, Win 7
 
user1596138
How about this:
 
user1596138
Nah. Nevermind.
 
@RyanKinal hrm
same
clear cache and try now lemonmeme.com/demos/motion_demo.html
 
user1596138
@rlemon what am I looking at right now?
 
user1596138
Wow. Turn off the video and it looks sick!
 
5:06 PM
in Chrome: there should be a video playing and where the video has motion red dots appear. The dot size is proportional to the amount of change in the area (5*5)
 
Oh, you know what? I've had trouble with HTML5 video on this machine.
For whatever reason
I'm guessing it's not your fault.
 
:P
not enough jQuery
 
@rlemon Hi :)
 
eBay has the most pathetic id's & classes, any idea what this could mean? my_itl-itR
 
user1596138
@rlemon This is weird! I can see it just fine in Safari, but when I take a screenshot the dots don't show up!!
 
5:07 PM
ouch
 
Hello. Trying to add an onmouseout to return things to 'normal'. Currently this works, but if u want to click a the link in the onclick, you cannot because if you try to move your cursor to the displaycityinfo box, the onmouseover 'takes over': codeshare.io/fwLs9
 
that chrome?
 
Anyone know anything about domain PR/Backlinks?
 
@Jhawinsss That's what I see too
 
any audio playing?
I suppose for whatever reason the video is just not playing?
 
5:08 PM
Yep!
 
user1596138
@RyanKinal No it's actually great here! It looks awesome. But the screenshot won't show anything which is fucking weird.
 
ohh you got audio... but the canvas is not taking the video
 
Ah. Then I'm alone :-(
 
Is there a webmasters chat on stackoverflow?
That's active.?
 
Yeah, I have audio, but no video.
 
user1596138
5:08 PM
 
Which I'm kind of okay with... I <3 this song.
 
user1596138
Full screenshot works though.
 
@Jhawinsss you could have taken the screen shot at the exact ms I cleared the canvas and was about to re-draw?
 
user1596138
@rlemon Nah, I tried 3 screenshots. If I take one of just the Safari window it won't show up. If I take one of the whole screen it's there everytime.
 
Huh. I wonder what the ratio of "cleared" vs. "drawn" is, in terms of time.
 
5:10 PM
@rlemon pretty cool man
 
@RyanKinal < 1ms
err. wait. that isn't what you asked.
 
still dealing with problems from yesterday...
 
@Loktar I hate you... now all I wanna do is fuck with Canvas.
you've ruined my productivity.
 
Is blank/drawn higher or lower than 1?
 
haha
yeah man its all I ever seem to do now
my other js skills are rusting over
 
user1596138
5:12 PM
@rlemon You made me wanna fuck with canvas sooo bad after this last thing. That's seriously cool man.
 
motion detection was so freaking easy
I expected it to be harder.
 
is there a better way of doing this ? $(this).next().next().next(); i know not doing it full stop would be nice but i can't
 
yeah its just checking the diff
the api for vid feeds is cool
 
yea man. cept i'm not really getting into that
 
oh shit speaking of that, soon Ill get my umm.. pc kinect thing
wtf is it called..
 
user1596138
5:13 PM
@Connor I had the same question awhile ago.
 
Leapmotion
 
user1596138
@Connor @rlemon wrote this fiddle for it. jsfiddle.net/rlemon/yungE/1
 
he's looking for siblings.
not parents.
 
5:14 PM
you guys have seen that right?
pretty amazing
 
user1596138
@rlemon Same concept though.
 
Trying to add an onmouseout to return things to 'normal'. Currently this works, but if u want to click a the link in the onclick, you cannot because if you try to move your cursor to the displaycityinfo box, the onmouseover 'takes over': codeshare.io/fwLs9
 
user1596138
I asked about siblings too... Someone came up with a function for it, I forget who.
 
hi everyone
 
yeah, you could use $(this).parent().get(4); for that, if your lazy like me
i think
@KevinMurphy kev (Y)
 
5:17 PM
@Connor :* <3
 
@Loktar I've heard about it. Looks pretty awesome.
 
user1596138
@Connor That'd work?
 
yeah im pretty excited looks like it ships july 22nd
 
user1596138
I'd rather come up with a good pure-JS solution.
 
@Jhawinsss that would not work, next gets the element next to it not inside/outside of it
 
5:18 PM
jQuery.fn.nthSibling = function(n) {
    var sibling = this;
    while( (sibling = sibling.next()) && --n );
    return sibling;
};
 
@rlemon loves it
 
@DavidPardy Any chance of a working demo? Maybe on jsbin.com or jsfiddle.net?
 
user1596138
@Connor Why'd you say it then haha
 
@rlemon i don't like copying code, but i will and thanks
 
np
 
5:19 PM
@Jhawinsss because $(this).parent().get(4); is the same as the fiddle you sent me
 
$(this).parent() knows nothing about this's original position
it will always return the 4th child of parent
not the 4th position past this
 
wut
$(this).parent() is always 0-1 element result? so there is just get(0)
 
user1596138
@Connor No, it isn't. Not at all. The fiddle I sent works ;)
 
hrm, stupid .get I was reading .child
 
it is the Java way to do $(this).parent()[0]
must use encapsulated access
 
user1596138
5:23 PM
I still think that it's absolute bullshit that there isn't a built in method for this.
 
to do what
 
nth sibling
nth parent
 
A very short question: why does this code (jsFiddle) log empty strings instead of the backgroundColor CSS property?
 
.parents().eq(nth)
 
i meant parents();
 
5:24 PM
bah, not in jQuery
 
.nextAll().eq(nth)
 
user1596138
@Esailija To do something like .parentNode('3') to get to the parent 3 levels up.
 
@ComFreek Because non-inline CSS doesn't set the .style property
 
$(this).parents().get(4);
 
'3' as a string? really?
 
5:25 PM
this is why we have getComputedStyle
 
user1596138
Wait this works!! jQuery('this').parents().eq(1)
 
stupid... but isn't :/
 
@RyanKinal Thanks for your info and example! I'll add this info to my post here stackoverflow.com/questions/17071377/…
 
this.. not 'this' :P
 
@Esailija lol
 
5:26 PM
@ComFreek Well, it was @rlemon that gave you an example ;-)
 
it's ok. you can take my e-credit
 
Oh, you're right ;) @rlemon Thank you, too ;)
 
user1596138
What is the JS equivalent of this? jQuery('this').parents().eq(1). I'm having trouble understanding...
 
user1596138
Nevermind. I get it now.
 
@Jhawinsss What was the actual answer? I would be interested. Does it return the parent of the parent?
 
5:30 PM
@rlemon It works in IE 10 :-P
 
:D
nice
 
Are the dots supposed to be overlaid on the video, or is it supposed to be a white background?
 
I wish I could find a site that hosts mp4 files with cors enabled.
@RyanKinal there is an option
 
Ah, okay
 
starts over the bg, but you can turn off the video display and just see the dots (DAT GUI menu to the top right)
 
5:33 PM
@ComFreek it should, yeah
though this specific thing would return nothing probably
as the first selector would probably fail
 
That option doesn't work in IE 10. Oh well.
 
@GNi33 Thanks for your info ;)
 
@RyanKinal you can probably just toggle it in the console as well
DAT GUI is third party stuff.
 
user1596138
@ComFreek Yes.
 
Ah, I see
 
user1596138
5:36 PM
.eq(0) returns parent. Then .eq(1) and so on just keeps going.
 
!!/tell RyanKinal google DAT GUI
 
user1596138
I'm sure you could do the same thing with .children()?
 
or i will...
 
Yeah, I've just looked up the jQuery docs.
 
user1596138
5:37 PM
It does work with children aswell. It's a pretty elegant solution.
 
guys unprotected sex is scary
don't do it
you're welcome
 
lol
PSA's by @KevinMurphy
 
this has been another random thought moment by Kevin Murphy. See you tomorrow.
 
@Jhawinsss Is it just me, or does this sound wrong?
 
Random my ass.
 
5:38 PM
@rlemon Is this library also used on chromeexperiments.com?
 
@KendallFrey good point. not so random.
 
is it?
 
it's used on pretty much any demo around the web, at least it seems
 
@RyanKinal one sec, think it may be tough since this is using MapServer
actually shouldnt be too bad gimmie a min
 
@KevinMurphy What did you do?
Did you forget a condom again?
 
5:40 PM
@rlemon I only remembered the similar GUI of the demo.
 
!!s/what did/who did/
Aw, the bot's dead
 
@ShotgunNinja i was having hot car sex and before i put a condom on i kinda just went in..
 
It's used for example by the Pixels 3D app: laplace2be.com/lab/PixelParticles
 
@ComFreek :? really... that is the demo showing how to use the GUI
 
@KevinMurphy oh boy. No precum, I hope.
 
5:42 PM
@ShotgunNinja i'm gay so that's not the issue :P haha
 
How do I remove a mental image quickly?
 
@rlemon Yes... I think you misunderstood me ;) Many Chrome experiments use a similar GUI (as far as I could remember when I saw the demo of the page).
 
@KevinMurphy Oh, you.
 
@KendallFrey you don't. you enjoy the mental image and store it in your head for use in the future ;)
 
5:44 PM
Also, this is why I don't use condoms:
 
@RyanKinal this is for you : lemonmeme.com/demos/motion_demo2.html
 
@ShotgunNinja it's all about them STDs
 
(I still keep some around for if my girlfriend is ever on antibiotics or something of that nature)
 
That's a horrible gift. I have to open it in IE.
 
@KevinMurphy Well, check your partner first. Protip.
 
5:45 PM
> You should not use <birth control> if you are pregnant or think you may be pregnant.
 
user1596138
@ShotgunNinja Oh shit.... Hahahaha
 
Oh god. It's an even more horrible gift. Those lips are creepy.
 
@ShotgunNinja yeah he's clean. i think i'm good but i'll forever worry until I get tested in a month.
 
@KevinMurphy Happy pride month, though.
2
 
@ShotgunNinja thanks bby
 
5:46 PM
@KevinMurphy ;D
Yeah, I marched in the Milwaukee Pride Parade, with the cast of Sensual Daydreams.
 
Oh, wait. You're the bi guy, aren't you?
 
ohh god... lemonmeme.com/demos/motion_demo.html uncheck USE_COLOR and uncheck showVideo
 
Yeah, for lack of a better term.
 
user1596138
@rlemon Looks fine to me?
 
Q: What is bipolar?
A: A sexually curious white bear.
 
5:48 PM
I'm not exactly to one side of the Kinsey scale or the other.
 
If you ask me, the Kinsey scale should be 2D.
 
@Jhawinsss well I changed it so you can show the colours of the pixles in motion
looks better to me
 
asexual             straight
homosexual      bisexual
 
@rlemon Dude. That's sweet.
 
TIL about Kinsey scale. What's the use of such a scale ?
 
5:49 PM
Measuring gayness, to put it bluntly.
 
To determine how sexually attracted you are to the same sex.
 
Yeah that.
 
It's limited in that it doesn't determine asexuality or sex drive.
 
Whereas my scale does.
 
And that you're not attracted to the same sex or not but to persons...
 
5:50 PM
I think Loktar is sexy as hell... does he do anything for me? not one bit.
 
It also doesn't have anything in the way of biromanticism.
 
I gotta study that video more... steal some moves.
 
Oh, yeah, it should be 3D. One more dimension for sheep.
 
but I am comfortable enough with my sexuality that I can say other men are attractive.
 
user1596138
@rlemon It looks pretty sweet.
 
5:51 PM
@rlemon it's not working for me
 
chrome only
 
user1596138
@CapricaSix is down a lot recently....
 
Also I should work on my glides...
 
video doesn't show and i only see "close controls"
i am in chrome
it was working for me earlier
 
Try IE 10 ;-)
 
5:52 PM
does it display errors?
 
user1596138
It looks prefect in Safari guys. Just sayin'....
 
looks perfect here as well.
 
Recipe to go mental:
  1.) Write a fucking long email on a tiny smartphone touch keyboard.
  2.) Almost finish the email.
  3.) Have the GMail app crash, dumping all you wrote.
  4.) Use smartphone as a Frisbee.
 
I only cared about webkit and the track is a mp4 which doesn't work in some places
 
IE10 works well, as long as you don't want to show/hid the video with dat gui
 
5:52 PM
`Uncaught Error: IndexSizeError: DOM Exception 1 motion_demo.html:76
getImageData motion_demo.html:76
(anonymous function) motion_demo.html:60`
 
I ready frisbee as freebase
was super confused.
@eazimmerman the song is loading before it is loading ;)
 
!!s/ready/read/
 
tl;dr I should fix that
 
user1596138
@rlemon It actually doesn't work in Chrome 27 for me either. But Safari is fine.
 
strange
works fine for me in Chrome 27
 
user1596138
5:54 PM
Uncaught Error: IndexSizeError: DOM Exception 1
 
maybe because video cache?
 
user1596138
That's all I get.
 
that DOM Exception is because i'm getting image data when height/width are not yet set
 
@SomeKittens Caprica seems to hate you today.
 
Guys. I have a problem.
 
user1596138
5:54 PM
 
29 secs ago, by rlemon
that DOM Exception is because i'm getting image data when height/width are not yet set
	// we need to know the end height / width
	height = canvas.height = output_canvas.height = video.offsetHeight;
	width = canvas.width = output_canvas.width = video.offsetWidth;
	// then get our initial image data
	data = getImageData(),
    pdata = getImageData();
 
... all I want to do is dance.
 
@Jhawinsss Same thing I'm getting
 
but it should work
 
!!are you ignoring me?
 
5:55 PM
!!/live
 
!!up yours
 
@SomeKittens Six isn't awake, for some reason
 
user1596138
Weird. Just figured I'd post the screenie so you could see.
 
!!Coffee of Water
 
@RyanKinal Well, she's been doing a triple shift for a couple of days ... give her a break.
 
5:56 PM
@OctavianDamiean Truth
 
@RyanKinal rlemon took her down to... fiddle with her.
 
@eazimmerman I figured it was her fiddling with Zirak
 
jsfinger.net
 
So, I need some career advice, and since Caprica isn't around for !!/choose, I figured I'd ask you guys.
I'm really not happy with how the job in SF is working out
 
5:56 PM
Ask Ninja Echo, of course.
 
oh great.
@Kendall, you remember the wish list shit I've been working on, right?
 
Nope.
 
or at least you were around to hear me ranting?
 
Maybe.
 
user1596138
!!are you bored
 
5:58 PM
Well, I'm doing a bunch of changes to several websites to change the wish lists from cookies to database-backed.
 
Every single site has minor differences in it that makes none of them work the same.
 
ohh son of a fuck....
hidden elements have no height/width values.
:/
 
user1596138
Running the script for the bot manually throws errors too :( She's broken...
 
@SomeKittens go on...
 
5:59 PM
Well, I was just told that the next site doesn't have a login system (which we need to relate wish list content in our database to a specific user). So I'm just supposed to grab one from another website and shove it in this one.
 
@SomeKittens Yes, please continue
 

« first day (970 days earlier)      last day (3985 days later) »