« first day (947 days earlier)      last day (4226 days later) » 

22:01
@JanDvorak JSONP works by embedding a script tag in the page. The src attribute has the script url with your parameters in the querystring, one of these parameters being a method to call with the returned data. The body of the returned script contains a call to that method with the data as its parameter. tl;dr, I don't think it's possible.
user1125394
!!Is 5 inset ifs too much?
user1596138
!!
user1596138
Who killed the bot?
user1596138
Oh joy. Windows fucking 8 knows best and says it will restart in 15 minutes to install updates.
22:08
Oh for gods sake ... the menu music of Gran Turismo 5 sounds like a cheap 70's or 80's porn movie background music ... horrible ...
user1596138
Which means I won't have a computer for over an hour? Hell no. I'm killing auto restarts.... What's wrong with the people at microshaft. Seriously.
22:23
!!cowthink I taste great with bacon.
 __________________________
( I taste great with bacon. )
 --------------------------
        O   ^__^
         O  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
user1596138
!!/die
user1596138
?
@JosiahSouth Registered; need 0 more to execute
user1596138
Umm....
user1125394
22:24
!!is this room about js?
@xcx Certainly not
user1125394
!!are you reliable?
@xcx I can neither confirm nor deny
!!did you have sexual relations with that woman?
@Shmiddty Y U NO MAEK SENSE!? Could not understand did you have sexual relations with that woman? (perhaps you meant to execute a command? If so, prepend the command name with a /)
22:26
!!you have sexual relations with that woman or false
@BenjaminGruenbaum false
!!why did you have sexual relations with that woman?
@Shmiddty Y U NO MAEK SENSE!? Could not understand why did you have sexual relations with that woman?
!!are you having sexual relations with that woman right now?
@Shmiddty Absolutely not
22:27
!!are you sure?
@Shmiddty Indeed
!!are you a liar?
@Shmiddty Impossible
!!am I ever useful?
@Shmiddty Absolutely not
22:28
:(
:C
user1125394
well I made a xmas tree with if clauses
@MartaKostova 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.
user1596138
!!/eval while(1) {!!are you a liar; }
@JosiahSouth "SyntaxError: missing ; before statement"
user1596138
!!/eval while(1) {are you a liar? }
22:37
You must be new to computers
2
@JosiahSouth "SyntaxError: missing ; before statement"
user1596138
@copy Ok?
user1596138
!!are you stupid?
@JosiahSouth Certainly
user1596138
!!is @copy an idiot?
user1596138
22:41
@copy Jokes on you.
Be nice :-)
0
Q: Covert Wordpress Blogname into JQuery

JessHere is the blogname in php <?php $blog_title = get_bloginfo('name'); ?> I want to convert it to javascript. The file I want the blog name is in a .js file so I cant create the variable with php.

