« first day (524 days earlier)      last day (4414 days later) » 

12:00 PM
if you have firefox please see the error console it generates error always on some line
i am going to use this effects in all other tabs so it wont be suitable to make such function again and again..
 
I updated your jquery for you
great... get to wait for firefux to check for updates
what error?
 
I think he meant the warnings due to the outdated jQuery version.
 
lol
I knew I was psychic
 
@OctavianDamiean OMG dont tell me that was the reason
 
Well of course it was.
 
12:04 PM
lol.
 
I should commit suicide for being such a dumb and taking time of you guys
 
usually what an error is coming from jquery.js, it's jQuery's fault
 
:|
 
remember that
 
You gotta learn to distinguish errors from warnings. Here is a protip. Errors are denoted by a red color and are called Errors, warnings on the other hand are mostly orange and are called ... surprise ... Warnings. ;)
Also, if you already decided to work with jQuery then make sure you use an up-to-date version.
 
12:06 PM
okay so one things solved another thing is that is it good to paste the same function again and again for each tab and then sometime they clash in css i wasted my whole night last day in adjusting css for both tabs, you can see my CSS its damn so silly just putting all tags twice thrice to get the output. i am getting output but its an adjustment which is not good :
 
make sure you download it too, because I just linked it to Google code/api
 
Well the Google CDN is not bad.
 
@Pankaj what?
 
this was for first tab $('#ft').jqFancyTransitions({ navigation: true, links : false });

//experiment this was for second tab

$('#tt').jqFancyTransitions({ navigation: true, links : false });
 
Any why are you doing that?
 
12:09 PM
$('#ft,#tt').jqFancyTransitions({ navigation: true, links : false });
 
so if I need to use this in more tabs do i have to go by this way making copy of the same function changing the name and css?
 
What andrew said.
 
jqFancyTransitions still gets ran twice either way, because that's how jQuery works...
but it's good that you realized it's a really shitty way to work, there might be hope for you yet
 
@andrewjackson so in that jquery file I have to put the same #FT code all the time by changing it's name as I did the same for #tt
 
Oh boy ... @Pankaj. IDs are meant to be unique.
 
12:12 PM
@OctavianDamiean I know this in #ft it was .jqFancyTransitions
 
If I attempt to select those two IDs I get five elements.
 
@Pankaj what??
 
it was same in #tt.jqFancyTransitions but it didnt worked but when i changed this to .jqFancyTransitions1 it worked
I dont know wtf is happening with me :(
@andrewjackson see My horrible code hope you will understand
I am annoying you both as well :(
 
calling it horrible isn't going to make me want to look at it any more. >.<
 
What I'm trying to tell you is that there should be only ONE element with the same ID.
 
12:15 PM
@OctavianDamiean such as ?
 
@AndyE from what I know, it is since 0.6
 
@Florian: that's what I thought, thanks
 
@Pankaj open index.html... ctrl - f: id="ft"
 
@Pankaj You reuse your ft ID in different places.
 
replace all id="ft" with class="ft", replace id="tt" with class="ft"
then update your css
then update $('.ft').jqFancyTransitions({ navigation: true, links : false });
you know what classes are, right?
 
12:19 PM
@OctavianDamiean yes I used this Ft in different place because i need to use the same css style You can see in job seeker I did just for sake of saving time
 
@Pankaj I'll take that as a no then
 
@Pankaj I know what you attempted to do, I'm just telling you that it is the wrong way.
 
use classes instead of id's
 
@andrewjackson classes can be used to target multiple tags at once
@andrewjackson Okay i will...
 
Which is exactly what you want apparently.
 
12:20 PM
@Pankaj so then why would you use id to target more than one, which are meant to targe a single element?
 
@Pankaj Suggestion : Scrap all and start fresh from the scratch again and then take help from these guys.
 
I'd not use classes as selector though, on the other hand I wouldn't use jQuery either so yea ...
 
@andrewjackson we can do this with both I was just dieing I dint care much for that, that's why I did this, Masters :|
 
funny thing is... I just started learning HTML a week ago.
 
what we all jabbering about now?
 
12:22 PM
;)
 
Unicorns, ponies'n stuff like that.
 
trololol
 
@RakeshJogani no
 
12:23 PM
No?
What kind of a greeting is that? :P
 
we're at our Indian capacity
 
!!cowthink e=ಠಠ T=⎠⎝ Stop Stealing my Cowbells!
 
 ___________________________
( Stop Stealing my Cowbells! )
 ---------------------------
    O   ^__^
     O  (ಠಠ)\_______
        (__)\       )\/\
         ⎠⎝ ||----w |
            ||     ||
 
