« first day (1091 days earlier)      last day (4079 days later) » 

00:02
@rlemon alright, i got teamspeak set up
mainerror.com
00:35
@SomeGuy, @rlemon, @OctavianDamiean smbc-comics.com/?id=3125#comic
wooosh goes off into the night
01:22
I'm a bad person.
box.mode = function mode (x) {
    // x is an array of at least 1 item.
    // return the most frequent item (there will be no collisions)
    var len = x.length;
    var rand = function() {return Math.floor(Math.random() * len)}
    return x[rand()];
};
@Retsam True
lol
(the unnecessary complexity is because originally I was going to do multiple trials and and something statistical, but I realized I could just keep hitting submit with the existing code)
12:47 in total. (With non-troll answers for the other 4 questions)
!!help afk
@allquixotic afk: Set an afk message: /afk <message>. Invoke /afk again to return.
ahh, new feature
time to merge that into github.com/allquixotic/so-chatbot
01:42
!!> typeof NaN
@Retsam "number"
The creators of Javascript do realize what "NaN" stands for, correct? :P
@Retsam that's pretty clever :P
@Retsam NaN is technically a valid floating point number, typeof NaN makes perfect sense
It is defined in the floating point number standard
Huh. Then it's poorly named. :P
01:48
@JourneymanGeek Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
No, it's not. It is an error code, not a number
But in terms of type, it's a floating point number
Your cpu can handle floating point numbers (including NaN), but obviously it cannot change the type of something
NaN is only interesting because it's frequently an indicator of a programming or data error as displayed often in Error'd screenshots on thedailywtf.com
02:39
@Zirak what is your guideline on var foo = function () { ... } vs function foo () { ... }?
@Shmiddty Were you bitten!? Strip! Prove you weren't bitten.
!!> typeof 'number'
@monners "string"
lol
It's the little things
!!> typeof NaN
02:41
@Shmiddty "number"
!!> typeof typeof NaN
@Shmiddty "string"
!!> typeof +
@monners "SyntaxError: syntax error"
!!> typeof !! typeof typeof NaN
02:42
@Shmiddty "boolean"
huehuehue
!!> typeof ~ typeof !! typeof typeof NaN
@Shmiddty "number"
!!> -~-~-~-~-~ typeof NaN
@Shmiddty 5
!!afk Get Jinxed!
02:46
@Shmiddty Can you pick up some milk on your way back?
@cstuts Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@Shmiddty Where you go?
@monners Shmiddty is afk: Get Jinxed!
!!afk Or is he?
@monners Apricots are people too!
03:07
!!back
@monners That didn't make much sense. Maybe you meant: bak
@monners I am a banana!
!!bak
@monners welcome back, meatbag
03:20
@Zirak @Shmiddty Any precedent for "privileged" commands in SO-ChatBot? Like, maybe, a compile-time .js declaring an array of user IDs, and if someone invokes the command who isn't in the list, they get slapped?
@allquixotic Shmiddty is afk: Get Jinxed!
0
Q: angularjs bootstrap input validation error class

Solim trying to make example from this article using angular+bootstrap. I got this working code. <div ng-controller="Ctrl"> <br> <hr> <form name="signup_form" novalidate ng-submit="signupForm()"> <fieldset> {{' signup_form.submitted \''+signup_form.submitted+ '\' ' }}<

