« first day (969 days earlier)      last day (3996 days later) » 

9:02 AM
thank god, stackoverflow points are independent of meta.stackoverflow.com i have got -7 and -9 asking 2 question at meta
 
@SmartShovon 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.
 
@CapricaSix ok
 
I just realized i havent rebooted my system for 7 days now :D
 
@web2students.com, yes, god forbid you lose you 190 rep
 
amazing how windows hasnt been a bitch :D
 
9:04 AM
i get a marquee code with recent post.. i want to do it category basis not recent post... if i give that code anyone can help me
 
@Darkyen My wife has windows 8 and I think she hasn't rebooted her machine in a few months
 
Windows 8 is great with the stability :o
 
That's one thing that I can't complain about
 
0
Q: Table tbody scroll in IE8

Mr_GreenIn my project, I am trying to make the tbody scroll in IE8. I know it can be scrolled by just giving overflow: auto to tbody. But this doesn't work in IE8. To make it work in IE8, the tbody must be given position: absolute (or float: left to both thead and tbody). If I make the overflow: auto wor...

 
Took'em a while though, didn't it? :P
 
9:07 AM
If I set the display of an element to 'block', then use getComputedStyle and set it to 'none' again, will that give me the right values?
 
@Darkyen now it's 7 days and 3 mins 30 seconds appox , you haven't re-boot your system. :P
 
@phenomnomnominal is it in the dom?
 
@web2students.com nope
about 6 days
 
@redline yes
 
@phenomnomnominal i don't see why not
 
9:08 AM
@phenomnomnominal Probably depends on the browser.. I doubt if that's a standard thing
 
That's what I figured
 
6-6-2013 was when i rebooted
 
i get a marquee code with recent post.. i want to do it category basis not recent post... if i give that code anyone can help me
 
@Zirak ^^ run command now
 
@redline What?
 
9:12 AM
ugh, nvm
 
\o/
my linux beats it :D
4 months and 21 days :D :D
 
what's a reboot...you mean a power outage?
:P
 
Windows 8 here, "Statistics since 04/04/2013 23:43:17" , not too bad
 
@ShaikRaffi 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 hi all
 
9:16 AM
@BenjaminGruenbaum damn you beat me, my win8 is only 4/30
 
0
A: Creating a clear button code for a javascript calculator

