« first day (892 days earlier)      last day (4063 days later) » 

12:51 AM
@Zirak have you seen Generation Kill?
Last scene of the last episode from season one is basically just like the last scene from the last episode of Generation Kill.
 
1:36 AM
Dammit, just downloaded LotR in Spanish...
 
Well at least you might know Spanish by the time you're done watching the movie 10 hours from now...
Do you happen to know if an image styled display:none will still be loaded by a browser?
I can't remember and I'm too lazy to test that out...
I guess it is still loaded.
 
2:25 AM
Hello
I'm working on a chrome extension and I need to get around some x-frame options, I know it's generally not possible. But this script looks promising, I'm just not exactly sure how to implement it.
that's the script
 
user1642018
hello all, i am new to javascript and i need help from you guys.
 
I can help you
 
user1642018
i have a url and i would like to add few parameters depending on the dropdown selection, please guide me in some direction.
 
alright so tell me if this is right:
if the user selects "1" in a drop-down list, the url would then become "http://myurl.com/#1?
 
user1642018
lets say original url is google.com and if user selected option one from drop down then it the url should be google.com/?queryid=1
 
2:29 AM
okay easy enough
 
user1642018
yes,
 
user1642018
a friend of mine gave me code , but i am completely noob and dont know how to use it.
 
user1642018
$('#id').value();
$('#id').val("link");
 Sent at 22:15 on Monday
 jayesh:  document.getElementById("id").value="link";
function changeval(val){
}
onchange="changeval(this.value)
"
onchange="changeval('+this.value+')
"
 
okay
one question, you do realize that is jquery, correct?
 
user1642018
yes,
 
2:32 AM
okay good.
 
user1642018
so i need to add the reference file in the header. i guess.
 
yes you do.
 
user1642018
something like google/jquery
 
user1642018
okie.,
 
yes
 
user1642018
2:34 AM
i am echoing the url to the user using php in the input box.
 
user1642018
having set to to readonly.
 
Can you link me to this?
 
user1642018
like this
 
user1642018
<input size="100" type="text" STYLE="background-color: white;height:20px;border:1px;" value="<?=$url;?>" readonly> &nbsp;- &nbsp;<a STYLE="line-height:34px;" target="_blank" href="<?=$url;?>">Link</a></b>
<br><br>
 
okay
So instead you want it to show up in the url bar?
 
user1642018
2:36 AM
yes.
 
user1642018
i could do it with drop down and using post, but there are already 2 post forms on the page.
 
This will for sure help you
Don't use php for it, you can use javascript
 
user1642018
checking it now,
 
user1642018
@Zachrip that looks complecated, but will try it, on jsfiddle, Thanks for your help.
 
If you need help, definitely help. But make sure you actually read it. Good stuff.
 
user1642018
2:42 AM
sure.
 
If we’d asked the customers what they wanted, they would have said “faster horses” — Henry Ford
 
3:21 AM
Yeah depends though, Henry Ford been in it enough to knows what his customer want. VS arrogant like, cough, Ron Johnson of JC Penny.
 
3:32 AM
yo
 
@Noogen @SO @Happy Anyone know if Chrome can do CORS EventSource?
 
@MatthewDean i think it support it
 
Then why is no request sent when I do "new EventSource('http://www.google.com/')"?
 
but i've seen somewhere there is some hacky stuff regarding sse
and you, do you have experience with google frame?
it's a IE plugin to enhance IE9 adding the google framework
 
I am writing this specifically for chrome. It doesn't need to support IE
 
3:42 AM
i'm skeptical and would like to know what people think of it
 
But no, I have never heard of it
 
it seem like a candy to me, i do have my load of patching my stuff so IE can support it and sometime i have a clause for not supporting IE at all. I'm a big fan of compatibility
and even if i think IE is a piece of shit, a lot of folk is using it and as such i depend on them
 
What specifically do you use that IE doesn't do normally?
@Happyninja Like what features of HTML5 do you use that IE lacks?
 
I don't have specific example has i had issues which i can't tell what part IE was missing.
in the end a clause was added in the contract to limit compatibility with IE by not supporting it
 
