« first day (555 days earlier)      last day (4403 days later) » 

8:00 PM
@Esailija i doubt that will get into my tired head at 2 am :(
 
:P
 
but i bookmarked it , thanks , will read it for sure tomorrow :-)
 
jQuery has snowflake-like fractal properties. There's a $ at every level.
 
I consider using jQuery in my newest project (as there is quite a bit of js and I figure i should know what i'm actually doing with it) but then I get as far as downloading the source and I give up again. Fuck Cowbell!
 
Im using it just because it was a requirement anyway for the color picker im using
 
8:01 PM
@adscriven it's just more $ all the way down...
 
but theres still querySelector sprinkled into it
 
@Loktar I'm reinventing all of the scripts that require jQuery for my project.
 
Shit. jQuery, just to use a color picker.
 
however i'm also using twitter bootstrap so there is a number of components for that i'm going to have to rewrite.
 
@adscriven yeah its pretty important in my project
and I dont feel like writing my own.. because then Ill never get my project done
and I think I have the potential to monetize it, or at least finish something thats super useful
 
8:03 PM
what's a good ajax library if you're not using jquery?
 
@Loktar jscolor.com
 
@Esailija huge thanks for your help today , i am really really really thankful :D
 
@david DOM XmlHttpRequest is pretty decent. has a dependency on the browser unfortunately.
 
@rlemon I need rgb
@david I used miniajax (I think thats what its called)
one sec
 
@Abhishek np, it's good project to understand binary
 
8:04 PM
@rlemon go in raw? i'd still want to wrap it in something, but i guess it's easy enough to do it myself
 
@Loktar WAIT A SECOND!
 
@Abhishek its not the one project fyi that has to do with vids
 
@david rlemon.github.com/Little-XHR <- there are some issues with it, but you can surly twiddle around till you have what you need.
 
@david Write a wrapper yourself.
 
@Loktar no i am wondering
whats so hard with rgb pciker
esp for you!
 
8:05 PM
eh nothing really, I just didnt feel like wasting time on it lol
 
hell you can write one in minutes with canvas :P
yeah now that one makes sense (XD)
 
I wish the browsers just all supported type=color
^ its so nice
 
then just style that yourself with a nice little wheel or something
 
I hacked one together, it's really not hard (well, I completely ignored browser compat, but even with that in mind it's not very hard)
 
@Zirak i'm currently on my image upload script.
 
8:07 PM
Browser compat. needs to die. At least they're trying for once.
 
@rlemon yeah the "only" thing I see that missing is the option to type in vals as well
but thats not a bad one at all
 
@Loktar yea there is a lot
i've just been lazy
 
yeah I assumed there was, I just came across spectrum on reddit a few weeks ago
seems really featurful
its an easy excuse for me to use jquery
 
i know whats wrong. I know how to fix it. I found a new cartoon to watch on netflix. productivity = 0
 
:P, plus I can use .on now because im adding layers of form elements on the fly
 
8:08 PM
Anyways i am off to sleep
see you guys laters :-)
 
ill give it to jQuery it does make some stuff really thoughtless easy
@Abhishek see ya
allows me to be pretty lazy lol
 
lolz!
@Loktar , just put a line in src code
/* Yawn i am too lazy to remove */
 
haha
 
^_^
 
//21.04.02 temporary solution, will patch later
//18.09.06 temporary my ass
11
 
8:11 PM
LOL
 
Hehe! Temporary solution === delegated to maintainer
where maintainer === schmuck
A temporary solution is a solution in principle, not in practice. It's a management decision. You're probably in the wrong career.
 
mmm technical debt
 
+1
Oops. -1
:)
That was a purely general 'you' btw. Curse the ambiguities inherent in the English language!
Technical debt > jQuery
(putting to one side for the moment that jQuery is in itself technical debt! :-) )
Has anyone read that?
 
8:39 PM
@adscriven that's reality for you.
 
What I'm most interested in is Crockford's assertion that the parser works best with a 'dynamic, functional language'. I don't see that. I don't see why it wouldn't work equally well in C. The code Crockford then expounds seems to be perfectly amenable to a statically typed OO language.
Unless I've missed something. I've only written TDOP parsers myself in JS.
 
8:52 PM
@Zirak for some reason I can't stop laughing at that lol
 