03:37
okay oh dear christ
why does this website lag sooooo bad
@SamikSaha Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
04:02
angular or backbone?
Angular
!!choose angular or backbone
@monners backbone
Can anyone tell me how to call a function if there are no remaining clients connected (everyone leaves) to a socket.io server in node.js?
!!choose angular or backbone
04:14
@AbhishekHingnikar angular
;-) The bot knows which is best for who
04:32
@AbhishekHingnikar I guess you're not ready for the complexities of Backbone :P
@monners backbone ends in emenim raps
@AbhishekHingnikar I have fixed the freezing bug, by the way
@copy i will test ur emulator with a distro i have in mind :3
sorry to kill your emu :3
Microsoft Windows 98 / XP
04:33
!!wiki emu
The emu (, sometimes ; Dromaius novaehollandiae) is the largest bird native to Australia and the only extant member of the genus Dromaius. It is the second-largest extant bird in the world by height, after its ratite relative, the ostrich. There are three subspecies of emus in Australia. The emu is common over most of mainland Australia, although it avoids heavily populated areas, dense forest, and arid areas. The soft-feathered, brown, flightless birds reach up to in height. They have long thin necks and legs. Emus can travel great distances at a fast, economical trot and, if neces...
Nice
I have tons of cheap machine oses :$
puppy linux should be your ultimate target ;-)
But SCSI (cdrom) support isn't good at the moment
!!google puppy linux
@copy puppy is only 128 megs
u can make us download it and store in chrome's fs ;-)
No, I will make an asynchronous loader
:O that'd be kickass
So it only downloads parts that are actually read
btw did u thought of any use ? [other then showing off and getting a job at google]
04:37
Nothing too interesting
04:49
Hey guys
Do any of you know of a way to copy to clipboard using jQuery and no flash?
I can't seem to find anything...
Don't come rushing to help all at once...
@copy
@copy that guy needs help ^
Yeah, this numskull needs help :)
@BadgerGirl How u been?
Just keep pinging him.
Lol, I dont @copy would like that...
Yeah, @copy is very busy right now.
Did you know he's building an emulator?
04:56
A what?
Oh, found it..
reading it
its
its a computer.... in a website holy f$c#
Yeah, written in jQuery.
erm, wow...
Only terminal atm though
Is it gonna be a full blown computer soon?
No, try Kolibri OS
That one has a graphical interface.
05:03
Wow...
This is insane
How is the OS running though?
Is it using my computer to run it?
He just wrote a jQuery code for all these instructions: ref.x86asm.net/coder32.html
Wow...
Cant move the mouse :(
I'm sure he can solve your problem.
Wait until it boots? I don't know.
Nahh, its booted
I can double click and use the mouse to navigate the dropdown
but thats it
What browser are you using?
05:11
Safari
@RakeshJuyal Thanks for the valuable input.
He needs to add Mac OSX
I lover ur sarcasm @BadgerGirl
xD
I'm testing it on Safari, give me a second.
05:13
I have MacOS sir.
But I am using Chrome.
Congrats
@BadgerGirl U think I can run it on an iPad?
lol
You probably can. And about Safari, copy will fix it soon. Try it on another browser for now.
haven't used my iPad in a few months so i need to charge it
@BrandonGelfand If you don't use it, give it to me. :( I need one and my birthday is in 2 weeks.
05:35
Why can't match return an empty array instead of a null when it's matching a global regex that doesn't match?
ssy
ssy
05:46
HI good morning every body.
Please can any body explain me how to convert the server time into locale specific time my using java script.Please help me
@ssy how does the server pass the time? Also, why don't you trust the client time?
This question appears to be off-topic because it is about human resources, not programming. — Jan Dvorak 39 secs ago
ssy
ssy
@Jan Dvorak actually server always returns it's local time means where it is located.But my server is located in jermany now any body use my application from asia countries then it's show jermany time when user send any message or rec any message.But we should show local time of user.
Date.now() should do, if you trust the client clock
Hello Javascript chat room :) where no answers are ever answered.
:P
06:01
What is a question?
Whitehat? Eh?
@JanDvorak What is the happiness per cat function like?
No qeustion now thanks
Just being grouchy :)
Havnt had coffee yet.
@BadgerGirl wat?
Hi
everyone
anyone please help me out with this issue ?
06:05
I would say that the number of cats you have is equal to the number of happiness units. What are your thoughts on that?
0
Q: Pikachoose fancybox always starts from first image of first gallary