Premature ejaculation is the root of all evil
3
 
4:07 AM
excuse me
i have an issue cn anyone help me
 
0
Q: Course Map Generator

LathanI hope Programmers SE is the right place for this. I debated between this and StackOverflow. My university lists the rotation of courses each semester/year. Therefore, it is possible to predict when every class will be taught. I am trying to create a JavaScript (language is irrelevant, really)...

 
4:59 AM
@BenjaminGruenbaum Everyone was arguing over stupid things, so I just started saying random absurd/offensive nonsense.
 
 
1 hour later…
6:16 AM
da-da-da
@SreekeshOkky you sound like a marine needing backup
// Referring to H.A.W.X
 
6:30 AM
0
Q: how to make view console in table content

newbiemy concept is when pointer close to each table content. web will display console to edit and view i try to make a table like this <body> <table width="1023" height="248" border="1"> <tr> <th colspan="2" scope="col">A1</th> <th colspan="2" scope="col">...

 
Javascript isn't a real language
 
@SOChatBot, You're not a real person.
 
@phenomnomnominal actually javascript isnt a real language, its a programming language
 
That's silly.
And for what it's worth, I never said it was, I just pointed out that SOChatbot isn't a person.
 
i know :3
i am just in a jQuery.trolly.js mood
 
6:45 AM
!!/google troll.js
 
6:55 AM
Can some one explain why this doesn't make a integer result it adds them together like two strings: parseInt(myChar.level+2);
i get 12 instead of 3 =/
 
@Dave try parseInt(myChar.level)+2
The addition operator doesn't know it's inside parseInt
 
ah okay :)
that worked
thank you
although this does work : parseInt(10+(10*myChar.level));
 
there's no string multiplication
 
what about the 10+ (value)
why doesn't it see that as not knowing its inside parseInt
 
number+(number*string) = number+number= number; the parseInt does nothing.
multiplication coerces to numbers
 
6:59 AM
oh so if i had 10+myChar.level it would not work the same as *
 
It would not; string + number = string
 
okies i understand now :) thanks!
 
Here are the details: es5.github.com/#x11.6.1
 
Yo mamma's so fat, your father no longer finds her attractive so now they're getting divorced
 
7:33 AM
@Zirak Thanks! You too
 
hi,anyone having idea on dhtmlx?
 
That's not really a thing
 
8:03 AM
Anything wrong with this? $('.loading').delay(800).remove(); ITS not working :(
 
why would you not remove it when the thing you "load" is finished?
 
@Jan-StefanJanetzky Thousands of reasons why, its just a question
 
@Connor What is it supposed to do ? delay can only be applied on queued functions
> It can be used with the standard effects queue or with a custom queue. Only subsequent events in a queue are delayed; for example this will not delay the no-arguments forms of .show() or .hide() which do not use the effects queue.
it seems you just want to use setTimeout there.
 
@dystroy OH, Thank you :)
 
8:21 AM
knock knock Who's there? "Jehova's witnesses"
 
hi, I have a question for git, anyone can help me ?
 
$('.loading').delay(800).queue(function (next) {
    $(this).remove();
    next();
});
@Connor thar you have it.
@Connor or this way jsfiddle.net/tgUaT/1 (since you use .remove())
 
8:36 AM
@Jan-StefanJanetzky Thank You :)
 
8:50 AM
Hi all
can any one suggest me fast solution for this question I've posted here stackoverflow.com/questions/15609190/… which is closed :(
or atleast a possible solution for my question, thanks in advance...
 
@abhiabhi
@Juhana I am not understanding how to implement this one, can JavaScript read HTML files present on Client machine? NO I guess. — abhi abhi 4 hours ago
 
"use strict" is for sissies
 
Well yes it can. You probably need to learn the basics of javascript.
 
@dystroy oh is it! Can you please provide some example thanks
 
8:59 AM
@dystroy thats not basics
 
user2157210
Morning
 
@Darkyen wat!?
regex is basics.
 
@Darkyen in fact, it depends what version of the question you read. The question seems to have evolved into server-less server features.
 
