« first day (1080 days earlier)      last day (3883 days later) » 

user1125394
12:00 AM
brain sucker movie
 
It's more insane than cerebral. Cars 2 haha! Not seen it, but I liked the first!
 
0
Q: Disable javascript from scrolling the page in fiefox

MMavipcI'm required to use a website for school that scrolls the page whenever you click an inputbox. Is there a way to disable JS from scrolling the page?

 
Wreck-It Ralph is better.
 
@cc yep. Need to let the higher-functioning parts of my brain recover.
 
@SomeKittens Check out 'Moon'. Very easy on the old noggin :P
 
12:06 AM
That's on my list
 
Very good movie
 
Hey folks, I spend awhile writing this question, that I thought was a good one -- but received two downvotes almost immediately!? What's wrong with my question, did I breach any StackOverflow rules, and is there a more appropriate place for me to ask this question? stackoverflow.com/questions/19084719/…
 
Way too opinion-based, could never be answered here
 
I use carrier pigeons for all of my hardcore metrics collection
 
Opinion-based?
 
12:19 AM
> There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.
 
Okay. Open-ended sounds right, but I don't think asking for specific APIs and tools for a problem is "opinion-based".
 
That's your opinion
 
I'd appreciate any suggestions for communities that are open to longer, more open-ended questions like it?
 
there isn't a right answer, so its will only get answers based on opinions, which isn't the SO format?
 
I understand. SO is looking for more specific questions that have one solid answer.
The question would inevitably have multiple correct suitors looking for the green check.
 
12:22 AM
Just solid answers, with reference if possible.
 
I support the closing of the question, but would really appreciate any suggestions for a more appropriate place to ask it.
 
I wouldn't know where to point you.
 
I mean... maybe reddit, or something? Hmmph.
Thanks for the feedback folks, I do appreciate it :)
 
As far as I know, that isn't quite possible
you could run some resource-heavy stuff and see how long it takes
 
I had tried a couple attempts to make JavaScript tests like that, but when they're small enough to be unnoticable, I find they're too inaccurate to be meaningful.
Not that I know enough about that sort of thing to write a good test for it, anyways.
That itself, ought to be it's own SO question.
Wouldn't even know where to start in measuring RAM capability/availability.
Thanks for taking a look at the question, anyways :)
 
12:28 AM
console.profile is your friend
 
Is any use of console in production code appropriate or valid?
 
@SomeKittens lol, I can see it now.
TEST: Load and run Quake engine in Canvas
IF test takes longer than 30 minutes, deliver low-rez thumbnails safe in the knowledge that you're probably delivering to something other than a supercomputer :P
 
Heheh.
I feel like the web needs to start thinking about optimization preference HTTP headers.
 
It'd be difficult to quantify
Also, Cars 2 is unimaginably stupid.
 
Indeed. Difficult, and different vendors would surely have different standards for what is "slow" and "fast".
 
12:36 AM
Even if I've got a powerful PC, I could be rendering something on it
 
I suppose than, HTTP headers wouldn't be the solution at all, more rather, a JS API that exposes available RAM, Processing, and otherwise.
Which I guess is what window.performance is for..
 
Eh? What if you send a request for a resource and say that you have fuck all RAM available. But then after you send the request, lots of RAM is freed?
 
@ChaseMoskal Why would you need to do that anyway? You'd have to be delivering some pretty intensive stuff (OpenGL) to justify the requirement, and even then why would you need to know ahead of time whether that's going to work on the user's system?
 
Full-screen background slideshows.
Grandma's computer and mobile phones don't appreciate it as much.
 
@ChaseMoskal ew. why?
 
12:40 AM
^^
 
It looks really pretty, and for some clients -- aesthetics is the top priority.
 
And here I thought it was gonna be something... you know, impressive!
 
Grandma will be dead soon.
 
Plus, if I can figure this out successfully, building lean pages for slow-pokes and luxurious pages for those who can handle it -- the result would be undeniably ideal.
 
@ChaseMoskal You could just give the user the option to turn it off
 
12:42 AM
Presenting the user with a modal like that would be much too intrusive.
 
But a fully animated background slideshow that you need to test hardware requirements pre-delivery wouldn't be?!?
and it doesn't have to be a modal.
 
