Dec. 27, 2012

[19:17:44] pilgrimish: leaves
[19:50:48] pilgrimish: joins
[20:07:23] pilgrimish: leaves
[20:19:07] pilgrimish: joins
[20:20:54] pilgrimish: leaves
[21:36:40] waltd3: leaves
[22:36:10] pilgrimish: joins
[22:54:40] pilgrimish: leaves
[23:13:00] waltd3: joins
[23:14:30] pilgrimish: joins
[23:26:01] pilgrimish: leaves
[00:44:11] pilgrimish: joins
[00:56:19] pilgrimish: leaves
[01:06:58] pilgrimish: joins
[01:20:29] pilgrimish: leaves
[08:46:38] jczuy: joins
[10:47:59] thisgeek: joins
[11:44:29] kenbolton: joins
[12:38:32] kenbolton: https://github.com/blog/1364-downtime-last-saturday
[12:51:58] thisgeek: New acronym of the day: shoot the other node in the head
[12:58:15] thisgeek: leaves
[14:07:19] thisgeek: joins
[14:24:01] thisgeek: http://ourobengr.com/wp-uploads/2012/05/ha-deathmatch.png
[14:24:10] thisgeek: http://ourobengr.com/ha/
[14:50:02] thisgeek: kenbolton: Business question.
[14:50:46] thisgeek: kenbolton: Do you always wait for payment from the client before pushing new code to production?
[15:34:01] kenbolton: thisgeek: i should!
[15:34:04] kenbolton: thisgeek: but i don't.
[15:34:51] thisgeek: Don't ever, or don't usually, or don't alway?
[15:34:54] thisgeek: always*
[15:59:41] pilgrimish: joins
[16:23:22] pilgrimish: yo boys, anyone know of any js that forces all elements to return to a given location?
[16:23:59] thisgeek: pilgrimish: Is this for a drag and drop interface?
[16:24:12] pilgrimish: thisgeek: sure is
[16:24:35] pilgrimish: doing some whacky shyte with a site i'm finishing up on
[16:24:45] pilgrimish: making bees all return to their bee boxes
[16:25:16] thisgeek: pilgrimish: Did you implement the drag and drop yourself or did you use a plugin or library or evil encantation?
[16:26:02] pilgrimish: bit of the good, bit of the bad
[16:26:34] pilgrimish: there is a return function available that's not being used
[16:29:13] thisgeek: pilgrimish: What's the plugin you are using?
[16:29:39] pilgrimish: thisgeek: http://quirksmode.org/js/dragdrop.html
[16:33:37] thisgeek: We need a name for the effect you are trying to achive. Let's call it snap back for now.
[16:33:46] thisgeek: Do you need to animate the snap back?
[16:34:15] thisgeek: achieve*
[16:35:12] pilgrimish: thisgeek: sorry i can't show you the feature at the moment, i'm working on my local. there are a bunch of bees that are scattered in different locations. upon arriving at the hive, i'm considering a button that "pulls" them back from wherever they are
[16:35:17] pilgrimish: swap back is quite alright
[16:35:20] pilgrimish: snap
[16:36:04] pilgrimish: i'm thinking that i need to create a variable and append it to that return function
[16:36:17] thisgeek: pilgrimish: I see a dragDrop prototype has two properties: startX and startY
[16:36:29] thisgeek: Do those values stay the same always?
[16:36:42] pilgrimish: if the bee is not moved by the user, yes
[16:37:20] thisgeek: OK. So your first problem is saving the origin position, wherever the hive is.
[16:38:25] thisgeek: Then you can use those values to pass to the setPosition function.
[16:43:50] pilgrimish: you mean the currently defined setPosition function
[16:43:58] pilgrimish: thisgeek: you mean the currently defined setPosition function
[16:44:06] thisgeek: Yes.
[16:44:27] pilgrimish: ok
[16:50:17] pilgrimish: thisgeek: thanks Chris, so the hive's position needs to be in it's own function?
[16:51:13] thisgeek: I would probably make a function called returnToOrigin and two properties call originX and originY
[16:51:45] thisgeek: returnToOrigin would pass originX and originY to the setPosition function.
[16:51:58] pilgrimish: so where I was thinking you'd create an origin position variable, a function is needed instead
[16:52:38] thisgeek: the two properties would stand in for that position variable, if I understand you
[16:53:51] pilgrimish: thisgeek: …my brain on code, not totally kosher yet
[16:57:45] pilgrimish: will let you know what i create
[17:09:15] pilgrimish: leaves
[17:28:07] pilgrimish: joins
[17:39:28] pilgrimish: leaves
[17:57:16] jczuy: leaves
[17:57:25] pilgrimish: joins
[18:10:13] pilgrimish: leaves
[18:16:17] thisgeek: leaves