if you are referring to "FileSystem or FileReader API" those are api's
not basics. thats what i mean
@OctavianDamiean -_- define basics
 
Dear @Darkyen @dystroy @OctavianDamiean, which of these I need to start with first? As my requirement goes like this The Keyword has to be searched in all html pages provided in the Current directory and Display that Keyword and Link where it exists in separate <div>
 
9:07 AM
Oh wait, I misunderstood it then.
 
@OctavianDamiean ??
 
@abhiabhi you'll need either a server or ninja skills, due to same origin policy (two local files are seen as from different origins)
 
@dystroy So what about other Client-side scripting languages like Ajax or DOM?
 
these are not scripting languages !
Those are parts of what can be done via javascript
DOM = document object model = the object model of the document, an API provided by the browser
 
Oops my bad thanks for correcting me @JanDvorak :)
So, no solution for my problem ?? :(
 
9:18 AM
AJAX = asynchronous javascript and xml = the concept of sending data between the client and the server to update the page dynamically instead of loading a new page
 
o/
 
\o
@GNi33 July - Bahamas? BadgerGirl, copy, rlemon, maybe Zirak and me.
 
would be a good idea, our weather is starting to get on my nerves
 
Accordion to recent surveys, you may insert random instrument names into sentences without people noticing
 
9:37 AM
@SOChatBot Boo!
 
@SOChatBot Sonofa!
 
@Darkyen #define basics
 
@Jan-StefanJanetzky import basics
package basics says basics!
 
@Darkyen var basics = require("basics");
 
> Achtung: Gilt nur wenn bereits bestellt wurde - Neue Bestellungen werden NICHT angenommen.
@copy ^
That's from the edis.at support! I'm now trying to check whether they really mean that they won't host our RPi.
That'd suck big time ...
 
9:46 AM
@Jan-StefanJanetzky var ugly_basics = eval(fs.readFileSync("./basics/basics.js") );
 
Well please suggest me what I'd have to do for to solve my problem???
 
user2157210
@OctavianDamiean shop who does not take any orders?
 
@copy thanks for that, thats one of the ways i known. in cologne the kvb offers a mobile version to figure out when certain trains arrive: kvb-koeln.de/qr/haltestellen i've poorly implemented it so far in nodejs but i wish i had direct access to the bahn database :/
they shall give us an api :/
/ot
 
@MaxBurucker Just told them to fix their website.
 
@Darkyen global_basics = eval("true basics :O");
 
user2157210
9:51 AM
@OctavianDamiean lul read it ever heard of "refundieren"?
 
user2157210
heck it exists
 
user2157210
its austrian
 
@MaxBurucker Well, I didn't order anything from them so there's nothing to refund.
 
@Jan-StefanJanetzky lol
 
It's just that copy and me ordered a RPi just for that.
 
user2157210
9:52 AM
"Der bezahlte Betrag wird vollständig und ohne Fragen refundiert." you austrians ..
 
we are ripping off language features to load basics (XD)
 
@MaxBurucker Yea, don't you Germans have that too?
 
user2157210
no
 
user2157210
That sentence sounds so wrong!
 
9:54 AM
Absolutely not.
You're in the UK, you shut up. :D
 
user2157210
I can still defend my German language!
 
user2157210
 
user2157210
Austrians use weak verbs !
 
Leave me alone Marmeladinger. :D
 
user2157210
"Als schwache Verben wird eine von drei Verbalklassen in den germanischen Sprachen bezeichnet. Ihr Kennzeichen ist die Bildung der Präteritalformen sowie des Partizips des Präteritums (Partizip II) mithilfe eines Dentalsuffixes. Die anderen zwei Verbalklassen sind die starken Verben und die Präteritopräsentia."
 
user2157210
9:56 AM
holy shit German language ..
 
ಠ▃ಠ
 
user2157210
Things I will never need in my life: Dentalsuffix
 
Things I will never need in my life: STDs
 
The magic words which'll open many doors are "Push" and "Pull"
 
so what was the way to edit a variable before posting it in a form ?
 
10:13 AM
how to remove all jquery added css?
when i do animate or css, and want to remove it after?
 
MGE
Hello, do you know why it doesn't do the second action?
$(document).ready(function(){
function showfirst(callback){
$("#check").fadeOut('fast');
}

$("#check").click(function(){
showfirst(function() {
$("#check").fadeIn('fast');
});
});
})
it call showfist function bat then fadeIn doesn't work
it call showfirst function but then fadeIn doesn't work*
 
user2157210
@MGE edit ctrl + k
 
you're never calling the callback-function?
you're just passing it, but you're not doing anything with it
 
MGE
$(document).ready(function(){
function showfirst(callback){
$("#check").fadeOut('fast');
}

$("#check").click(function(){
showfirst(function() {
$("#check").fadeIn('fast');
});
});
})
@GNi33 I know but without callback argument must work
 
what? no, the fadeIn is in the callback-function
if you're not calling this function, it will never get to the fadeIn-call
 
MGE
10:26 AM
???
 
it doesn't fadeIn because fadeIn is never called
 
(yawn)
 
MGE
solved
$(document).ready(function(){
	$("#check").click(function(){
		$("#check").fadeOut('slow', function() {
    			$("#check").fadeIn('slow');
		});
	});
})
 
need moar jquery
 
yep, that's a way to do it, welcome on the way to callback-hell
and you really don't need to select #check every single time, but okay...
 
MGE
10:33 AM
$(document).ready(function(){
	$("#check").click(function(){
		$(this).fadeOut('slow', function() {
    			$(this).fadeIn('slow');
		});
	});
})
right?
 
yep, better
you could still place $('#check') in a variable at first, so you won't need to call the $ - function every single time
 
MGE
okey
thanks!
 
but it probably doesn't really matter on a id - selector
 
yesterday, by Octavian Damiean
Because it's only good if there's jquery and jquery.min
:D
 
oh cool, Richard Garriot did an AMA
 
10:39 AM
Hi All
 
hello
 
I have problem with onblur event javascript
Can some have time to look into
The problem is. When you tab input type text. Inline onblur event fired first then jquery .blur method
 
why do you even have an inline-handler?
 
But when you trigger .blur method by click on link then .blur fired first then inline one
it is requirement, we are passing some id through .cs file
 
I'm so sad now.
 
10:47 AM
@amit is it requirement or you have experienced this situation. can you plz give a browser name to test in that. — Jai 27 mins ago
here is question link
 
Why can't Elvis Presley drive in reverse? Because he's dead
 
@OctavianDamiean why?
 
11:06 AM
hey anyone used / using openlayers.js?
i got : Errore: TypeError: this.size is null in openlayers.js line 195
i'm loading map inside bootstrap modal
 
@GNi33 Because I can't host my RPi at edis ...
 
0
Q: Checkbox in WP Widgets Panel

user1752759I'm trying to create a checkbox option for one of my widgets in Wordpress, so that when it is checked, it will display/reveal some content (two labels with some input fields) below it. The idea on how it should reveal the content is like this: http://jsfiddle.net/eXHcc/ functions.php: //...

 
they won't take any new ones?
 
user2157210
Am i just not getting what do you mean by RPi?
 
user2157210
ah i got it
 
11:17 AM
“ Any fool can write code that a computer can understand. Good programmers write code that humans can understand. ” - Martin Fowler
 
user2157210
"
William March 8


We do not plan to offer this anymore.
"
 
user2157210
I dont think they will offer it anymore if William says they won't
 
Hey guys, trying to match strings between %{ and } using: regex .match("/%{(.*?)/g}"); - although I know I'm close, I'm just not there yet. Any ideas where I've gone wrong?
I'm thinking I'm doing my first /, then looking for %{ then anything in between (.*?) and then globally, finally ending with }
 
Try escaping the curly braces
also, the closing curly brace is placed after the regex, not inside it.
The latter is clearly bad
 
and no quotes around the regex
 
11:26 AM
regex.match(/%\{(.*)\}/g)
 
hey how do i tunr off and turn on window scrolling?
@JanDvorak ^ updated
sorry
 
preventDefault on scroll events?
 
i just need to make user not able to scroll page when an element hasClass()
then when it hasn't the class makeu ser able to scroll again
@JanDvorak is it possible? i'm on jquery
 
@JanDvorak Excellent, thanks! I'll get regex's eventually ;)
 