I figure I'll settle on a combination of ballparking bandwidth based on the Navigation Timing API, and then also just force mobile user-agents to be given the Lean version.
 
Let the user choose the CPU intensive stuff. Don't try to second-guess.
 
I'm not going to make my users select whether they want jQuery slideDown's and CSS3 transitions.
It has to be automatic or there's no point.
 
That's not what I said.
You can't automate everything.
 
12:45 AM
Then the background $.fadeIn's? What do you mean?
 
Sorry, the $ whats? I trade in £s.
 
I don't really have anything too CPU intensive to require any user-action. I'd certainly require action for anything really serious, like a Canvas game or something.
 
Cool. Problem solved then.
 
The nost
 
12:48 AM
Descriminating based on the User-agent string and the Nav Timing should probably give me the results I need for bandwidth, but I guess it's just plain impossible to detect memory or CPU stats.
 
gah
The most important thing to bear in mind when developing for the Web, is that you don't have full control.
 
I'll just have to assume that if the bandwidth result is slow, than the memory and CPU likely follows suit.
Heh, the biggest thing now is deciding how many seconds to load an HTML page is "slow"
Mmm.. Four!
Science, bitches!
Thanks y'all, I'm out.
 
There's no hard answer. Use statistics.
 
1:03 AM
Hi, i am struggling with this issue from five days. What is wrong in this. Here is my question stackoverflow.com/questions/19084574/…
 
I've had more intelligent conversations with coral.
 
@sapan Just saying, you sound pathetic
 
Sorry, cold turkey from my meds. I've lost all sense of social diplomacy.
 
@SomeKittens I know there should be an answer to this. And also, i can get the answer from this website because lot of folks are there who can tell me the answer. But it just that they didn't see my question. So, i am trying.
 
@ChaseMoskal if you want a really hacky attempt at a guess look at this: github.com/phenomnomnominal/workerbench.coffee it can give you some idea of the kind of power you're dealing with
 
1:14 AM
@sapan Ah so you live in denial too?
 
I don't think he's Egyptian
 
:-D
 
1:28 AM
Anyone ever seen The Man Who Knew Too Little?
Great Bill Murray spy thriller
 
1:51 AM
In Q's tutorial page: github.com/kriskowal/q
should this line return funcs.reduce(Q.when, Q()); be this return funcs.reduce(Q.when, Q(initialVal)); instead?
i'll post this as a question, can't seem to delete this :/
 
2:22 AM
you only have a limited time to delete messages
 
 
1 hour later…
3:31 AM
can you do this "string" + 5
in js
 
yes, resulting in "string5"
 
sweet thanks :)
 
3:54 AM
Will jquery enter the field of server programming?
 
@Storm-Eyes Will a front-end library be used in a back-end environment? No.
 
It seems that there is a tendency that Javascript and its variants are walking into all the field of web programming, both server and client part. If that is true, I have to work hard on Javascript.
 
AAAAAAHHHHHHHHHHHHHHHH
 
 
4:16 AM
I cannot understand you humor because I am not a person with English as my native tongue.
 
Can anyone see what's syntactically wrong with this SQL query?
http://d.pr/i/Nl5l
I can't for the life of my figure it out
(for adding a new row, if not a duplicate)
 
@AntiEarth SyntaxError: Unexpected identifier
 
@SomeKittens I'll be honest, that's pretty far from helpful
 
@AntiEarth As far as I can tell, you've got a ( on the first line that's causing that.
 
so strange; aren't parenthesis valid in SQL?
 
4:30 AM
@AntiEarth Yes, but SQL isn't quite valid in JavaScript.
 
Is not node-mysql a complete emulation?
 
@AntiEarth You can also run assembly in JS. Are you expecting us to support that?
 
@SomeKittens I'm sorry, you're speaking as if I should have expected valid syntax and functionality in SQL would be invalid in a library boasting complete emulation
 
I'm failing at comprehending your insistence on receiving SQL support in a JS room simply because there's a package in a platform based on ECMAscript
If this room was for said library, maybe
 
Insisting? I merely asked the question, primarily because I've received a lot of SQL support from this chat recently, and because it is reasonably occupied (where as the SQL room is all but empty)
If it bothers you, you needn't answer
 
4:42 AM
Hi, Need help how to access the data from database using webSQL ?

http://pastie.org/8365990
 