!!cowthink e=ಠಠ T=⎠⎝ Stop Stealing my Cowballs!
 
12:24 PM
 ___________________________
( Stop Stealing my Cowballs! )
 ---------------------------
    O   ^__^
     O  (ಠಠ)\_______
        (__)\       )\/\
         ⎠⎝ ||----w |
            ||     ||
 
Wait, is that a snake cow?
 
no he's got a gangsta fumanchu
 
@andrewjackson Now what's that comment for a dumb guy?
 
 ______________________
( tmw. touch my wiener. )
 ----------------------
    O   ^__^
     O  (ಠಠ)\_______
        (__)\       )\/\
         ⎠⎝ ||----w |
            ||     ||
 
Ok who is messing with the cowthink
 
12:26 PM
______________________
( why this cow came here suddenly? )
----------------------
O ^__^
O (ಠಠ)\_______
(__)\ )\/\
⎠⎝ ||----w |
|| ||
 
*facedesk*
 
Oh boy.
Is that a cow at maximum compression rate?
 
@andrewjackson Anyways Thanks for your great help, hope I'll be good as you guys one day
 
!!/learn RTFD "Yo! [RTFD Mate]($0)!" \w+
 
12:29 PM
@OctavianDamiean Anyways Thanks for your great help, hope I'll be good as you guys one day
 
@rlemon Y U NO MAEK SENSE!?
 
@rlemon Command rtfd learned
 
Yea Robert, what's wrong with you mate? :D
 
@andrewjackson Thank you so much for your FTP :)
 
12:29 PM
@Pankaj You really hope to be better than andrewjackson. trust me
 
I'm deleting it
 
You are welcome.
 
hence "temporary"
 
12:30 PM
@FlorianMargaine Yo! [RTFD Mate](http)!
 
@Pankaj Yo! [RTFD Mate](https)!
 
broke
 
!!/forget rtfd
 
12:31 PM
@rlemon Command rtfd forgotten.
 
@Zirak now what it does mean ?
 
!!/learn rtfd "Yo! [RTFD Mate!]($0)"
 
He won't answer. He's shy. ;)
 
@rlemon Command rtfd learned
@Pankaj Yo! RTFD Mate!
 
fixed
 
12:32 PM
congrats
 
why is it that people I have ignored still manage to spam up the chat?
 
@Zirak :|
 
!!/learn bitchslap "Bitchslap! How do you like it? Huh? huh?"
 
@rlemon Command bitchslap learned
 
@OctavianDamiean How can I learn javascript as you guys
 
12:34 PM
@Pankaj don't do what jQuery does.
 
!!/choose "Continue learning cryptography" "Fiddle on some JS" "Go eat"
 
@OctavianDamiean Continue learning cryptography
 
Oh well ...
 
!!/tell rlemon bitchslap
!!/forget bitchslap
 
!!/bitchslap OctavianDamiean
 
12:35 PM
@rlemon <i>Bitchslap!</i> How do you like it? Huh? <i>huh?</i>
@andrewjackson Command bitchslap forgotten.
@rlemon Command bitchslap does not exist. Did you mean: bitchslap
 
pwned
 
@rlemon So what I do these guys slapped me hard today on a problem and I realized I am far away from the normal things :|
 
!!/learn wtf "AndrewJackson stop fucking with my commands!"
 
!!/ban andrewjackson
 
!!/wtf
 
12:36 PM
@rlemon Command wtf learned
@OctavianDamiean You do not have permission to use the command ban
 
!!/ban @andrewjackson
 
@rlemon AndrewJackson stop fucking with my commands!
 
@rlemon You do not have permission to use the command ban
 
what a tool
ohh well.
 
12:36 PM
!!/tell Zirak !!/ban andrewjackson
 
@OctavianDamiean Command !!/ban does not exist.
 
we already tested it for security flaws lol
 
Lol I am feeling alone here what the hell you guys are talking about
 
