« first day (783 days earlier)      last day (4166 days later) » 

4:00 PM
ohhh.. the craver has spoken ?! who summoned him, gotta read the context
 
@jAndy hmm?
RAGE!!!
 
its starred !
 
ooo
 
I would have liked that more if it actually had a closing div without a slash or smth :p
 
The fuck ? Thats copying the MS Concept video :-|
 
4:04 PM
At the risk of starting a flame war: "The only way you could do it..." doesn't imply advice, just a solution. The only solution within the context of the language is to use an external scope (e.g., global scope, or some other namespace). However, as you say, this restriction can be lifted using sophisticated debugging tools; but this is outside the specification of the language, itself. — Xophmeister 1 min ago
is that me or he's off-topic?
oh well
off for week end!
 
It's just entirely wrong
 
@copy: elaborate
 
is e.pageY - window.scrollY really identical to e.clientY?
 
@SimonSarris did you test it?
 
4:09 PM
SIMON SAYS ANSWER THE QUESTION ! STFU!?=$=!`%"§)$"
 
The top comment is priceless
 
@jAndy Debugging isn't part of the language, it's part of the tools. And moving a variable to global scope for debugging isn't just horrible, it can also break things
 
@Neal for very small values of testing it
 
@copy: I don't think it was meant like so. He was pointing out (my guess) that accessing shared "variables" is a questions of scope
 
See, this whole problem has arisen because I used to use pageX/Y while computing an offset of the current element with offsetLeft/Top and clientLeft/Top. AND LIFE WAS AWESOME
 
4:11 PM
but I might be wrong, nvm
 
Along come some very peculiar HTML pages, pages that have funny-styled DIVs and on these pages my mouse code was reporting incorrect values for some browsers (Firefox) but not others
So I switched to getBoundingClientRect and clientX/Y
 
Hi there, regular in C#, first time in JS. A little help if you don't mind: in jQuery I have var alpha = function() { this.beta = function() { //some code } this.gamma = function() { $(this.selector).animate(//some css, 500, function() { //some code //asdf }} How do I call beta where asdf is?
 
Now I am in the dank forest of coordinate despair, and the first little demon-goat that tries to whisper "jQuery" gets shot.
 
@SimonSarris yeah I use getBoundingClientRect religiously
 
@Loktar its slow! Twice as slow as computing the damn offset yourself every time :(
not that either of them are REALLY particularly slow compared to, say, drawing text
 
4:13 PM
ouch.. didn't realize I suppose. I used it for a game that had to work in IE7
 
how to make friends in this channel from second 0 ? -> ..first time in JS A little help if you don't mind: in jQuery I have
(no hard feelings, just funny) :)
 
@jAndy Well, then it's off-topic
 
my old mouse code versus David Geary's
 
@dav_i: you can use shift-return to create soft-line breaks and then "fixed font" to indent the content. that way you can send clean and nice to read code
might get (re)moved otherwise
 
you can make it much less ugly if you don't care about border/padding/margin/HTMLoffset
 
4:17 PM
@jAndy OK, I'll rewrite (too late to edit)
 
don't forget to use white-space characters to format further indents of lines
 
 var alpha = function() {
   this.beta = function() {
     //some code
  }
  this.gamma = function() {
     $(this.selector).animate(
       //some css,
       500,
       function() {
         //some code
         //call beta here
       }
     }
  }
how do I call beta from where that comment is?
I can't use this as the scope has changed... correct?
 
var alpha = function() {
    var self = this;
...
and later access self.beta();
 
ahhh
thankyou very much
 
its like storing the reference from the this context object into a local variable
 
4:21 PM
Can tell it's a Friday eh?
 
which gets closured by all your functions
 
Makes perfect sense :)
 
var alpha = function() {
  var foo = this.foo = "foo";
  this.bar = function() {
    console.log(foo);
  };
};
var a = new alpha(); a.bar();
muahahahaha, another option.
 
Cheers
 
I felt like contributing
 
4:22 PM
we can also man up and use Function.prototype.bind
 
@rlemon You've caught me cheating on the C# room
 
meh, I saw nothing.
 
I trusted you *sob*
 
Anyone know how to clear floated elements inside a 100% width container? :/
 
4:24 PM
lol
 
@robjb uhhh example?
 
jsfiddle.net/65ZQS <- Trying to get container to expand vertically
 
@rlemon Looks like a ninja turtle
 
When width is small enough that div#right gets pushed beneath div#left
 
4:26 PM
@SimonSarris nice
 
I have no clue what you are trying to do.
 
lol you are all about the performance :P
 
No ...
Placement of the blue and red divs is fine
 
ok so you have a container, with two centered divs, and you want them to wrap if the container shrinks below their combined widths.
 
I want the yellow container to expand vertically when the width is small enough that the blue one gets pushed beneath the red one
 
4:28 PM
okkk
 
The wrapping already occurs
The container does not expand to contain the overflow
 
hrmm, methinks I have seen this before and the solution was to use inline-block on some element.
let me tinker
 
Alrighty, it's a problem I know I've had before too ... but I haven't done much client-side web stuff in a few years
Any insight appreciated :)
 
ohh snap, I didn't notice before
you set the height on the container
of course it won't grow ;)
you need to set the height on the inner elements. or let them expand naturally
done and done
 
ahhhh, so easy but I didn't see it. thanks.
much <3
 
4:37 PM
its so mean if you're really hungry and some co-worker in the next office just cooked an OH-SO-GREAT-smelling meal
torture :/
 
So, I have a few marine tanks... got a moonlight led lamp to see what kinda things like to come out at night. I first saw one of these before my trip (during the day), however at night they come out in force.
mine are babies... so like half the size of a pea, but they are growing.
damn, marine tanks are so interesting. shit just seems to appear
 
Vote: Should I get WhatTheDude.com for a personal site?
 
No
 
Sounds too weird?
 
Doesn't sound weird enough
 
4:45 PM
so much potential... so shitty that he never took time to make it great.
 
@copy Help me think of something weirder?
 
@AmaanCheval xkcd.com
Damn it
 
Hahaha
I think I'm getting it
 
ache.tld
 
Hahaha
 
^ nice
 
Ooh!
 
4:49 PM
 
I can't find the .an extension. Does it exist?
 
> On 31 October 2013, a start will be made to remove domain names from the databases and systems. One year later, the .an will be removed from the DNS root server.
 
WHY GOD WHY!
:/
 
hey guys, your resident pain here ;)
$("h1").on('click', function (e) {
u know this, can u apply this to several parts?
is h1, h2, h6....
for example
$("h1, h5, h6").on('click', function (e) {
 
yes
tl;dr: y
 
5:02 PM
faaaaaaab!
happy bunny alert!
 
happy purple rectangle
 
lol
i love this now...... i will get this....
now to convert into a custom js and apply to ones site 0_o.... wish me luck!
 
I could use a little bit of that enthusiasm, well, I'm old
 
yea but u know all this, ... so learning something comes few and far between lol
i dont!
so im just acting like a kid in a toy shop ;)
 
5:09 PM
or a bull cow in a china shop :p
 
actually probably that one ha ;P
man i need food... im thinking true bbq tonight for pulled pork :P
 
I needed food too long ago.. I'm over it
thats scary actually
 
lol
well mrs on way home,... so she can pay tonight
 
0
Q: Changing Event Date/Time Display Options

benlevywebdesignI would like to edit this plugin Calpress(for wp) and I can't figure out which files I need to be looking at to do it. Here is the calendar on my page: templeisrael calendar (if you click on the one of the events you will notice the date/time displays like this: When Dec 7 6:30 pm to Dec 7 8:0...

 
@jAndy ah ahem ?
you satan eating our gods!
@IvoWetzel did u started working on yer webgl + webrtc game ?
 
5:14 PM
meee ?
 
Tasty, tasty gods
 
LoL
 
@Abhishek Not really, got dragged into WebGL experiments and stuff... then fell back into procrastination mode...
you know... winter... darkness.. depression -.-
 
I know exactly what you mean
I need motivation.. I need.. naked girls dancing around my desk all day
 
lol
shouting at them sit on my........
 
5:16 PM
I don't think that would motivate you to code though...
 
that wouldnt motivate me
 
singing "YayQuery, YayQuery"
 
i think i would be VERY highly distracted
 
hmmm
maybe the motivation could be like.. anytime I accomplish a "milestone", one of those girls may rest and sit
 
5:18 PM
"charging"
 
btw u know how i put the h1, and h2... can u just apply it to links?
 
@rlemon I have already done some research/work on a question I have before asking anyone as good as you for help. Can you take a look ^
 
@IvoWetzel feeling kind of the same
cant get final spark to finish my 8 month long project :-/
which can change a lot of things in broadcasting >_< , maybe in my case its the jQuery phobia
 
im glad i dont do projects as such.... i would get bored
 
@KirstyHarris its actually fun hun <3
 
5:19 PM
well i lie, i do electronic projects at work... but thats it
 
@KirstyHarris: well.. sure. But you might want to return false; (from the event handler) if you add a click event on anchors, to prevent their default behavior
I guess thats a milestone.. sit !
 
i got to learn audio compression , processing , decompressing , mixxing and tons of stuff :D , oh and v8 as a plus ;D
 
oh bummer, sounds confusing!
ah right ok, a mean just stick to the h's then
 
I managed to actual get somewhat productive again at work this week, but it's not a smooth path right now, too many external dependencies, too little stuff to work on continuously
 
posted on December 07, 2012 by RKoutnik

Thanks to the participation of a whole zero comments, I'm now forced to reveal my secrets for success without spoiling anyone else's.  Blast.  There goes my evil plan.  I'll get you, Bond! On a more serious note, the three things that have really helped me increase the number of productive hours are exercise, exercise, and exercise.  I'm a huge fan of practice and goin

 
5:21 PM
I'm just lacking motivation.. learning how to compress and process naked girls
 
i think it would drive a person senseless on bounce on all links
 
jAndy.style.cssText = '-byebye-transition: 2s all linear; opacity: 0;';
 
5:38 PM
@jAndy the fuck ? you could off just done
jAndy.setAttribute('style','-byebye-transition:all 2s linear; opacity:0;');
would made more sense :D
Is that just me or Youtube's new player is even morebuggy ?
and why the hell is everyone going towards metroisque plane graphics ?
 
Howdy JS! I'm using amplify to connect to an API. The command looks like this: `amplify.request.define("newGame", "ajax", { url: "/api/cards/NewGame", dataType: "json", type: "GET" });`

Amplify says "ajax" is not a defined type. Does anyone know where I've erred?
(sorry for being a plugin heathen in advance.)
 
5:54 PM
Now i am installing chromium i hope it wont dislike my GPU as chrome does ... god firefox is SLOW and chrome is fucked
 
@Abhishek are you there?
 
6:24 PM
By the way... the new office our Team moved in to this week :) facebook.com/media/set/…
Only took a year to make the move happen...
 
Hey all.
is 1768 table rows too many to display on a page and easily select from?
 
o/
Time for me to go have a good weekend
 
@Neal I'd paginate and add a quick search.
 
@IvoWetzel You work for Zynga?
 
@SomeKittens Yes
 
6:28 PM
@OctavianDamiean yea... but it is a tree view. so many rows are hidden.
 
@IvoWetzel Oh hey there. :)
 
so they all have to be there...
 
@OctavianDamiean Hey ho
 
@IvoWetzel Pardon me for asking, but I've heard a lot of FUD about Znynga lately. Is it true, or are you guys still rocking?
 
@Neal Well, then make sure to load the hidden rows just when you need them.
 
6:29 PM
@OctavianDamiean I had that... but my boss said it was "too slow"...
but now he is complaining that 1st load is too slow. and it think it is because I am trying to attach events to >1700 rows!
 
Well, you can prove your boss wrong.
 
@OctavianDamiean how is that?
 
Oh you did.
 
@OctavianDamiean how is that? (i repeat) :-P
 
@SomeKittens There certainly is a lot of FUD being spread around
 
6:31 PM
@Neal Well, 1700 rows, depending on the structure of your row it can be from 1700 to 1700*n DOM elements.
 
@OctavianDamiean yea... it is... each row has a unique id task<n>Row
 
People are mainly going crazy about our "FB relationship" all that's happening there is that our contract with FB is expiring, also, we got zynga.com and a lot of people are already playing over there :)
 
and rows get added with node.
 
0
Q: HTML5 platformer collision detection problem

fnxI'm working on a 2D platformer game, and I'm having a lot of trouble with collision detection. I've looked trough some tutorials, questions asked here and Stackoverflow, but I guess I'm just too dumb to understand what's wrong with my code. I've wanted to make simple bounding box style collision...

 
@IvoWetzel I figured it was something like that. Press always makes mountains over molehills. Looks like an awesome office.
 
6:34 PM
@IvoWetzel booo i cant use Zynga.com in my office... facebook is blocked...
Failed to load resource: the server responded with a status of 403 (Forbidden) connect.facebook.net/en_US/all.js
Failed to load resource: the server responded with a status of 403 (Forbidden) facebook.com/plugins/…
Failed to load resource: the server responded with a status of 401 (Unauthorized) zynga.com/ajax/common_web:npssurvey
 
@Neal :( @SomeKittens It definitely is! Just 20 minutes on my bike to get there :)
 
@Neal Well, your boss will have to live with it.
 
Although all the snow makes it a bit... harder
 
@IvoWetzel Nice! I biked to work over the summer. I love biking to work, I arrive energized and awake.
 
@OctavianDamiean live with which one?
 
6:35 PM
@SomeKittens Same for me! :)
 
Yeah, snow's annoying. Send some of it to us. We're still dry.
 
@Neal Either one.
 
@OctavianDamiean lol
 
Had a 1 1/2 hour commute per train before, and I never felt awake when I arrived at the office
 
@Neal He can decide if he wants very slow at the beginning or slow in between.
 
6:36 PM
now there's this clear cut in between where I don't think about work
 
@IvoWetzel So we're three then.
 
@OctavianDamiean :-\
 
I still wake up at 7, but instead of 9pm, I already arrive at the office at 8, and thus can leave an hour earlier than before, which also greatly helps my sleep rythm
 
It worked nice and fast when there were only like 100 tasks lol
 
Also, are 1700 tasks the absolute upper bound?
 
6:38 PM
plus there are supermarkets on the way back from the office, so that's an even bigger timesaver, altogether up to 2 1/2 hours which I save every day now
can't wait for the summer though, I can't stand the cold
 
@OctavianDamiean well this is on my bosses list. my list only has like 100
he has access to everyone's lists
 
Is mobile usage planned as well?
Righto, now to my JS beast. Mutation Observers.
 
@OctavianDamiean not at the moment.
 
Then you're fine.
 
6:53 PM
oook...
 

« first day (783 days earlier)      last day (4166 days later) »