« first day (63 days earlier)      last day (4879 days later) » 

1:23 AM
my, it's quite in here. I guess everyone else started their weekend already.
 
1:48 AM
does this chat have to be question-based?
 
@expiredninja Are you asking if it's open for general discussion and BS than yes :)
 
i'm all about that.
 
yah me too
 
how long does it take to get 'good' at javascript?
 
but it's finally time for my weekend to begin.
 
2:02 AM
If you're already good with other languages, no time at all.
 
@expiredninja 10,000 hours :D
isn't there yet
goodnight
 
that's time to become an expert :>
 
i am not good at other languages. I'm a beginner to programming. I'm thinking a year or two to get the foundations down?
 
2:36 AM
@expiredninja mmm, not. You never stop learn to programming. You always learn new langs and enforce those that you already have in your mind, and of course in your C.V. JavaScript in particular is a precious language but its precious because extends a purely OO foundation. however you also should learn other languages. in particular Ruby, Python, PHP or Java.
 
yeah i want to learn PHP. what do you mean 00?
 
object oriented, not 00
javascript isn't a good example of an object oriented language, though
it has no information hiding or class inheritance.. it's more prototype-based and functional than OO?
 
3:43 AM
that's what i've heard.
 
@dan grossman - you can do inheritance in javascript
it's just not as "structured
objects inherit objects
 
you can accomplish it in any sufficiently dynamic language, but, it's just not a great example of an OO-style language
 
well it's certainly not the norm (which is prolly what you mean)
 
when I think javascript I think events and functions
 
Javascript's inheritance is prototypal, whereas the overwhelming majority of languages are "classical"
adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth <- some good examples of inheritance in javascript
 
3:50 AM
i use the module pattern, first time I read about it was indeed a YAHOO blog or webpage
 
yea, douglass crockford is the man
 
There was a time when I wanted to work at Yahoo! more than anywhere else
that time's long gone now :(
 
lol oh ye?
yahoo fall off?
 
What's left anymore? They close or sell all the startups they buy, half their APIs are shut down, hundreds of developer are fired each year
They're not a technology company anymore
 
hmm... didn't know!
that's a shame
 
3:53 AM
They don't even have a search engine... what else is Yahoo! but a search engine?
 
lol good point
u drooling over google now? or what? =D
 
Ah I don't know.. if I was to choose a company to work for.. Amazon maybe in the AWS division would be neat.
Google isn't exciting, they don't feel innovative
Almost all their successful tools are acquisitions, the stuff that comes from inside (Wave?) fails
Google Docs was not created by Google. It was acquired (Writely, Tonic Systems, Upstartle, 2Web Technologies).
Google Earth was not created by Google. It was acquired (KeyHole).
Google Picasa was not created by Google. It was acquired (Idealab).
Google Maps was not created by Google. It was acquired (Where2, Endoxon) and long predated by MapQuest.
Google Analytics was not created by Google. It was acquired (Urchin, Trendalyzer).
Google Groups was not created by Google. It was acquired (Deja).
Google Blogger was not created by Google. It was acquired (Pyra Labs).
 
sure, they may have aquired all of those, but that in and of itself shows forsight
and they may've aquired most of their arsenal... but they at the least maintain and package it
regardless of where those interesting projects started... they reside in google now
 
That might make them a good corporation, it doesn't make them an interesting place to work
 
I dunno... have you seen they're offices? look pretty interseting to me haha
perhaps maybe not the forefront of technology
 
3:59 AM
I can't work at Google/Microsoft anyway, because I'd never be able to give up having side projects, and a non-compete with one of those companies is basically a non-compete for all software
 
but none-the-less...
right
I'm more of a lone ranger myself
well not even anymore
I am looking at hiring real employee's!!! o.O
 
scary
very scary
 
i know righ?
partnering up with another dev has been hard enough
 
and sooooo expensive
 