12:37 PM
!!/learn iban "!!/ban $0" \w+
 
@rlemon Command iban learned
 
!!/say iban andrewjackson
 
@Zirak !!/ban andrewjackson
 
12:38 PM
@Pankaj: Zirak is a robot. We're just playing with it.
 
Too bad it didn't work.
 
@rlemon Command say does not exist.
 
@Zirak isn't a robot. He's part man, part machine.
 
god @FlorianMargaine you're such a white knight
 
@AndyE Exactly he is a Borg.
 
12:39 PM
@andrewjackson: I'm just not a jerk.
 
lol
all I'm saying is... you're always to first to explain why the sky is blue
 
@Pankaj what was your issue before - i never actually saw it.
 
Zirak, our very own Seven of Nine. :D
 
cept hotter
look at that face... i mean common!!!
 
haha
Yea.
 
12:41 PM
@rlemon I cant let you know again a nice guy named andrewj gave me hosting to show the real problem now he deleted so I cant explain without showing you
@rlemon I was just doing some wrong things and expecting right output :(
 
@FlorianMargaine I'm nice. >.>
 
anyways any tips for me @andrewjackson and @OctavianDamiean.
 
Tips on what?
 
@OctavianDamiean I dont know jscript or jquery I came with this problem to you guys..
 
I'm still not quite sure I understand what you mean so I'm just going to answer on what I think you mean.
yesterday, by Octavian Damiean
@Ahmetağa We have an awesome tag wiki for with lots of information.
 
@ircmaxell what is that?
 
I need a faster NAS :-\
 
@Pankaj A deferred object to handle deferring tasks that require multiple completion steps
 
@ircmaxell I am sorry :|
 
@Pankaj Sorry for what?
 
12:53 PM
@ircmaxell I dont know whatever you said thats why :D
 
lol
let's say you want to run code after 2 ajax calls complete
normally, you would have to keep track of them yourself. Or fire one after the other
here
 
i am noob complete noob on this I just know photoshop and html and css and trying to know things better to survive...
 
!!/choose "Finish Snake game" "Do Work" "document Little-XHR" "Make GitHub site for Notifier.js" "Make GitHub site for Little-XHR" "Troll"
 
I heard the name of ajax it works like SILK smoth.. zzzzzzzzzzzzzzzzz
 
@rlemon Finish Snake game
 
12:55 PM
var deferred = new $.MultiDeferred();
$.get('foo', '', deferred.addCondition());
$.get('bar', '', deferred.addCondition());
deferred.resolve();
deferred.done(function() { alert("Both are done"); });
 
now let me explain this
you declared new variable named deferred
 
in UK_javascript, 10 secs ago, by Incognito
I just find this room like... really, really annoying. Cheers.
 
and the alert will be a pop up box saying "BOth are done hurray"
I know that only, master
 
@ircmaxell I may have a use for that. I have to see how easy it is to use however.
 
@Incognito it's ok I used it to promote some of my projects. thumbs
 
12:59 PM
I'm basically re-writing a plugin for modals in bootstrap, because, they're insane right now.
 
@Incognito I'm using another version of it (which I'm going to replace with this one) already...
 
i'll possibly go back and troll them later
 
@rlemon Proud of you.
 
and it seems to me to work quite well...
Off to work, be back later
 
@ircmaxell I'll add it to my watch list. The dialog thing is driving me nuts, I want a dead-simple invokaction that generates a canned series of dialog types and binds all the actions automagically, but still have some level of customization.
 
1:01 PM
@Incognito Then this may not be for you. This is just for binding a callback (or more than one) to multiple events that all must happen, and may happen out of order...
 
basically fancybox({type: form, formData:[...]. submitAction:'foo', template:'bar.html'})
 
Ok, later
 
@ircmaxell Right, but typically I have to drop callbacks into a nest of things.
Cheers.
 
guys
why does this give me undefined only? jsfiddle.net/Ralt/D7BDf
I guess this is because diff is not a Date object?
 
@FlorianMargaine Maybe because there is no HTML? :D
You are selecting something that isn't there.
 
1:04 PM
yeah with the HTML part of course :)
let me update
refresh the fiddle :)
alright got it
 
Yup. :D
 
well
it's not what I want >_>
 