you could repurpose event delegation to act as the condition. Along the lines of $(document).on("scroll", "html.noScroll", false)
passing false as a callback is a shortcut for function(){return false}
 
11:30 AM
@Darkyen did you really delete your fb account ?!
 
@jAndy what? after all your fb-flirtage yesterday?
 
@jAndy yes
 
@Darkyen wtf !
why ? when ? how ?
OMG
 
@jAndy morning today
because of facebook's pedofile marketting
and my privacy concerns
also distraction at work
 
wud ?
 
11:32 AM
The had a feature where you could restrict anybody from sending you messages if they are not mutual friend.
They had loss :P
 
@okok a more proper version would be along the lines of $(document).on("scroll", function(e){ if($(this).hasClass("noScroll")) e.preventDefault()}
 
so they removed it completely and replaced it with something that makes there "SOFTWARE" decide who can message you and who cant -_-
basically supporting stalkers and pedofiles
and people who just use facebook to irritate others :P
 
@JanDvorak you rock thx a lot
@JanDvorak can't i use on() off()?
 
@Darkyen hmm you're using it wrong, I never had any issues with stalkers, insane folks or pedofiles there
 
@jAndy do u see a privacy setting :P
check there -_-
and it also depends on "countries"
even i neither had an issue .... but meh my friends are having tons :P ... soooooooooo i quit for them feel like a stupid hero
 
11:37 AM
hi guys
 
Are there major differences between js regexes and php ones ?
0
Q: Convert Javascript regex to PHP regex

AlexIs there any application or library that is able to convert javascript regex to PHP regex format?

 
@dystroy well, actually regex is regex, ECMAscript interpreters just may not support all concepts like negative lookaheads and some sophisticated perl'ish stuff
but in generel, regexp are language independent
 
yes, but are there things not supported by php and supported by js ? in short, what might legitimally motivate this question ?
 
I could only imagine the same problem, positive/negative lookaheads/behinds might be available in php
but not js
 
^--- if thats the alex no wonder she gets so much rep, and attention
 
11:41 AM
I don't trust any female picture on this site unless there is somekind of longterm proof and communications :p
 
user2157210
You do not want this picture unzoomed
 
@Darkyen I'm sure this picture helps get answers. But a smart framing do wonders.
 
too many help vampires abuse female picture in order to get more blood
 
user2157210
@dystroy ^
 
@dystroy ahan ahan
 
11:42 AM
@jAndy does that work?!? sneaks out to change gravatar
 
650 questions...
 
@GNi33 works on me most of the time
 
:D
 
usually if I see an interesting question -> open it -> tons of text & code -> CLOSE TL;DR... but if there is a pretty female avatar... which doesn't look totally faky
I MIGHT HAVE A SECOND LOOK
:D
 
There is no doubt it works. Even putting the picture of a smiling and pretty guy would make more straight guys answer. We're programmed to serve attractive people and people who look sympathetic.
 
11:45 AM
hitler was ugly as shit
 
@jAndy That's why I didn't serve him. This and the fact he killed a big part of my family.
 
I was joking obv, Bush also is ugly as shit :p
 
@jAndy lol
can we get emails from gravtar links ?
 
but the ugliest fu**er of all time was churchill, who had followers like crazy (and by the, who killed parts of my family)
 
if we can we search the alex on google +
:3
 
11:49 AM
^^
@Darkyen If you want to spouse her, answer her question. Guaranteed result !
 
i want to see if its him or her
urrr urr gurr
 
Spouse her and you'll know.
 
alexxa86
xD @dystroy my gf will kill me
 
she's fat
that's why we only see a close picture
pretty face, large size
 
Well... everybody chooses an advantaging picture. That's why after hours of search I had to finally opt for the picture of a monkey to replace me.
 
11:53 AM
haha :D
And me a random guy with awesome sky galsses
 
user2157210
dont ask me
 
lol
bin please
 
user2157210
I'd say something is broken
 

« first day (892 days earlier)      last day (4063 days later) »