5:18 AM
Hi Javascript sucks ass
kidding
 
guys, can I change href url based on the referrer link that brought the user to that page?
I'm making a referal system, and there's this "Buy" Button
so if the user came to the site from the referal link (mysite.com/aff.php?aff=002&bid=1)
the buy button would go to the pay page making reference to the referer who brought the visitor to the page, you know? >.>
I don't know if I'm clear =p
this way I know if the user the affiliate brought to my site has bought something or not, thus paying the affiliate his bonus or not
actually what I want is PHP
gonna change chat
 
5:38 AM
One method I can think of is giving a specific URL to those affliated websites
that tells your website where it came from
such as
www.yourawesomesite.com?affliate=1
Then you can search ur database or whatever for that aflliated website id
I realised making a Logger is so awesome because you can simply turn on and off certain  situations in a second

console.log();  on everything

vs

var situation1 = true;
var situtation2 = false;
function logSitutaion2(message){
   if(situation2){
     console.log(message);
   }
}

function logSitutaion1(message){
   if(situation1){
     console.log(message);
   }
}
 
6:05 AM
Oh wait, I realised why
sorry
 
6:22 AM
Hello all need some help here
i want to set current date when page load and along with that i want to change date when user click on text box
 
Hello All
 
@Gagan 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 am an iOs developer but need help in JavaScript
 
0
Q: Javascript - Open page as _blank instead of pop up

user2056484In my Billing CMS (WHMCS) there's a page that redirects you to another page. The problem is that this redirected page is being opened as a Pop Up, and I'm looking for the source of it to make it open in target="blank" instead. This is the redirect script I found in the page that originates the ...

 
I have a .html file & I want to convert html file into docx/doc format file.
 
6:35 AM
@CapricaSix Hey I think you have written above "Rules Quotes" in your sticky notes :P
 
is there any Library that can do this
?
 
@Gagan Yeah, there are more than enough amount of libraries out there do exactly what you want
 
@Shmiddity i have a new problem now lol
 
In which langauge do you want this to happen? Objective C?
 
I want this in JavaScript
 
6:43 AM
then write it your self
 
any Idea because I am new with JavaScript
 
I am asking for solution not for argument..If not possible just reply me that it is not possible
 
@Gagan look if googe docs has an api that you can use
@phenomnomnominal halp me friend halp
 
@Gagan Here take it
 
6:49 AM
Good..
I got my answer..Thanx to all
 
@xzegga 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.
 
feel free to contact me If u have any iOs issue....
 
dear guys, good night
 
Hi, Need help how to access the data from database using webSQL ?
 
I have a litle problem with one javascript variable and I need help
I have a string variable with this value: "{'key': value}, {'key': value},{'key': value} ..."
and I need convert this variable to array
like: var $arrayValue = [{'key': value}, {'key': value},{'key': value}];
-1
Q: Convert javascript string formated like array to array object

xzeggaI have receive a string with this format "{'key': value}, {'key': value},{'key': value} ..." I need to convert this string to javascript array to use like this: var $arrayValue = [{'key': value}, {'key': value},{'key': value}]; how to conver this string into array?

I have three hours traying to resolve the double quotes problem
but not have luck
 
6:59 AM
0
Q: Javascript - Open page as _blank instead of pop up

user2056484In my Billing CMS (WHMCS) there's a page that redirects you to another page. The problem is that this redirected page is being opened as a Pop Up, and I'm looking for the source of it to make it open in target="blank" instead. This is the redirect script I found in the page that originates the ...

 
7:18 AM
o/
 
How can I get out of a question ban?
I have positive contributed those questions which stackoverflow poorly received since long time
any body can help me for this ?
 
Can someone help me integrating this script? I'll pay 10 dollars in Pay Pal saaraan.com/2012/05/ajax-facebook-connect-with-jquery-php
 
@tommasocapelli 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.
 
hi @CapricaSix Good Morning
 
Hello everyone!
 
Ya hi @tommasocapelli
 
7:49 AM
@user2056484, save your $10, invest the time in yourself and try to learn something...
 
phenom, I just don't wanna mess up my system, with database and stuff
 
there is nothing that you can do to a computer that can't be undone
 
@phenomnomnominal except beating the hell out of it
 
Phenom
I've did a backup of my database
 