You wanted a countdown right?
Oh, yea ... the ID says it. :D
 
(function() {
    var el = document.getElementById('countdown'),
        end = new Date('March 30, 2012 17:10:00');
    (function() {
        el.textContent = new Date(new Date().getTime() - end.getTime()).toTimeString();
        setTimeout(arguments.callee, 100);
    }());
}());​
 
^^
oh thanks
great piece of code
 
1:11 PM
little shorter
 
textContent is not cross-compatible
 
I don't really care there :)
 
jim
Hi all!
 
jim
1:13 PM
Folks i need to find a simple jQuery menu for site. It should be multi-level...
Anyone can help?
 
(function() {
    var el = document.getElementById('countdown'),
        end = new Date('March 30, 2012 17:10:00');
    (function() {
        var ts = new Date(new Date().getTime() - end.getTime()).toTimeString();
        if('textContent' in el) el.textContent = ts;
        else el.innerText = ts;
        setTimeout(arguments.callee, 100);
    }());
}());​
cross browser
 
Something like this?
You can't display a countdown as a normal date.
 
yeah
I'd like a 24-hours like
countdown
 
@rlemon: uh, some people would hate you for w/o brackets if :p
yeah kinda like this
I guess I'm going to make multiple checks
for days/hour/minute/seconds
 
1:17 PM
(function() {
    var el = document.getElementById('countdown'),
        end = new Date('March 30, 2012 17:10:00');
    (function() {
        var ts = "T - " + (new Date(end.getTime() - new Date().getTime()).getMinutes()) + " minutes... and counting.";
        if('textContent' in el) el.textContent = ts;
        else el.innerText = ts;
        setTimeout(arguments.callee, 100);
    }());
}());​
 
@OctavianDamiean .getMinutes
.getSeconds
.getHours
seriously.
 
Yea, I know. I forgot about them.
 
why do math?
 
Cuz math iz fo gangstas!
 
1:18 PM
s/math/Math Object/
 
Laziness mostly.
Typing characters a few more characters was quicker than cut/paste around.
 
getHours/etc won't help in this case
 
$.round(1234.56789, 4).add(16).multiplyBy(4);
i wanna just make useless plugins all day and see how popular I can make them.
 
I thought they existed hehe
 
1:23 PM
@ircmaxell I've been wondering about this - is there any reason people use Deferred instead of plain events? Or even simulated events like pub/sub?
 
If you don't start your programming day off with lazers, gangster rap, and other noises, you're just doing it wrong.
 
The whole "Promise" API and these new words seem redundant to me. Seems to me like events cover everything, and are a lot simpler to explain and cleaner on the eye.
 
I've got a question I'm going to propose to the code review site I think.
 
@Incognito I don't know about you but I start my programming day out with a nice big cup of coffee and the power button.
 
Oh, if you don't think I have coffee, you're sorely mistaken.
 
1:31 PM
do you RRrrrrrooollll up the rim?
I get 2-3 a day since it's started and haven't won once.
 
I $3.45 sssstttarrrbucks every morning.
 
pfft.
I can't justify paying more for a coffee I HAVE TO MAKE MYSELF
 
Eh?
 
like FFFFFFUUUUUUUUUUUUUUU!!!!! for a $3.45 coffee you better be putting my effing creme and sugar in bitches.
 
No it's really easy, you just spew out a bunch of fancy-pants words and they take your money like a fat cat.
Ohhhh haahaha yeah
I just never liked tims, too many experiences where it tasked like burnt cigarette butts filtered through wetnaps.
When I start my new job I'm probably going to find a man bag for the commute and bring coffee+books, and if I get really slick I'll buy a tablet.
 
1:35 PM
@Incognito Oh, it's one of those... delicious falafel hot dogs with cinnamon and bacon on top
 
Lolwat?
cinnamon bacon falafels?
 
wrong quote
 
Sounds about right.
 
1:38 PM
Hahaha
 
I'm lost in basic modulo operations.
 
@FlorianMargaine q.q
Yulost?
 