@ThomasShields I can't stop crying!
 
@adscriven its okay. everything is going to be okay.
 
@ThomasShields Hug?
 
@adscriven eyes cautiously
yeah, i've gotta go...
 
Still not as gay as twilight
 
8:56 PM
Bastard! :-)
@Zirak :U know Twilight?!?! <3 <3
 
I remember it every time I see glitter. And then I orgasm repeatedly.
 
R u team Resig or team Crockford?
Oh god, I disgust myself with the ensuing imagery.
 
Sex scandals in the js community
 
@adscriven okay wait, who's bella here? Javascript itself? You're making a horrible, nasty comparison. I will kill you for it.
 
I have an alibi.
Eich === Bella
The two 'B's. It was meant to be.
 
9:03 PM
dafuq are you guys talking about?
comparing twilight with javascript? :/
 
JS of course. Keep on topic.
 
 
It's about staying true to one's self (scheme), or straying to the dark side (Java, Dart).
Jacob === Scheme, Edward === Java. It's obvious. Duh.
 
Someone did this with the simpsons once. I think Ralph was vb.
 
But Scheme is primitive, and Java is Rennaissance; so Bella falls for Java. It's tragedy. :-(
 
9:07 PM
you actually saw this movie, didn't you?
 
I'm running v4.
 
0
Q: Improving script performance for looping unparalleled arrays

davidIve written a script to loop through a couple of unparalleled arrays a loop within a loop, Now im trying to find out if using break is all that's needed to exit and then continue over again. What eles can you see or know to improve this? var arr_vals = ["74","f4e3","22","r31","17","hundernds"];...

 
to be fair, every language is capable of sitting at the back of the class, eating paste.
 
Eh? jQuery, unobtrusively and quietly sitting at the back of the class not drawing attention to itself?
 
> If you can do this in Java, you can do it in any language.
 
9:09 PM
jQuery is soo Edward.
 
All messages drawing parallels between javascript and twilight will cease immediately.
6
 
It's important to engage with the yoof.
@SpencerRuport That's the kind of remark I expect from JSLint.
 
@FlorianMargaine btw, i failed. damn smokes :/
 
@GNi33 arf! try again ;)
 
hehe, i'll just try smoking less day by day from now on, maybe that'll make it easier
 
9:18 PM
yeah.. that doesn't work :/
 
well, at least i did smoke a lot less today
 
Make all cigarette boxes shoot you in the stomach and burst into flames when you open them.
 
is there a jquery-plugin to do that for me?
;)
http://javascriptweblog.wordpress.com/2012/04/09/javascript-fat-city/
still not sure what to think about this
 
go-die-in-a-fire.min.org.com.js.exe
 
nice :D
 
9:50 PM
hi everyone :) I had no idea SO did chat. this is great. I've actually been wondering something but it's possibly too trivial to be a regular SO question. I've done some googling looking for a good book specific to DOM scripting... I have a reasonable amount of experience on the subject, but I'm looking for something to fill the gaps. Googling regularly throws up Jeremy Keith's 'DOM Scripting' which seems like a good 'un, but I'm concerned that it's pretty old....
Does anyone have any thoughts on that book, or is there something good out there that's more up-to-date? Thanks!
or... do I just need to knuckle down and make some time to read the MDN docs properly? :)
 
what do you mean by 'DOM scripting'?
 
@Darragh mdn
or javascript: the good parts
 
10:15 PM
@rlemon: snap :) I've been reading crockford's book lately actually. yeah, I figured MDN was the best place to go read, which is great, but sometimes you just want a book you can take to the park. thanks! @david: good point, change that to 'DOM manipulation with raw JavaScript' :)
 
I don't think there's very much to it, document.createElement to make your elements, appendChild to put them onto the dom. I tend to not use any IDs because you get references to the elements when you create them anyway
 
 
2 hours later…
11:59 PM
0
Q: Jquery I'm repeating my code and not sure how to pare it down

Brian ThorntonWorking on a show/hide div with checkbox on change and on load. I've come up with this so far: http://jsfiddle.net/bK8EC/115/ The jquery: $(document).ready(function() { var $cbtextbook = $('#in-product_category-14'), $cbimod = $('#in-product_category-15'), $mb1 = $('#mbtextbook'), ...

 

« first day (555 days earlier)      last day (4403 days later) »