user2475624I am trying to build multiple galleries by using pikachoose+fancybox. Here is how the code looks. var fancyGallery = []; (function ($) { var fancy = function (self) { self.anchor.on("click", function(e){ var pikaindex = $(".pikame").find("li.active").index(); $.fancybox(fancyGallery,{...

@BadgerGirl are you sure you'd be twice as happy with 1000 cats than with 500 cats?
do you want them as pets, or as food?
As pets
06:07
As food!
LOL
@BadgerGirl you, sir, are weird
Nom nom nom
cool
@TejuMB Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
ok cap
06:10
*you, lady, are weird
Jan Dvorak.
Where are you from?
:)
War is van?
Prague, Czech Republic, why?
XD I thought your name was dutch
Nevermind ;)
@SanjeevKumarDangi Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@ShridharGupta Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@enrey Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
06:24
hello, I got a form that is being sent by document.formname.submit(). Works fine, until I use jquery on the page, to .remove() an element containing three input hidden's. From that point, it stops sending the form in firefox. Works fine in chrome, can't find any html/js errors in FF nor in Chrome. Any ideas?
@enrey jsfiddle.net, please
here i'm again asking for help
0
Q: Load a div from a HTML page inside the bootstrap modal

MAD4RAI'm trying to call a bootstrap modal at a click of a Button from the bootstrap modal I used this as reference Basically i have a bootstrap modal dialog and inside the footer with the help of a button im calling the div cpMainContainer from the HTML webpage This is the 1st level modal. <div...

@MAD4RA lol
:p
i seem to be asking too many questions regarding bootstrap these days
cause obviously you didn't read the documentation
and you seem to be bitten by count drakulla
06:34
@AbhishekHingnikar Oh haha. Cheery moood today....
Hi all, I am looking over web to integrate pikachoose with fancybox for mutiple galleries.
Honestly instead of why that code isn't working i am wondering why on earth that code will even work ?
0
Q: Pikachoose fancybox always starts from first image of first gallary

user2475624I am trying to build multiple galleries by using pikachoose+fancybox. Here is how the code looks. var fancyGallery = []; (function ($) { var fancy = function (self) { self.anchor.on("click", function(e){ var pikaindex = $(".pikame").find("li.active").index(); $.fancybox(fancyGallery,{...

@JanDvorak move that one to the Really funny jokes room
But the issue is pikachoose dynamically changes the css
06:36
@AbhishekHingnikar im not getting you, i just followed the example that i googled
<li><a class="foo" data-fancybox-group="gallery2"
<li><a class="foo" data-fancybox-group="gallery3"
and im not that good with js
So all these properties are changed dyamically
any help ?
@MAD4RA put it on jsfiddle
@user2475624 !important
can be an ugly fix but you should alway try to read documentation since this sounds like an integration problem them library most likely will provide method to disable it
I gone through each & every line of docs
but no luck at all
06:40
I was thinking to use Iframes for a carousel. Anything to consider? Is it all running on the same document thread?
@AnarKhalilov Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
exactly how many iframes are you going to have?
@JanDvorak Well... I was thinking to just build the whole in a carousel. And then add new slides later. So to start out perhaps 5-10 slides ?
so 5-10 iFrames? Why iFrames?
Unless you tell me iframes are expensive.
06:44
though I've seen a page with 30+ frames, and it didn't appear slow
@JanDvorak Just for the convinience to be able to plugin new elements without thinking to much about the rest of the site
holy jesus
enligten me :p
but, 10 frames are 11 different documents that the browser has to keep in memory and render. How much more expensive is that with respect to 10 ordinary divs? I'm afraid it could take a dent in the memory usage.
at the very least, 11 documents = 11 windows complete with all the constructors.
06:46
yeah you are right lol.. I think I got carried away with the idea
anyone here have a taste for pentesting?
Pi is nice. Pie tastes good too
like I've said, though, browsers nowadays have a lot of computing power to use waste
Hi guys good morning
`<div an style="font-weight:bold;font-size:15px;font-family:Arial,Helvetica,sans-serif;color:#3F3F3F;padding-bottom:10px">hello</div>`

^ Does this make any sense?

**<div an style**
@JanDvorak Nah, its good practice though I am sure. I just have to find a good way to keep my code organized :) And perhaps only execute the code that fits the current slide
06:50
@Mr_Green inline styles rarely make sense.
<div an style
@Mr_Green Shouldn't you perhaps put it in a <p></p> ? :p
there is something like this
that is not my code
was referring some project and found this
@AbhishekHingnikar bootply.com/87037
how'd you add a string to the div via js
-1
Q: Different between 2 mehtod when using jquery window resize

Ijul Farizuli need to do some documentation but im stuck with this. may i know what is different when using window.onresize = function(event) { ... } and $(window).on('resize', function (e) { ... });

06:52
fuck even the chat hates ur code
@phenomnomnominal yeah I agree.. but what is "an" there in that code?
@MAD4RA for the love of god please learn what ajax will do
@Mr_Green most likely the browsers will try to make it an attribute and then ignore it
$.ajax will do a web-request
to a URL you provide it
hmm
06:53
using a method u want to use.
    $.ajax(
                    {   var supVid = "asd"
                        $('#modal-content').innerHtml= 'supVid';
                        $('#modal').modal('show');
                });

// This is absolutely ullshit
hold on a sec leme update it with the full code
Ahhhhh. Indians always have each others backs :) Bless my bleeting heart :)
check that out @AbhishekHingnikar i used ajax because i wanted to get the div from another html page
Its friday y0 crew ! prepare for shore leave
@MAD4RA u don't even know how to define functions in javascript do u ?
^ works
please do yourself a favor... learn javascript... please
06:59
@AbhishekHingnikar nope, im completely new to javascript
2
yes ill do :) but thanks for the help
THEN LEARN A LANGUAGE BEFORE USING IT
learn the basics before jumping into libraries like jQuery and oh fucking hell bootstrap
Guys i have code that detects when there is a keypress on certain keys on my site however how do i make actions happen to check what is pasted before it pasts it? As pasting has no effect on my keypress
thank goodness u didn't found angular first -_-
07:01
@AbhishekHingnikar i want to display the video from another webpage present inside the div (which doesnt have a url)
@MAD4RA LOL
anyways nvm lol
/* shoots myself with a 50 caliber */
will try it
:0 no url?
07:01
:|
@AbhishekHingnikar noooooo .... try NUKE :P
Why nuke bro ?
thats a html5 webpage built using adobe captivate and it has a swf video
07:02
^ Goku please hit me with taht!
spirit bomb O_O
@AbhishekHingnikar that one .... :D
ahan :P
that'd make sure that even my soul is out of existence xD
Any ideas on keypress anyone
@IamGnat use the change event ?
or maybe for the love of the code and the virgin mary... use some logic before asking :->
07:05
Ye i use it on different key presses such as < or >
in PHP, 1 min ago, by Vipul K
any one know about php and jquery?
@NullPoiиteя lmfao
To stop people putting code in however if they paste it into the text box how can i search and change what is pasted before it is posted
@AbhishekHingnikar this is the html page which has the video that i'm trying to display (do you see any url's ?)
i guess this is halloween season, time to stay off stackoverflow
07:07
Lol why is my question silly?
Is it difficult upgrading 2.3 bootstrap site to 3.0? Should I even bother half-way through development?
-1
Q: do-while statement is not working properly for fibonacci series? PLEASE HELP DUE TMRW

Usman HasanHi so I have an assignment due tomorrow, its very simple, although im having one very small issue. My assignment is to print the numbers for the fibonacci series from 1 to 100. I've written an algorithm for it and the algorithm works just fine. My only issue is that it wont stop printing once the...

@Cool2beblue there are no span tags in 3.0
thats the only major update afaik :P
@dystroy java question :P
they replaced the span tags with col-xs-4
07:16
@NullPoiиteя Doesn't matter, close it for the title
col - columns
xs - eXtraSmall
4 - grid system
xs, sm , lg etc
@NullPoiиteя BTW, what's the problem with Java script ?
@dystroy nothing ?
07:35
@dystroy who the heck upvoted that?
@BenjaminGruenbaum Not me. Probably not you. How many suspects does that let ?
@dystroy all of SO :P
minus two
it's progress anyway
07:47
@Akshey Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
I can't stand answers that are just code
It pisses me off even more for the fact that it's a student who's asking, not some professional programmer
@Neil sometimes they're good.
@BenjaminGruenbaum Yes, but a student needs understanding, not code
Most of the times they're a problem, but yeah.
Anybody can copy and paste..
07:49
@Neil That question should be CV'd and delv'd for him being lazy and a douche :)
The better students will try to understand the code, but still.. it's like asking how Einstein derived E=mc^2, and the teacher passes him a link to some mathematical proof with no further explanation
also, if the teacher led him to think that do-while was a good idea, he should be fired
@SenthilNathan Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
anyone here knowledge about facebook application integration in asp.net?
@Zirak Ohhh that's nice.
0
Q: how to compare text box value with the option value of dropdown

user2849338I want to compare the text box value with the option values of a drop down list. if they are same alert box should appear.

Full of em today
07:55
:)
hah, everyone is like "What have you done so far?" even though everyone should be more like "Then start doing it."
Also, wth ... that answer sucks big time.

« first day (1091 days earlier)      last day (4079 days later) »