i have fallowed all the things from here stackoverflow.com/help/question-bans @zaquest
 
7:56 AM
made an app, filled configuration.php
changed permissions
I think maybe it's almos tworking
almost working*
the problem is that it isn't actually logging in
it pops up facebook.com real quickly, the button refreshes but it doesn't show the content
also it doesn't show "Please wait, connecting"... hm
 
I'm just facing a problem with select2 in angularjs. I have 2 search pages with their own template, and on both I have a select2 instance. I "transfer" the data of the first form in the second correcty to have the same values, but when I select a new value on the second form model doesn't get updated. here's the code of the templates and of the controllers: plnkr.co/edit/ciPd9PCniYBkbKPqDBpm
 
Ah got it, must be because of SSL blocking external javascript
YAY IT WORKS.
 
0
Q: Issues in Creating Multi level navigation menu

Nathan LeeI need to create multilevel navigation menu using JavaScript. I have already created the first level menu, but I need to create second and third level menus, but somehow, when I create them, I am not getting the desired result. Please find my below work scenario. Stage 01 I am using the below...

hello everyone.
Javascript navigation menu creation which binds into xml.
Have an issue creating third level
Solutions appreciated
 
@avitex 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.
 
8:15 AM
Hello All :)
Getting straight to the point, I am using a CSS3 transition to ease in and out a div, but it is only fading out.
 
can you show the code? - @avitex
 
Sure :P
 
Also, can someone suggest me a solution for my question above?? thnx.
 
The design currently is my pride and joy hahah.
http://jsfiddle.net/avitex/sG2M6/
 
8:21 AM
posted on September 30, 2013

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} About to board an airplane, so hopefully there are no typos! Thanks

 
@NathanLee I am afraid that makes no difference my friend. I have already tried that.
 
How can i display a single \ formatted as code in a comment ? `\` displays ```
 
Try two maybe?
 
didn't work either
 
How do mean comment?
 
8:27 AM
a comment on a question or answer
 
Oh, no idea.
 
6
Q: Backslash escaping in code regions in comments

TomalakI've noticed that in comments, when you create `code region` with backticks, the backslash will still work as an escape character within that region (but it should not, IMHO). To clarify: In comments, `\\` will be rendered as \, but it should be rendered as \\ In the post body itself, `\\` wil...

 
Hello guys, I'd like to know if it's possible to use ajax when my page is already opened on my browser from another website / an external app, for example:
My page is opened, on an IM client someone send me a link to my website with a get like: www.mywebsite.com?user=25 if I click it, it uses my page that is already opened and display the user with the ID 25 instead of reloading the page / opening the page in a new tab
 
8:54 AM
Can someone summon caprice to 29074 please :D
 
@GNi33 ಠ╭╮ಠ
!!summon 29074
 
Thank you sir!
 
@user2800614 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.
 
@avitex We're truly sorry, but there is no such page.
 
@OctavianDamiean what?
y u mad, bro?
 
9:00 AM
hey guys
 
@mikedidthis You are very welcome indeed Sir.
@GNi33 It's raining.
 
don't send that crap up north, I don't need it here
what the balls is wrong with you guys if I may ask?
FPÖ Styria, 25%, best result of any party? what the fuck, are you guys trying to troll the shit out of the rest of Austria?
 
i have my index which is linked up to my javascript file however i also use java in my index it's self, how would i go about using a variable in my external javascript file from my index ? i'm going to guess it's a silly question and i probs already know it i just can't seam to think
ignore that i've got it
 
@GNi33 I have no idea. I lost the faith in people after the military service referendum.
 
I abandoned all hope after seeing the results come in yesterday
please, you fucking idiots, go on and make this douchecanoe chancellor. We'll see how he'll screw up then
seriously, i felt like this country is filled with brainless morons, now I have the freaking proof
 
9:11 AM
That's how I felt earlier this year.
Sep 26 at 16:17, by nderscore
"The best argument against democracy is a five-minute conversation with the average voter." - Winston Churchill
Basically.
 
hah
 
@Alucard 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.
 
How to keep executing a code as long as the document is not ready. The code should stop once the document is fully loaded
 
how do you change your name on this lol
 
you can't, we all got random names
 
9:16 AM
lol
 
Octavian just went suuuuper lucky that he got his actual name
 
i changed my name not sure if it worked
 