user1125394
!!what do trolls eat?
@xcx Impossible
@xcx No definition found
user1596138
22:46
@copy Not sure why that makes me seem "new to computers."
user1596138
That's more of an insult to me than letting a bot call you an idiot. Considering it's my job.
@JosiahSouth You must be new to the Internet.
2
user1596138
I don't understand. At all.
!!what is food?
22:49
@Shmiddty food (uncountable) Any substance that is or can be consumed by living organisms, especially by eating, in order to sustain life.
kinda shorthand define. I see
!!what is love? (baby don't hurt me)
@JosiahSouth We know, it's ok don't worry.
user1596138
!!/stat 1365454
@JosiahSouth That dude sucks
@Shmiddty love (uncountable) An intense feeling of affection and care towards another person.
user1596138
Hahaha what?
user1596138
22:50
Apparently some things have been changed today.
user1596138
!!/stat 1365454
@JosiahSouth Badger Girl has 341 reputation, earned 0 rep today, asked 4 questions, gave 6 answers, for a q:a ratio of 2:3.
user1596138
That's better. Somebody turned on troll mode I guess.
@JosiahSouth I wouldn't say that if I were you, unless you want a phone call.
[[[+[]]][+[]],[[[],++[[+[]]][+[]][+[]]][++[[+[]]][+[]][+[]]][+[]],++[[+[]]][+[]‌​][+[]]][++[[+[]]][+[]][+[]]]][[[[],++[[+[]]][+[]][+[]]][++[[+[]]][+[]][+[]]][+[]]‌​,++[[+[]]][+[]][+[]]][++[[+[]]][+[]][+[]]]] Guess what that evaluates to? :P
user1125394
22:56
42?
That looks invalid
!!> [[[+[]]][+[]],[[[],++[[+[]]][+[]][+[]]][++[[+[]]][+[]][+[]]][+[]],++[[+[]]][+[]‌‌​​][+[]]][++[[+[]]][+[]][+[]]]][[[[],++[[+[]]][+[]][+[]]][++[[+[]]][+[]][+[]]][+[]‌​]‌​,++[[+[]]][+[]][+[]]][++[[+[]]][+[]][+[]]]]
@BenjaminGruenbaum "SyntaxError: illegal character"
Yep, invalid
hey guys, just wondering, do you know of any cool animation I should do when user submits a form successfully?
@BenjaminGruenbaum hmm
try it in the chrome console
Or copy this message:
22:59
Same thing bub
javascript:alert([[[+[]]][+[]],[[[],++[[+[]]][+[]][+[]]][++[[+[]]][+[]][+[]]][+[‌​]],++[[+[]]][+[]][+[]]][++[[+[]]][+[]][+[]]]][[[[],++[[+[]]][+[]][+[]]][++[[+[]]][‌​+[]][+[]]][+[]],++[[+[]]][+[]][+[]]][++[[+[]]][+[]][+[]]]])
user1125394
@Doorknob SyntaxError: Unexpected token ILLEGAL
same thing bub
user1125394
here too
OH I know, the SO chat is doing something to it
22:59
[],++[] is obviously wrong
m59
m59
Hello, gents.
user1125394
@Doorknob seems like your cat walk on your keyboard
ok, try this (copy/paste into address bar)
user1125394
1
23:02
yay :P
good for you
user1596138
@BenjaminGruenbaum What??
@JosiahSouth I think it's best if you don't know :)
user1596138
Ok. This is just stupid now. Come on.
ooh interesting
1223693
!!/stat 1223693
23:06
@Doorknob Doorknob has 8078 reputation, earned 22 rep today, asked 54 questions, gave 277 answers, for a q:a ratio of 54:277.
user1596138
!!/stat 1596138
@JosiahSouth Josiah South has 350 reputation, earned 10 rep today, asked 7 questions, gave 15 answers, for a q:a ratio of 7:15.
!!/stat 1348195
@BenjaminGruenbaum Benjamin Gruenbaum has 9065 reputation, earned 230 rep today, asked 26 questions, gave 278 answers, for a q:a ratio of 13:139.
!!/stat
23:08
@Shmiddty Shmiddty has 6436 reputation, earned 10 rep today, asked 4 questions, gave 343 answers, for a q:a ratio of 4:343.
user1596138
It should reduce the ratio automagically...
you can't reduce 4/343 or 7/15 or 54/277 though
yeah, they're co-prime
!!/stat 22656
@Doorknob Jon Skeet has 566492 reputation, earned 260 rep today, asked 29 questions, gave 25812 answers, for a q:a ratio of 29:25812.
user1596138
23:09
!!/stat 1337
@JosiahSouth Brad Gilbert has 11190 reputation, earned 0 rep today, asked 5 questions, gave 379 answers, for a q:a ratio of 5:379.
user1596138
Good idea.
@BenjaminGruenbaum Jeff Atwood has 25830 reputation, earned 5 rep today, asked 15 questions, gave 137 answers, for a q:a ratio of 15:137.
of course 1 is jeff :P
user1596138
23:10
!!/stat 42
@JosiahSouth Coincoin has 10686 reputation, earned 10 rep today, asked 9 questions, gave 220 answers, for a q:a ratio of 9:220.
user1596138
This guy is the answer to life...
!!/stat 1000000
@Doorknob Confluence has 648 reputation, earned 0 rep today, asked 9 questions, gave 13 answers, for a q:a ratio of 9:13.
the ratio is kinda useless because the numbers are almost always coprime
maybe it should divide q by a, and then round
user1125394
23:11
!!/stat ';drop table accounts;
@xcx Could not process input. Error: Unexpected end of input: Expected ' on line 1384 on column 23
ahah exploits of the mom :D
!!/stat 9001
user1596138
!!/stat 662606957
@xcx How on earth did you think that would work?
@Doorknob User 9001 not found
23:11
Can I ban them all from the bot?
@JosiahSouth User 662606957 not found
user1596138
Planks constant...
user1596138
I'll stop hahaha.
yeah let's stop :P
oh wait. GUYS GO USE THE SANDBOX DILLWEEDS
ffs
user1596138
23:12
We were all doing it. No need to be a little bitch.
@Shmiddty Usually we tolerate this sort of thing, unless another conversation's happening. Then move everything to sandbox
this kinda bot isn't in the sandbox -_-
fair enough
user1596138
Doorknob go to sandbox and use !J! instead ;)
@Shmiddty You can move messages you know..
23:12
Zirak's is in the sandbox I think
I know
Oh wait, the bot isn't in the sandbox :/ @Zirak
I'm just in a lousy mood today. Don't mind me.
user1596138
I forked caprica today. It just happens to be running in sandbox because I was making more cowsay templates.
@Shmiddty Shitty inherited code mood?
23:14
nah
that I'm used to
that I can deal with
Don't you worry your pretty little head over it.
Not enough eucalyptus?
user1596138
Anyway, about JS. Does anyone else feel like jQuery is somewhat pointless? I feel like it only makes it easier for newbs to use JS. But they don't actually learn JS.
just some personal stuff that I'm not going to bring up with strangers in a public forum
23:17
@JosiahSouth It's good for work - building things faster.
(no offense meant)
user1596138
Definitely true.
user1596138
But still, I think it's gotten to the point where kids are only learning that.
@Shmiddty No offense taken. Well, feel better :)
user1596138
@frankie3 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.
23:20
@frankie3 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.
user1596138
It's off now.
user1596138
My bad. It likes to act in all chat rooms instead of just one.
@JosiahSouth Yep. And a lot of the advantages of jQuery are now in JS proper
user1596138
Yup.
user1596138
23:22
I think mootools is stupid though.
8
A: How can Stack Overflow users be encouraged to use jQuery only when appropriate?

