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

12:00 AM
@CapricaSix I am trying to make a function that if you click on an <img> it changes to an iframe, but I can't seem to to put the puzzle peices together with this: w3schools.com/js/js_htmldom_elements.asp
 
:0101011 That's great, but I'm a bot. So if you want help type !!/help
 
@CapricaSix !!/help
 
someone free me from mindjail aaaaaaahhh!!!!!
 
@DemCodeLines I am out!
return 0;
 
Wait what?
 
12:04 AM
!!/unban DemCodeLines
 
@BenjaminGruenbaum User DemCodeLines isn't in mindjail.
 
Focus on the other room bro
Also, you were not in mindjail
 
Hehe
 
@BenjaminGruenbaum 895174 (?) 1355043 (?)
 
12:05 AM
@Zirak when an unknown user is banned, it should link to the SO profile with that ID
In fact, it probably should anyway
@CapricaSix Y U NO Greet @angelatlarge ?
 
@BenjaminGruenbaum Lurking.
@BenjaminGruenbaum Looking at bots :)
 
haha @angelatlarge
 
@angelatlarge I'm just ripping on our bot for messing up there :) It's programmed to greet new users
 
@StaceyAnne :)
@BenjaminGruenbaum Ah.
 
grooveshark.com/s/Alone/55nbno?src=5 @phenomnomnominal DAT VOICE BRO
 
12:21 AM
@Loktar tried updating the gradients by re-creating them... 6fps.
:P
 
@Gacnt, you're wrong.
 
I have height / width of the canvas and a undetermined amount of circles to draw. the circles have a max radius you can assume. Someone give me an equation to give it a cool pattern.
 
user1125394
πr²
 
@LaymanCoder 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.
 
for( var i = 0, l = CHANNELS.length; i < l; i++ ) {
	forceEmitter.create({
        y : ???,
        x : ???,
        channel: CHANNELS[i],
        color: {
            r: 255,
            g: 255,
            b: 255,
	    a: 1
        }
    });
}
stupid tabs
 
12:32 AM
@rlemon what are your channels?
 
user1125394
// Autogenerated, do not edit. All changes will be undone.
 
@phenomnomnominal audio channels.
0-255
but in this instance [0, 64, 11, 78, 2, 54]
 
i.imgur.com/bNuTSh4.gif // C-C-C-COMBO BREAKKERRRR
 
Won't there only be 2 channels?
 
I use channels incorrectly here
 
12:33 AM
Ah
 
buffer contains 255 values. I call them channels.
 
@rlemon Want me to explain the use of channels to you?
 
want me to ignore you without actually ignoring you :P
ok?
sweet.
 
Tune in next time on Dragon Ball Z
Home time ttyl you big sexy
 
DBZ?? really?
who are you Abhishek?
 
12:36 AM
I summon the power of the @Darkyen
 
so no one can give me a sweet arc, or a figure 8 or something?
 
8
 
I hope you stub your toe on the way out of the office.
 
rofl
C arc for you
Ok I'm gone :D
 
keep me updated on the toe situation
 
12:38 AM
@rlemon Any use?
 
give me the answer and i'll show you :P
it's a small part of a much larger thing
I just suck at trig.
s/suck at/get frustrated very quickly with/
I suppose they are the same :?
 
i'm not completely sure what you're searching for?
you just want to fill the canvas with circles?
 
ok, I have a canvas, 800*600px, and I have a set of circles to draw on the canvas. max N px radius. I need an equation to position them in a (fun) pattern.
y : Math.random() * height,
x : Math.random() * width,
something better than this ^
 
a random fun pattern?
 
no, not random
that is the point
 
12:41 AM
@rlemon what like? a spiral?
 
all I can think of is to position them in a circle.
spiral might be nice?
idk.
 
what's this for? haha
 
The Archimedean spiral (also known as the arithmetic spiral or spiral of Archimedes) is a spiral named after the 3rd century BC Greek mathematician Archimedes. It is the locus of points corresponding to the locations over time of a point moving away from a fixed point with a constant speed along a line which rotates with constant angular velocity. Equivalently, in polar coordinates (r, θ) it can be described by the equation :\, r=a+b\theta with real numbers a and b. Changing the parameter a will turn the spiral, while b controls the distance between successive turnings. Archimedes des...
 
ugh. you're really going to make me post it without the cool pattern?
 
12:43 AM
You're fast
 
@BenjaminGruenbaum ah there's nothing to it really
yet
 
Yeah, just run emmet, then Mustache, right?
 