when I get a timestamp, I want to get the number of days, hours, minutes and seconds.
yup imma lost :(
 
@FlorianMargaine Gregorian calendars don't work like that.
10*365 days is not equal to ten years.
 
@Incognito 10*365.25
/me so smart
S.M.A.R.T
 
1:46 PM
Brainy, what about leap years?
 
@Zirak .25 negates leap years
 
@rlemon 356.25*2 isn't equal to two years.
Welcome to the stupid mess of calendars.
 
@Incognito actually it is... we just find it hard to calculate.
two years != two calendar years
 
Anyone take a peak at calendar calculations before? FFFFFFFFUUUUUUUUUUUUUUUU.
 
there is a difference.
 
1:48 PM
@rlemon Doesn't account for slowly accumulating differences.
 
@Incognito nope but it is accurate enough.
 
My NAS has been compiling node/deps/v8/src/api.cc for over an hour
 
"Real" years, time around the sun, should be expressed as a function in math.
 
you accept PI when someone says 3.14?
 
@rlemon Accurate for who? There's a reason we went to epoch.
 
1:49 PM
then accept 1 year when i say 365.25
accurate to me ok biatch?!
motions for you to step outside
lets settle this like Americans
 
@Zirak It's a different concept. Events are triggered only when fired. Deferred is triggered after the action happens. So if I add a done handler to a deferred that's already fired, it'll be immediately executed... And only ever executed once
 
@rlemon Nope. I accept tau when someone says the circumference divided by the radius.
 
@Incognito The PI is a lie? pre-tell
 
2:26 PM
can someone explain to this OP what a recursive function is? stackoverflow.com/questions/9840639/…
 
2:38 PM
made some updates.
score and pause
movement makes more sense.
 
0
Q: Call constructor using an arguments object in javascript?

BeanowIs it possible to call the constructor using an arguments object? var MyClass = function(a, b){ this.a = a; this.b = b; }; var myClassInstance = function(){ //This line would not work, but is what I'm asking. Is there a way besides eval? return new MyClass.apply(?, arguments); }('an A va...

 
hello
@rlemon can you tell me if you know about a cheat sheet about twitter bootstrap?
 
yup
!!/tell Delarn rtfd twitter.github.com/bootstrap
 
that's the only one?
 
@Delarn Yo! RTFD Mate!
 
2:51 PM
it's the best
 
FS IIS doesn't support web sockets
That's 2-3 hours of my life I'll never get back :-\
 
@rlemon thanks, I wanted one that I could print ... this one takes about 90 pages ... lol
 
@rlemon: I'm getting conflicting reports that only Windows 8 has support for web sockets
/IIS 8
Actually, those links you posted confirm that.
What a ball-ache.
 
so use Windows 8
:P
then you can call yourself cutting edge
 
3:01 PM
@AndyE hurr durr
@AndyE it's been stable for months
Since Nov '11
@AndyE what's been happenin' lately?
 
sublime text is nice but the popup to buy it is ennoying ... lol
 
so get rid of the popup
 
0
Q: Stylebot extension: adding access keys for jquery?

Wolfpack'08Is it possible to use a program like Stylebot to have a custom CSS rule which activates a region when a number is pressed? I want 1 to click region 1, 2 to "right-click" region 2, and 3 to click region 3. I'm looking at the css, and it seems like there's a div whose third-order descendants are ...

 
how ?
 
buy it!
 
3:07 PM
LOL
Later no money for that for a few weeks
 
...
st2 is cheap
buy it
I like nagware, it's great
 
@Raynos I will in a few week ... I have to pay my bills first and my "webdev" boss did not pay me this week ...
@Raynos pay check is for next week
 
...
why didnt he pay
 
@Raynos nothing much, I'm looking at rewriting my old JS-based developer tools to work with sockets and node to debug a browser on a different device.
 
@Raynos it is not the pay week for that job.
 
3:12 PM
Looks like sockets aren't possible on Winblows/IIS, though.
Which means I have to set up another box :-\
 
@AndyE when you say sockets do you mean websockets
and of course you can do websockets on windows :\
Just dont use IIS
what kind of noob uses IIS :\
 
Does any of you know how to add fast completion ... I want to do like the guy in the tutorial he writes ul>li*3 and it make the ul with 3 li
lol
 
...
that requires tooling
use an IDE that supports that
 
ok I'm noob with sublime
bbl
 
3:29 PM
:D
 
Emacs has a script for it
 
C-dafuq ?
 

« first day (524 days earlier)      last day (4414 days later) »