Benjamin GruenbaumWhile I am a strong proponent of JavaScript education myself, and learning how to get stuff done without relying on thousands of lines of external code... Let me play the devil's advocate. Let's say you're writing an application that has to only run on modern browsers (old IE support is a big ...

user1596138
Ah. Perfect.
jQuery has some stuff that is hard to do without it like good animations. It has some generally useful stuff like AJAX shims and it's good for cross-browser stuff. It fixes stuff that's wrong in the DOM api. The problem is that it brings a lot of problems too.
user1596138
@BenjaminGruenbaum I agree with animations. That's the only thing I really use it for.
user1596138
.hide() and .show() are convenient also, but only if you're already loading it for something else.
23:26
But who would want animations on his website anyways
Maybe as part of your job
@copy art?
or some such nonsense?
user1596138
I don't ever get what @copy is trying to say. Maybe he's just way over my head.
actually, it can make websites more intuitive
But half the time animations are just worthless junk added in to make things "look cool"
Exactly
user1596138
I can think of a lot of good reasons to use animations. But not when it's just for show.
23:29
I think "for show" is important too. Being visually appealing is important, and some times your target audience enjoys animations and effects.
Not every website is stackoverflow, a lot of times having an animated gallery with fades and slide ins and stuff is good.
I think you should say it CAN be important
@BenjaminGruenbaum Ugh I hate that. Just look at google images
Nope, the UX of your site is important. Sometimes animations contribute to that, sometimes they don't. We're not the target audience of most websites
The only sites that seem to do the "for show" thing are beer websites... haha
user1596138
Haha.
23:31
and beer websites are always awful
@twiz Wedding dresses websites have that too.
@BenjaminGruenbaum Our CEO is going to Israel next week
user1596138
I think animations are good for say, a photography company. They use nice animated galleries and such and it really makes their work look professional. Or really anything involving a gallery or different angles of the same thing.
haha makes sense. A lot of weddings are a result of beer.
23:32
@SomeKittens Who's "US"? I don't even know where you work :P
user1596138
I do realize we aren't the target audience though. I often have to keep that in mind when working on a project. The general public won't appreciate the same things people on here would.
user1596138
Also our target audience is 20-30 year olds who go to the bar every night.
Exactly you always have to keep that in mind. Then again I mostly do backend
user1596138
That's literally our entire business.
23:34
I think the point is that you shouldn't go overboard with animations, and you should never use animations if it will compromise the site's content
@SomeKittens Looks nice, why is he coming?
user1596138
An animation should never be something required for the sites general functionality.
exactly
@BenjaminGruenbaum He's Jewish, some birthright thing.
You probably know more about it than me
@SomeKittens Oh cool, I know about that. It's a "come to Israel" tour. They show him the whole country and stuff.
23:35
Is Israel paying for it? I'm still tempted to pretend I'm jewish so I can get a free trip there...
I mean... I'm just as Jewish as I am any other religion.
@twiz What we know about it here is that jewish american girls come and that they're easy.
:P
@BenjaminGruenbaum That link of yours that is starred... I feel as though currying is just a bad idea... no?
@BenjaminGruenbaum hahaha sounds about right
@twiz Currying is a very powerful concept
I mean its cool and perhaps useful, but...
confusing
to many
@twiz Go read learn you a haskell\
23:39
and isn't it essentially the same as chainable functions?
user1596138
@BenjaminGruenbaum Most girls are easy... Maybe it's just because I live in the US? Maybe it's just me ;) I'd like to believe it's both.
except more confusing
@JosiahSouth <- Seems legit.
History API appends the url to the end of the domain. How do you pass a url that always gets back to the root without using "../" a bunch of times?
user1596138
Does ~ work in urls? I've never tried to use it.
23:40
I don't think I want to learn me a haskell...
user1596138
Even if it did I'm sure it would just link to the current dir?
It does in .Net, but this is all in javascript
I tried "mydomain.com/" and it gave me "mydomain.com/mydomain.com/"
@RyanJMcGowan /
user1596138
Just use a variable and set it to the path you need. Even if the variable has to have lots of ../../s
@BenjaminGruenbaum That doesn't work when i have mydomain.com/something/something else.
user1596138
23:42
@RyanJMcGowan You'll have to use mydomain.com*
@RyanJMcGowan just What's wrong with pushState("/") ?
user1596138
@RyanJMcGowan If you are currently using ../ a lot you can just use a variable containing the right amount of ../
(well, that's wrong syntax, but you get what I mean)
mydomain* ? does that clear the domain before it? I can try that. "/" only works when I want to get to the root. Not from one folder to another.
user1596138
I've never really had this problem. So I'll just watch and learn.
23:44
I'm gonna go do something productive I suppose...
@RyanJMcGowan I don't get what you're trying to do, where are you trying to go from where?
I want to get to the root from any level, and then append "/stuff/stuff" onto it.
What's wrong with pushing "/stuff/stuff" then?
I tried that and if I'm at /something/something else, pushing /stuff/morestuff gives me /something/stuff/morestuff.
I can go ../stuff/morestuff
that works
but I want it to work from any level
@RyanJMcGowan I never realized that but yeah, the spec says the url is relative and not absolute
23:49
I think I'll have to use regex and look for "/"
and dynamically add "../" for each one
I was just hoping there was something more elegant
Hmm, I honestly never had many levels of nested routing working with the history api
Yeah I could just use ../../../ and probably never have a problem
The problem is my login is at the root, and I have the register as an ajax call at /account/register. It only presents itself when I use the ajax call to return back to login, and use the ajax call to register again.
<noscript>

<h1><font color="black">If you would like to see the slideshow <br><br>please <a href="http://www.java.com/getjava/"> <i>Install JavaScript</i></a></h1></font>
</noscript>
Going forward and backward with the browser button works ok, actually.
user1596138
23:53
@copy Leave my shit alone.
user1596138
@copy I didn't put that up. The stupid bitch before me did.
user1596138
@BenjaminGruenbaum That's on my stupid-ass jobs homepage. I'm gettin real tired of this.
@JosiahSouth ?
@RyanJMcGowan I'd ask your problem as a question in StackOverflow, it's not just mildly interesting, it's something other people might want to do too.
True.
I will.
I just wanted to make sure I wasn't being dumb first.
@JosiahSouth ... okay.
user1596138
23:56
@BenjaminGruenbaum That is from my work's homepage. This dumbass before me wrote a website entirely through cut/paste from w3schools. I work on other projects but whenever they want something changed on the site it's my job. I also add pages and other functions. But general site maintenance is not my job, nor am I allowed to do it on the clock. It's frustrating enough as it is. I'm NOT going to re-write the disgustingly malformed website for free and they won't give me time on the clock to fix it.
@JosiahSouth where do you work?
user1596138
whatzup.com
user1596138
And here it comes.....
Naa, you're joking, that can't be true.
user1596138
Although because you pointed that out I will be changing that. That is literally insane.
23:58
@Nexxpresso , someone beat you and made a better site than you.
@JosiahSouth I don't believe you that's your site
user1596138
Huh?
That can't be right
user1596138
What can't be right?
var togg1;
var togg2;
var togg3;
var togg4;
var count = 1;

function togg1() {


setInterval(function()  {

    jQuery('#m' + count).slideToggle();
    count++;
    if (count == 3) {count = 1;}
    jQuery('#m' + count).slideToggle();

}  , 5000);

}
user1596138
What?

« first day (947 days earlier)      last day (4226 days later) »