yep
like I say in the readme, hardest part will be the server-side compilation
 
 
@BenjaminGruenbaum bust out yo maths...
 
12:44 AM
I do give myself bonus points for the nested office quote though
 
 
user1125394
I'm sure someone here know a good js lib for styling and sorting tables, better than datatables.js
 
@BenjaminGruenbaum hehe 1 sec
14 mins ago, by rlemon
for( var i = 0, l = CHANNELS.length; i < l; i++ ) {
	forceEmitter.create({
        y : ???,
        x : ???,
        channel: CHANNELS[i],
        color: {
            r: 255,
            g: 255,
            b: 255,
	    a: 1
        }
    });
}
 
@rlemon are any of those cool ^
 
12:47 AM
I have a limit for the max radius of each circle (forces are circles) I need to be able to display them in a cool pattern of sorts
the white circles are the circles I need to be positioned in a coolish pattern
 
> Loading audio track. This may take a while.
 
I didn't lie.
Chrome only btw
 
I'm in Chrome. How long is a while?
 
it's a couple meg mp3
how fast is your connection?
 
I hear it now
does the blob move to the beat? hm, cool.
 
user1125394
12:50 AM
datatables use alert for their exception, man that's not serious
 
@Nile yea. and the random positioning of the force emitters makes it really unreliable.
 
Would it be too distracting to position them in a spiral like @phenomnomnominal said and have the spiral rotating?
 
sure :P I don't know how :P
+ lazy
hence help vamping
I feel I've earned it.
 
hmm, let me think
Is there something in canvas that you can paint to and then rotate that whole part of the canvas? Or do you need each element individually
@rlemon Is there a random amount of circles? And what does the max radius of each individual circle depend on?
I.e., can each circle have the same diameter?
 
@Nile circles are dependent on the number I specify - will normally be between 4-10, and min 15px rad / max ~150
diameters change.
never above max.
 
12:58 AM
What about batman?
 
you are batman?
 
@RahulKhosla 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.
 
I got a CSS related question, I need help with cross browser rendering, may someone please PM me and assist me. - Thanks
 
no
*about the pm. just ask
did you not read the welcome message at all?
 
1:01 AM
Ok, well my site: graphicshop.net , look on chrome then firefox.
 
thats not a question
 
How do I fix it?
 