true
but when it makes sense it makes sense
the demand for work seems to justify it
 
4:01 AM
Some day I'll have to make a first hire, I'm not looking forward to it
 
60+ hour weeks coding are gettin to me!
 
ouch
 
fortunately, Boulder Co is a great place to have a tech startup
ridiculous amounts of small business's here
 
boulder.me looks like it
 
yea! it's great
 
 
1 hour later…
5:30 AM
why are javscript graphics so slow?
 
graphics in general are slow
the only reason games are playable is we have custom software and hardware frameworks to minimize computations as much as possible
 
 
3 hours later…
9:00 AM
Any one here?
0
Q: jCarousel - buttonNextCallback is not called when there are no more items to load

Sri KumarMy scenario is to load only 7 items initially and when user clicks "Next" button a DB call will be made and I need to fetch the next 7 items. Default number of items to be displayed on jCarousel is set 7 and initially I load only 7 items. By default both the "Prev" and "Next" button will look di...

 
@SriKumar pong
@SriKumar not sure, but could you put your own listeners on the prev/next-buttons?
 
9:18 AM
@thejh Did you read the question?
 
@SriKumar I think that I read it, yes
@SriKumar I thought that, if the jcarousel doesn't listen to the event, you could listen to it and tell the jcarousel
 
@thejh :) buttonNextCallback:MyNext, buttonPrevCallback:MyPrev here MyNext and MyPrev are my own action listeners / event handlers
 
@SriKumar but they aren't bound to the actual click-events, right?
 
@thejh Sorry I don't understand how I will able to make jCarousel listen ?
@thejh Or at least is there any other way I could accomplish the requirement?
 
@SriKumar oops, that's right :(
@SriKumar try to call buttons(nextAmount, previousAmount) on the carousel after fetching the data
github.com/jsor/jcarousel/blob/master/lib/jquery.jcarousel.js line 820 and following are interesting for that
 
9:24 AM
@thejh My problem is next and prev events are not even getting triggered if there are no items available to scroll
 
@SriKumar ok, then call buttons(1, 1) after each event
 
@thejh Tks! I am looking in to the code
@thejh Let me try and get back to you. Tks again!
@thejh Can you give me example how to call those buttons?
:207358  function BindJcarousel(carouselId){
                jQuery('#'+carouselId).jcarousel({
                buttons:function(1,1){};
            });
        }
some thing like this?
 
@SriKumar Not sure about that, but you have to call buttons(1,1) on it, not to push a new function in it - maybe someone else here knows enough about jQuery to help you with that?
 
@thejh Ok! Tks for your help :)
 
@Sri does this work? $('#'+carouselId).jcarousel('buttons', 1, 1)
@Sri put it in the next/previous listeners
 
9:36 AM
@thejh Ok Doing give me few mintues
 
Hi, all!
@Opoe
0
A: Drag and drop disables input textfield! Help me?

Nyuszika7HI recommend you to use jQuery (?) and jQuery UI (?). After you learn these, it's very easy to make an element draggable, and – optionally – disable dragging it with a specified child element. HTML <div id='myDiv'> <img src='http://dummyimage.com/100x100.png' id='pic' /> <inpu...

 
9:57 AM
@thejh Sorry it isn't working :(
 
@SriKumar then I guess that I can't help you
any jquery expert in the channel?
 
@thejh Thank you so much for your help :)
 
 
2 hours later…
12:20 PM
Hi!
Anyone?
if (document.URL !== window.location.href) {
  alert('Strange behavior!');
}
 
12:43 PM
@Nyuszika7H the alert never fires, right?
 
>>> document.URL
"http://chat.stackoverflow.com/rooms/17/javascript"
>>> window.location.href
"http://chat.stackoverflow.com/rooms/17/javascript"
What's strange here?
@CodingKitten :tickles:
 
@YiJiang :\ whats wrong with Internet Explorer 8 and lower where are you?
 