yeah, changes tend to take a little
 
Nah
I changed mine last time and took me awhile
 
@GNi33 you know what's depressing? The former status quo, which is also the current status quo has been depressing enough already and the alternatives aren't any better. The only sane option was to place an invalid vote.
Even more sad is that it doesn't matter if do that.
There's enough idiots to even that out.
 
9:21 AM
yeah, just that an invalid vote, even if you see it as a sign of protest, doesn't matter at all
 
I know.
 
screw it, even if there were 80% invalid votes, would they give a damn?
 
I don't really think so.
 
the only thing I really, really wanted, is that blue wouldn't get anywhere near the possibility of being a part of the government
well, that didn't work out
there were even alternatives that i would consider "voteable" this time
but seriously, screw it
 
You know why that happened? As much as I can't stand H.C. Strache and his party, he is charismatic and very eloquent, rhetorically he is top notch. That's why he gets so many votes.
 
9:25 AM
with that huge amount of fucking idiots that think of themselves as the genius saviours of the austrian culture.... this country is set to fucking crash
 
do you refresh to see your name change ?
 
@OctavianDamiean hey, that's what they all said about little Adolf too, what a coincidence
 
@user2800614 No, you just wait for that to propagate to chat.
@GNi33 Just my thinking.
 
and you're completely right
that's why democracy is the fucking joke that it is
 
Hello Everyone!
 
9:28 AM
@GNi33 oh yea, speaking of such important things. Did you get your headset from home?
 
May I ask, what is the Javascript MVC should I learn first. I have been working on Javascript for quite a few time and have thought to give MVC in JS a try...
So what's the framework that I should learn first?
 
I did
tried all of my old headsets
 
@OctavianDamiean That didn't make much sense. Use the help command to learn more.
 
now i know why they are my old headsets
 
9:29 AM
EWMERGERD U HAZ HEADSET!!
 
none of them work
 
May I ask, what is the Javascript MVC should I learn first. I have been working on Javascript for quite a few time and have thought to give MVC in JS a try...
So what's the framework that I should learn first?
 
i could probably fix one, where the cable is damaged
I'll see
 
ò‸ó
 
otherwise I'll just use the android-app robert suggested
 
9:30 AM
I'll go send you the headset today ... you moron! :D
WAIT WHAT!?
The FPÖ currently has 21,4% in total!?
ARE YE KIDDHEN?
 
yeah
 
@KamranAhmed I love AngularJS
Google loves AngularJS as well
 
0
Q: Javascript - Open page as _blank instead of pop up

user2056484In my Billing CMS (WHMCS) there's a page that redirects you to another page. The problem is that this redirected page is being opened as a Pop Up, and I'm looking for the source of it to make it open in target="blank" instead. This is the redirect script I found in the page that originates the ...

 
9:45 AM
@Jeremy thanks, I overlooked your message at first...
@Jeremy May I ask, has it some kind of dependency upon Node.js like Backbone has?
 
i'm back, i have 2 functions in one it puts some data into a variable i then want to use the data from that variable in the other function how do i go about calling it
 
@user2800614 Pass it to the other function in the function call... Or make it a global variable!
 
saddly i can't use the secondfunction(variable); as i'm not calling that function to happen i just need to use it in my other function
 
@user2800614 how about making this variable global?
 
how do i take it out of the function to then make it into a global function sorry i'm better with php these days :(
 
9:50 AM
@KamranAhmed Backbone does not have a dependancy on node
 
i could pass it through php but surely there is a easy way lol
 
@phenomnomnominal then I may be misguided...
 
do you just use global instead of var ?
 
What would you suggest Backbone or Angular JS?
 
If you can avoid backbone, do
I like angular
 
9:54 AM
@KamranAhmed It does not. You can use it with any framework
the demos use nodejs, but I don't use node
I'm a Ruby guy
so I'll use Rails for a backend
 
omg no way i feel sooo stupid now haha
thanks guys
 
Does anyone knows how I can at least debug this? Am I in the right track here?

http://stackoverflow.com/questions/19086560/javascript-open-page-as-blank-instead-of-pop-up
 
@user2056484 do you have control over that js?
 
Dude I'm stuck at that code, that's all I know too
How can I know what js is that?
 

« first day (1080 days earlier)      last day (3883 days later) »