sudo rm -rf /var/www/*
 
Im on Windows.
 
hi @Shmiddty
 
1:03 AM
@rlemon no mercy haha
 
Spent most of today doing stuff that "never happened"
 
what can I say?
 
I'm guessing your trolling with me :L
 
2 mins ago, by Rahul Khosla
How do I fix it?
 
You're
 
1:04 AM
I'm guessing you're trolling with me?
 
Im not, it's a legit question. Im no good when it comes to cross browsering.
 
how do you fix what?
lets face it. I'm not opening anything in anything.
 
The nav and the News & Updates.
 
you should be able to formulate a question so I don't have to
 
Is that like the hit 90's tabletop game crossfire?
 
1:06 AM
OMG HE HAS A QUESTION!
protip: if you have a mainsite Q just post it first.
 
0
A: Cross-browser rendering issue

Jude OsbornTry setting #menu ul to position: absolute;

 
Or does he?
 
@Shmiddty why do hot dog buns come in packages of 8, while hot dogs come in packages of 12?
 
@rlemon because in UK we get hotgods in 8's
 
why do we park in a drive-way... and drive on a park-way?
you have hot gods?
 
1:07 AM
hot dogs **
 
Because you feed 4 to the dogs
 
we only have this old dude and some fat guys
no but in all seriousness.
 
I think American's have 12 and British have 8.
 
I think I hate being coupled into "Americans"
 
But you are an American
 
1:09 AM
I'm from the America's
I'm a North American
 
Sorry.
 
American has lost all meaning, and now means USA
 
"The USA's have 12"?
 
Mericun. Ftfy
 
'MURICA!
 
1:10 AM
How would I make it so Facebook shows a thumbnail when someone copies-and-paste's my sites url in the facebook box?
 
Also "The Americans have 12" referring to ALL Americans. Not just North.
 
yea, but I hate the notation that I am an "American"
 
Good Q @DemCodeLines , i'd like to know myself tbh.
 
I'm native american (indian) so my pride is a little torn. I love my country but hate that it is a country because it was stolen from me.
 
@rlemon sometimes I do too
 
1:11 AM
@rlemon same.
 
@rlemon great
 
@rlemon Yet, i'm from England.
 
lol
 
at first I didn't get your point at all
it's like me being called British
 
Britainian
 
1:12 AM
I think the reason I don't like bringing it up / thinking about it is because I don't have a place to "go back to"
when the typical argument ensues you hear "Well if you don't like X so much why not go back to your own country!"
.... well bitch... because you are in it...
 
@BenjaminGruenbaum Good idea. I do have to say...that I really hate it when a command lists something. There's a high likelihood that it'll give a 500.
 
I can't tell if your being serous or not.
0
A: Cross-browser rendering issue

Jude OsbornTry setting #menu ul to position: absolute;

 
@rlemon yeah. It amazes me how most Australians aren't of the same mindset
 
@RahulKhosla half / half
 
@Zirak Why?
 
1:13 AM
@AdamLynch hey man, give me an island.
it's better than a reserve.
 
also, criminals.
so really...
 
@LaymanCoder 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.
 
I've never understood github.
 
@BenjaminGruenbaum 500 errors are usually given when the message is too long. Case in point, /listcommands
 
1:14 AM
"sorry your ancestors were a bunch of circlejerks"
 
Pagination sucks
 
@Zirak Bot should just post two messages a second apart :P
 
^
 
@rlemon here's what I've got so far jsfiddle.net/FsRsc/1
 
@rlemon help me?
 
1:15 AM
I've thought about splitting the actual message. But that creates big gnarly ones, and of course, fucks with formatting.
 
What I meant though, is that when we see 123124 (?) it should be 1231231 (? )
Where ? is just /users/1231231
 
Yeah I know, it's a good idea (the whole thing will be a link, including the number)
 
@Nile Wow, I looked at that way to long and I swear it moved.
 
@rlemon I meant that they're ok with it. They voted to keep the union jack on their flag
 
ohh
 
Should that make me feel uneasy?
in Room for Benjamin Gruenbaum and DemCodeLines, 38 mins ago, by DemCodeLines
I thought upvoting a "few" of your things would return 5% of your help :D
Meh, it'll just revert tomorrow
 
feed the vamps and you get the rep sucked back out of you
 
Funny thing is, he wasn't really vamping. He just doesn't know JavaScript like, at all. We covered what variables and functions are.
I'm a total sucker for teaching people how to do something they'd otherwise use a jQuery plugin for :)
That's probably one of my soft spots.
 
I just point them at good resources
sometimes I try to teach
sometimes I lose patience....
 
Meh, I also mainly help people who desperately seek help. He came here like every day for the last 2-3 weeks asking for help with that.
 
1:20 AM
@AdamLynch LOOOL those slides ahahaha
 
I like re-writing jQuery plugins to have no jQuery dependency :P
 
Like that
8
Q: Can't find element in DOM after loading it with ajax (want to bind jquery plug in to it)

GertVSo I have 2 html pages. 1 that functions as container and 1 that functions as content. When I load the content page with a table I'm able to use drag and drop. But when I go to my container page and load the content page into a div with ajax, the drag and drop stops working. All other javascript...

@rlemon Yeah, we ended up only using jQuery for the $.get with a link given to how to do it without jQuery
Using onreadystatechange and checking for a 200 can be baffling if you don't know what ready states, or status codes are
Anyway, gnight
 
lets be clear: I see the point in jQuery - it's used in horrendous ways... i don't agree with all api decisions... but I see the point in it. I hate 95% of the jQuery Devs.... not jQuery.
 
@BenjaminGruenbaum Wait, DemCodeLines finally got some sense knocked into him?
Congrats, you get a Internet cookie
 
@SomeKittens ty sir.
He just needed help, he wasn't an asshole or anything and he actually liked learning.
The problem is where to start, if you go to that chat room we start with basic stuff.
Anyway night :)
 
1:23 AM
people need to see past the jsarcasm... we're all nice people. we're just dicks because it can be fun.
 
night
We tried to convince him to start with the basics, he wasn't having any of that...
 
ahh
"I know what a hammer and a nail is, I should be able to build a house?" ??
 
More like "Stop trying to teach me how to build a lobby, all I want to do is build the seventh floor!"
 
made me think of this:
The Thirteenth Floor is a 1999 science fiction/crime thriller film directed by Josef Rusnak and loosely based upon Simulacron-3 (1964), a novel by Daniel F. Galouye. The film stars Craig Bierko, Gretchen Mol, Armin Mueller-Stahl, Vincent D'Onofrio, and Dennis Haysbert. In 2000, The Thirteenth Floor was nominated for the Saturn Award for Best Science Fiction Film, losing to The Matrix. Plot In late 1990s Los Angeles, Hannon Fuller (Armin Mueller-Stahl) owns a multi-billion-dollar computer enterprise, and is the inventor of a newly-completed virtual reality (VR) simulation of 1937 Los Ange...
I remember it being a good movie... however I watched it probably around 2001?
so who knows.
 
Yeah. The Matrix hasn't aged nearly as well as I'd hoped.
 
1:30 AM
lol
 
My supervisor worked on the Matrix
 
my ex convinced me to audition for Twilight (as one of the natives) - I got a callback and they wanted me to goto BC for filming but the pay wasn't > the $$ lost during my time off. :/ extras/nolines make no $
 
@rlemon setInterval used for dirty work and I don't actually approve: jsfiddle.net/FsRsc/2
 
@rlemon and then there's the cost of your pride
 
@Shmiddty eh, money is money.
 
1:34 AM
@rlemon you want me to integrate it also? :p
 
I did a lot of theater, never liked acting for the camera. but neither pay that well unless you are in a staring role.
@Nile lazy + lazy == "yes"; // true
also, I have a slight drinking problem.

Once I've been drinking, coding becomes a problem. :/ it's horrible.
 
I'll try for like 5 minutes, I've got a test tomorrow though. most of the math is done for you though
 
RAD_HIGH_LIMIT is the max radius of the emitters
 
forceEmitter.create({ creates circles?
 
yes
 
1:38 AM
We're making old-school wmp visualizations, right?
 
@rlemon YOU SHOULD HAVE DONE IT.
 
lol
they wanted to pay me next to nothing to go to BC for like a month
nevah
@Shmiddty yea pretty much
I got the idea in my head that the fluid simulation would look badass with some audio control.
 
can forceEmitter return the generated radius of the circle?
 
I can turn the attraction force to a repulsion, and put them at the bottom (then use all 255 spread out)
@Nile it fluctuates
 
oh, so just stick with the max
 
1:41 AM
assume it is max.
 
hmm, it'll be difficult because I need to keep track of all the circles in an array
 
Why?
 
can I access the circle array that the forceEmitter uses?
 
forceEmitter.forces
@Shmiddty got a solution?
doesn't have to be a spiral. I'm just sick of the random
 
Solution to what?
 
1:44 AM
I don't know how I'd be able to rotate the whole spiral and have the pulse going without taking a while =/
 
Context.rotate
 
lemonmeme.com/demos/The%20Blob @Shmiddty the 'force emitters' are the white spots. They pull the 'Particles' towards them. atm they are positioned randomly.
 
Yes I saw
 
lemonmeme.com/demos/The%20Blob/src/js/application.js see the for loop after var audio = ...
 
try:
 
1:45 AM
On my phone
 
	forceEmitter.create({
        y : Math.sin(.5*i)*((center.y / 10) + i*5),
        x : Math.cos(.5*i)*((center.x / 10) + i*5),
 
@rlemon You wanted a spiral? tinker.io/8b4e8
 
making sure that an object center contains the x, y coords
 
It's relatively simple following the Archimedean spiral
 
@rlemon changed that second sin to cos
 
1:47 AM
obvy
 
Nobody likes my spiral? ;-;
 
I love it
Can I have sex with it?
 
It's nice. I didn't know you could name variables θ
 
0
Q: RailsIntaller for Ubuntu?

Ordep81Im an Ubuntu newb, and so far installing programs has been a major PITA for me. Just downloading Sumblime2 text editor in Ubuntu required some terminal commands that im not used to. As opposed on a Mac or Windows simply clicking on the download button. I would like to build some RoR applications ...

lol
 
@rlemon good luck with your spiral. I'm off.
 
1:53 AM
It's fun playing with the b
I so want to do a Fermat spiral. But API.
It'd have to be split into two. Which ruins the fun of a Fermat spiral.
 
@Zirak I wonder if using the Cos^2+Sin^2 = 1 is faster than calling both cos and sin on the same angle
 
for( var i = 0, l = CHANNELS.length; i < l; i++ ) {
	forceEmitter.create({
        y : Math.sin( (i+1) * (RAD_HIGH_LIMIT/5) ) * (height / 4) + (height / 1.5),
        x : Math.cos( (i+1) * (RAD_HIGH_LIMIT/5) ) * (width / 4) + (width / 2),
        channel: CHANNELS[i],
        color: {
            r: 255,
            g: 255,
            b: 255,
			a: 1
        }
    });
}
I got lazy
 
link?
 

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