@CodingKitten There are so many things that are wrong with IE8. Where do you want to start?
 
@YiJiang Is it possible to send data to, and most of the World Wide Web Consortium's test cases than any other day, i still got the question up on doing event handling directly because of an argument with another thing that IE trips over.
 
1:29 PM
0
Q: what exactly is this script doing? trying to understand javascript

Serenity<script type="text/javascript"> var limitNum = 100; var message = 'You are not able to type more than ' + limitNum + ' symbols!'; function checkLength(validator, args) { var editor = <...

what's that?
looks like someone tries to call server-side stuff from the client or so to me?
 
@thejh Those server-side stuff should be filled in I think
But I don't know ASP.NET. Ask someone who know, like @Nick
@CodingKitten You'll take Nick's place.
 
@YiJiang Nope, my name is not English :) – Bruno Rothgiesser Dec 13 at 14h.
 
@YiJiang but why <%=editortextbox1.ClientID%> instead of the elements ID?
 
telerik control stuff
 
2:14 PM
ok, now you can officially call me "awake"
@CodingKitten What's up!
 
@IvoWetzel hmm maybe i have flattened: foobar() and the counter?
 
@CodingKitten Beer!
 
@YiJiang > whats wrong with having your cw public Internet Explorer 8 is the only browser to offer this level of OO is polymorphism. And says "actually, if one more person and tell me!
 
Hi!
 
0
Q: javascript extract date via regular expression

FLXI'll be straightforward here: I suck at regular expressions. I got a string (url) and I'd like to extract the date from it: var myurl = "https://example.com/display/~test/2010/07/06/Day+2.+Test+Page"; I'd like to extract 2010/07/06 from it, how can I efficiently do it? Also, bonus points if I ca...

why the jquery tag? Oo
 
2:23 PM
@IvoWetzel Go ahead and remove it - you have teh pwderz!
 
0
Q: jQuery widget: How to keep track of the instances?

domspanI am creating a jQuery widget that may create many instances; how can I keep track of all the instances?

 
0
Q: javascript extract date via regular expression

FLXI don't know much about regular expressions, but I got a string (url) and I'd like to extract the date from it: var myurl = "https://example.com/display/~test/2010/07/06/Day+2.+Test+Page"; I'd like to extract 2010/07/06 from it, additionally I would like to have it formatted as 6th of July, ...

new version
not much left over from the original :D
 
2:39 PM
always love it when people fall for the <return> key submitting a comment :D
 
2:56 PM
DUDE
synaptic must use bubble sort -.-
Sorting 30k packages by status can't take 2 minutes
 
3:37 PM
is leaving for a hour
 
 
1 hour later…
4:50 PM
What do you think, which one should be in the javascript tag, "www.jsfiddle.net" or "jsfiddle.net"? I usually use the second one, and the first one is in the tag. And I want a "Tag Editor" badge :)
 
Hi!
@thejh jsfiddle.net. I hate www.
 
5:05 PM
$('body').wrapInner('<div id="container"></div>");
 
Tom
<-- 666 rep
 
@Tom upvoted one of your answers :)
 
Tom
@thejh noes! :(
 
@Tom your chat.stackoverflow-profile takes a while to update :(
 
Tom
:)
 
5:45 PM
0
Q: jQuery: Unable to fade out a previously faded in element

Nyuszika7HI want to show a notification at the top – for 2 seconds – telling me which version of jQuery & jQuery UI was loaded. Unfortunately, I can't seem to be able to hide it later. My code $('<div>jQuery v' + jQuery.fn.jquery + ' and jQuery UI v' + jQuery.ui.version ' loaded.</div>')...

 
5:57 PM
solved :) accepting @karim79's answer in 2 minutes (I have to wait)
yea, 168 rep :)
I only need 32 more to reach 200 :)
 
 
1 hour later…
7:25 PM
Hi again!
 

« first day (63 days earlier)      last day (4879 days later) »