Shaik Raffi<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script language="javascript" type="text/javascript"> function Add() { var x, y, txtResult; x = document.getElementById('txtFirst').value; y = document.getElement...

 
now it's -11 in my 1 question at meta... :P
 
@redline but, that's impossible! Windows has to suck for all the linux people to feel good about themselves :P
 
well that's the difference between my work and gaming machines
my gfx card probably has a nice uptime of a few days max before it craps something out or another
when all i have is a machine with VS2012, chrome, ie, ff, and safari, wtf could go wrong...
(waiting for a crash)
(still waiting...)
 
my site's server has not re-started since 2 years :P
 
9:20 AM
i think the last time my azure VMs restarted was when azure was invented
 
@redline Nono, you use windows so you must have blue screens of death and stupid stuff Windows haven't had for 12 years now.
 
uptime
 12:05:04 up 1405 days,  3:05,  1 user,  load average: 0.00, 0.00, 0.00
 
all windows has now is a retarded apps system that wasn't finished and is being fixed/partially removed with 8.1
 
@dystroy don't you ever open your computer to clean the fans up? Or upgrade hardware?
 
besides that, i have hyper-v, storage spaces, ect. wtf else could i want
 
9:21 AM
@BenjaminGruenbaum every day, apart the ones I'm lazy
 
@jurka 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.
 
@dystroy haha
 
My windows-98 machine is still running crawling
 
$ uptime
 11:21:47 up 7 days, 1 min,  2 users,  load average: 0,79, 0,64, 0,55
forgot to shut down my pc this weekend...
 
@Zirak A windows-98 machine isn't running. At best it's walking
3
 
9:22 AM
@Rajesh 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.
 
hello aagain
 
i want to extend this welcome bot
 
!!tell web2students help
 
@capr Thank you
 
9:24 AM
!! already view that link now i will get it doesn't make any sense see help .....
 
@web2students.com Not at all
 
@CapricaSix thank you. I will go thru the rules.
 
@web2students.com What doesn't make any sense?
 
!!work or play?
 
@Mr_Green work
@AbinKoshyCheriyan Welcome to the JavaScript chat! Please review the [room pseudo-rules](http://rlemon.github.com/so-chat-javascript-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.
 
9:26 AM
ho
hi I have a doubt
 
boss in my room bye all
 
1
A: Sorting an array based on time stamp value from JSON Response

tracevipinvar files = [{ "FileName": "520120427043622011.jpg", "UpdateTimeStamp": "Jun 10, 2013 8:31:23 AM" },{ "FileName": "Kung_Fu_Fingers.jpg", "UpdateTimeStamp": "Jun 5, 2013 6:51:12 AM" },{ "FileName": "google_logo1.jpg", "UpdateTimeStamp": "Jun 10, 2013 8:31:23 AM" }]; files.sort(function(a, b){ ...

 
@ShaikRaffi What about it?
@AbinKoshyCheriyan That answer looks correct, what about it?
@web2students.com You probably mean teacher
 
thats correct
I have one more doubt
 
@AbinKoshyCheriyan If you don't tell us we can't help you
 
9:28 AM
I need to sort 3 more arrays 1.thumbdec array,2.videodescarray and 3.thumburl array based on updated timestamp
pls help me in sorting it out
 
thumbdec.sort()
 
@BenjaminGruenbaum no teacher, i am working in office and now he is gone
 
@web2students.com How does he like his coffee?
 
coffee?means
 
With extra penis.
 
9:31 AM
no it is not working.... it will just sort in alphabetical order. in the same question i have sorted an array using updatedtimestamp value sorted.
i need to sort 3 arrays based on timestamp sorting
 
he never took coffee in front of me so i don't know
 
How is that different than sorting 1 array or 2 arrays?
Aren't you applying the exact same technique?
 
use time as 1 dimension
 
I need to sort 3 arrays based on updated time stamp value
var files = [{
"FileName": "520120427043622011.jpg",
"UpdateTimeStamp": "Jun 10, 2013 8:31:23 AM"
},{
"FileName": "Kung_Fu_Fingers.jpg",
"UpdateTimeStamp": "Jun 5, 2013 6:51:12 AM"
},{
"FileName": "google_logo1.jpg",
"UpdateTimeStamp": "Jun 10, 2013 8:31:23 AM"
}];
 
!!tell AbinKoshyCheriyan format
 
9:33 AM
@AbinKoshyCheriyan Format your code - hit Ctrl+K before sending and see the faq
 
how you get these values from?database or file functions?
 
And I still don't see how that's difficult from the answer you were given.
 
json response
 
@web2students.com As a general rule, you are doing more damage that good.
 
@phenomnomnominal ok
 
9:34 AM
based on the above time stamp,i have soted images array
I need to sort 3 more arrays based on same timestamp
i have fetched and stored the arrays
 
And what's the difficulty? Where are you stuck? What doesn't work? What have you tried? Anything?
 
!!/tell AbinKoshyCheriyan mdn array.sort
 
@AbinKoshyCheriyan I'm sure that if you'll just read the documentation you'll be able to sort it out.
 
9:37 AM
(Sometimes I'm so lame, lol)
 
you know what is so shit about jsperf. You need to come up with a title, 2 test cases and your stuff is published too. Why can't I just quickly test something?
 
@Esailija, make your own
 
Or download it
 
9:38 AM
Yeah, jsperf is based on that free script
 
@phenomnomnominal actually i am confuse, whom to help, how to help etc..once i got ban and read T&C also.
 
right
 
That's the one
@web2students.com Help only if you know what you're talking about.
@web2students.com Imagine big, scary psychopaths are the people you're helping, and if you're giving them bad advice (which is likely the case with advice you're not sure about) they'll come after you.
 
@BenjaminGruenbaum ok
 
Which is true in my case.
My tortoise still hasn't learned how to make toast.
He'll be in naughty time for the next week or so. Being toast.
 
9:44 AM
i am myself psychopaths
 
Of course you are
 
I like how he used a plural
 
@phenomnomnominal :P i copied and pasted,
 
Explains so much.
 
9:47 AM
@BenjaminGruenbaum I am Developer I am Just Post My Posts .I Think It is Useful For Begineers...
 
@ShaikRaffi Don't post stuff here that you don't think is generally useful for developers (not just an isolated case) or stuff you'd like real criticism on. Randomally coming here and posting stuff like that usually gets you downvotes in this room.
@FlorianMargaine Probably, I just wouldn't answer. Not because you're rude, he did just copy-paste the tutorial, he just isn't worth your time.
@FlorianMargaine If you're really caring about the CR community, maybe flag it?
 
nobody is asking simple question that i can help
 
how to get the cloned element html
var icon = $(this).closest('div').find('img').clone().end();
icon.html()
 
@web2students.com Why do octopus have 8 legs and not 10?
Why is the sky blue and not purple?
 
I tried it , but it returns null
 
9:54 AM
What's the difference between a sign and a symbol?
If you punch someone hard enough, will they turn into a door?
 
@Zirak if sky were purple , you would have ask, Why is the sky purple and not blue?
 
Wait, what?
 
@web2students.com, there's a fairly basic reason that the sky is blue though.
 
Of course we ask about the phenomenon around us. If the world was different, we'd have asked different questions
 
@phenomnomnominal yes but i forgot it, i read in my class X exams....
 
9:56 AM
The fact why things are this and aren't that is a perfectly fine question
@web2students.com Can fish swim backwards?
Can birds fly in reverse?
Is the halting problem solvable?
 
@Zirak yes
 
5 mins ago, by gowri
how to get the cloned element html
 
@gowri how can you have so many rep with so little knowledge?
 
Why are you doing that end, you're just discarding the result
 
@Zirak I solved it.
 
10:00 AM
@FlorianMargaine: by asking
 
@web2students.com Given a linked-list, how can we find it it's circular?
 
@Zirak i were answer such questions, i would have scientist...not computer engineer :P
 
Can we do a search in O(log(log(n))) time?
What about merging?
 
hey.
I just started "Introduction to algorithms"
don't be so harsh on me.
 
@web2students.com you're breaking my heart.
 
10:02 AM
Great book
@web2students.com So curiosity about the world around us is only for people who declare themselves as "scientists"?
 
LOL
0
Q: how to create an array of elements in java?

Magnus GlanneforsI have a code like this: Element name = doc.createElement("firstname"); name.appendChild(doc.createTextNode(lastname)); extension.appendChild(name); Now, if I want to make multiple Element names, how do I do then? I tried to simply make "name" into an array but it didnt work: Element name[] =...

 
@BenjaminGruenbaum, I think you meant "That looks a lot like Java"?
 
@Zirak scientists solve these curiosity or try to solve it
 
Also, from now on I am using as Fun is to Funeral
@BenjaminGruenbaum, OH SHIT
 
hey how went the fun?
 
10:05 AM
@web2students.com And we have solved a lot of these questions!
 
Only just clicked on the question.
 
@Zirak, oh briliant
 
@phenomnomnominal ?
 
@BenjaminGruenbaum, I was all, "cute, he's trying to declare types in JavaScript." Not "He's trying to use the DOM in Java"
 
10:08 AM
@dystroy do you have any french equivalent for the java/javascript car/carpet thingie? I can't think of one.
 
@phenomnomnominal oh lol
 
@Zirak sorry i am at other place, trying to help someone in php :P
 
... sucks :|
 
Hard to find better as often in French words starting the same are in the same family
 
velo/velociraptor could be good
 
10:13 AM
bite / beethoven
 
oh nice
 
yours is good
 
beet/beethoven
 
depends on the audience
 
certes...
 
10:14 AM
:P
 
For people wondering, a bite is this :
 
Metal/Metallica?
 
@dystroy ou les jeunes... les jeunes comprennent mieux avec des gros mots.
mais pas sur qu'ils connaissent beethoven.
 
can you measure someone's programming proficiency by counting number of code by lines you have written in your life?
 
23 messages moved to Trash can
 
10:24 AM
@O0oO0oOO0ooO As you a troll?
 
@Neil hey stop it
 
@O0oO0oOO0ooO Just asking. I'm curious
 
@O0oO0oOO0ooO this question really looks like trolling. Don't you have an idea of the answer ?
 
anyone working with redis here?
 
@vincent not me
 
10:26 AM
@O0oO0oOO0ooO :D ok
 
anyways, I am not a troll. Please stop being judgemental
 
@vincent not me
 
should i... !!/mute O0oO0oOO0ooO
 
lol
why would you do that @phenomnomnominal
 
because i can?
 
10:27 AM
Please do not mute me
 
@O0oO0oOO0ooO "Measuring programming progress by lines of code is like measuring aircraft building progress by weight." ~ Bill Gates
In addition, just because you wrote 10 million lines of code, that doesn't mean any of them were good.
Quantity is not quality.
 
Lines like $cone + $var for example...
(╯°□°)╯︵ ┻━┻
 
shit, it took 15 minutes to download 6 gb Team Fortress 2. Kill me
 
10 million lines of codes minified version.
 
How's the game? "team fortress"
I think it is of "Valve"
 
10:34 AM
In some of my most productive days I commited more line removals than additions.
 
@vincent Thats why you never minify your work...
 
@RobertHurst what do you mean ?
 
@Zirak what is that?
 
10:39 AM
!!> [20, 120, 111, 215, 215, 54, 78].sort()
 
@dystroy [111,120,20,215,215,54,78]
 
I just noticed that...
 
> The Hello World of tomorrow
 
LOL at the constructor taking 12 lines
 
@O0oO0oOO0ooO I wonder what that could mean...
 
10:40 AM
man are you productive
 
0
Q: marquee Code with Category Base

Smart Shovoni get a marquee code with recent post.. i want to do it category basis not recent post.. any idea which code i will change from this code... <marquee width="820px" style="font-size: 12pt; height:32px;padding-bottom: 10px;" behavior="scroll" direction="left" bgcolor="#DEE9FB" scrollamount="2" scr...

 
IIRC, it was as a response to someone asking if he should charge per line of code written...
 
btw it's not maximal
while
(
    condition
)
{
    statement
}
that's 1 extra loc
 
yeah, I could've squeezed a lot more
Maybe using some design patterns.
 
have you seen enterprise fizz buzz
 
10:42 AM
@Esailija You don't comment your code ?
 
it has 30 files or something
 
@Zirak Lack of quantity is not quality either
 
FizzBuzzFactoryImplLocatorService
 
@dystroy I do, why?
 
10:42 AM
hi
 
That's a classic
 
Just to be clear..
 
@Neil Of course not
@AbinKoshyCheriyan You look awfully familiar...
 
In programming competitions, there were a lot of cool and smart names derived from technology terms but at the end team name with "Hello world" "Public static void main" win competitions
 
10:43 AM
I didt get a solution
thats y back
 
@AbinKoshyCheriyan Learn the language, no reposts, read the MDN page on .sort
 
Are you that guy who dropped in about 30 minutes ago, asked for help, we tried helping you but you just disappeared?
 
anyone else having a problem with jsPerf?
 
i am new to web
thats y confused
 
@Zirak Very surprisingly deep
 
10:43 AM
need some clear guidance
 
@AbinKoshyCheriyan We don't care if you're new or not. You asked a specific question and got a specific answer, if you want further help read the manual. It's clear and simple.
 
need to sort 2 arrays based on timestamp
 
!!/tell AbinKoshyCheriyan mdn sort
 
@AmaanCheval Glad you liked it
 
10:44 AM
@Zirak I'd like the bot to also accept @username , is that OK? What I end up doing is hit tab for autocomplete, but then hitting control + left arrow to delete the @.
 
@BenjaminGruenbaum 2 messages moved to Trash can. some day you will throw me in trash can
 
@AbinKoshyCheriyan give me an example
of the array
 
@web2students.com How old are you?
 
thumdescarray=["test1","test2"];
 
and how would you want to sort it
 
10:45 AM
@BenjaminGruenbaum It used to also accept @ in the beginning, but the double-pinging was getting annoying. So if you include it, the bot will yell at you.
 
videodescarry=["test1","test2"];
 
You can always tab-complete and then remove the @
 
need to sort this 2 arrays based on updated timestamp
 
@Zirak That's what I do, hmmm. I guess I don't really see a workaround though.
 
@Zirak if you can identify the @, can't you remove it?
 
10:46 AM
u can refer that question
 
@phenomnomnominal From an invoker's message? doubtfully
 
!!/tell @phenomnomnominal listcommands
 
From the response?
 
@Zirak Don't be annoying, drop the @, nobody likes a double-ping.
 
oh duh
I get it :)
 
10:47 AM
@AbinKoshyCheriyan what?
 
No point in 'telling' something if they don't get told
 
where did "foo" and "bar" come from?
 
@vincent It's presumed it derived from "fubar"
 
I mean, I don't understand what you are asking me but use underscore's sortBy function and give it an iterator
 
see the edited answer. — tracevipin 18 hours ago
 
10:47 AM
@BenjaminGruenbaum i am 33
 
in this i have sorted images array based on timestamp
 
The terms foobar , fubar, or foo, bar, baz and qux (alternatively quux) are sometimes used as placeholder names (also referred to as metasyntactic variables) in computer programming or computer-related documentation. They have been used to name entities such as variables, functions, and commands whose purpose is unimportant and serve only to demonstrate a concept. The words themselves have no meaning in this usage. Foobar is sometimes used alone; foo, bar, and baz are sometimes used in that order, when multiple entities are needed. The usage in computer programming examples and pseud...
 
i am doing work also so i may take time in replying
 
@web2students.com how old are you really?
 
i need to sort another array say for eg: video array using same timestamp
 
10:48 AM
 
What's the best IRC client for Windows? (inb4 hate, shaddup)
 
> The word foo originated as a nonsense word from the 1930s, the military term FUBAR emerged in the 1940s, and the use of foo in a programming context is generally credited to the Tech Model Railroad Club (TMRC) of M.I.T. from circa 1960
 
my real age is 33 years (according to what my parents say, though i don't remember when i born)
 
@AbinKoshyCheriyan I mean, just sort it
 
I have sorted timestamp value in arr1[];
sorted img value in img[]; array
 
10:50 AM
@web2students.com I should hope not.. that would be a traumatic experience to remember
 
this img[] is sorted using arr1[];
so need to sort another array video[] based on timestamp value(arr1[]);
 
I think good books are always short and descriptive but bad books are always long and talk a lot of "craps". I want to define good books are always under 200 pages and epic books are around 100~150 pages
 
@O0oO0oOO0ooO nope, that's just your short attention span.
 
@O0oO0oOO0ooO, curious, since you also talk a LOT of "craps".
 
10:51 AM
@O0oO0oOO0ooO Yeah, because quantity indicates of quality.
 
@PabloKarlsson 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.
 
It only took windows 5 versions to get right, but they finally did it. They figured out that I don't want to safe an empty notepad file when I close it..
 
@Neil no, i was very cute, i found 90% kids are cute but as they grow up they turned into selfish,etc like us
 
!!/mute web2students.com 100
 
@phenomnomnominal Muted user 1348066 for 100m
 
10:53 AM
room mode changed to Gallery: anyone may enter, but only approved users can talk
If I was the only one getting annoyed, feel free to unmute
 
so, about jsPerf
anyone else having 500 errors a lot?
 
@phenomnomnominal I just really don't like gallery mode, I agree with the mute though. @ThiefMaster would you mind being a dear and checking if web2students 'just happens' to be using the same computer as another infamously annoying room user? (If it's not too much trouble that is)
 
@BenjaminGruenbaum, I know, it's such a pain
 
nah, the spelling's too good for him to be okok
 
@BenjaminGruenbaum It would surely be a coincidence I'm sure
 
10:55 AM
I dunno, I feel like it could be
 
done, checked
 
And he didn't even once say elitism
 
@ThiefMaster Thanks :)
 
@BenjaminGruenbaum was i talking to you about object.defineproperty?
few days ago
 
@redline Probably, we were talking about stuff all around.
I don't really use defineProperty a lot, but it has some interesting use cases. What I'd really like are Harmony proxies (although those are pretty slow admittedly)
 
10:58 AM
i was running some cases on jsperf and changing it from object.defineproperty to using a globally defined closure like df = object.defineproperty.call.bind(object); made it go twice as fast
 
@Esailija I'm starting to document that code. It'll be brilliant.
 
Hmm, that makes no sense, you're setting object as this, it shouldn't work
 
defineproperty doesn't use this
 
Which is why your code shouldn't work
The first argument of .bind is the thisArg
 
right
 
10:59 AM
@redline that code doesn't make any sense
 
.bind(null, object)
 

« first day (969 days earlier)      last day (3996 days later) »