« first day (966 days earlier)      last day (4207 days later) » 

10:06
0
Q: phantomJS - Using Multiple page.open in Single Script

asprinMy goal is to execute phantomJS by using: // adding $op and $er for debugging purposes exec('phantomjs script.js', $op, $er); print_r($op); echo $er; And then inside script.js, I plan to use multiple page.open() to capture screenshots of different pages such as: var url = 'some dynamic url go...

Does it still work with /command?
We'll get used to it
Yeah, I'm preserving / for the time being. It's actually used internally as another way to disambiguate. If you started with a / and a command wasn't found, it won't try executing listeners, and go on ahead to the error message.
I've also changed the error message to be...erm...nicer.
anyone knows a css fuzz generator?
my google-fu seems to be low
The error message is meh now: chat.stackoverflow.com/transcript/message/9881954#9881954 I just drew it up lacking a better idea
Maybe change the beginning to "I couldn't understand that"
@FlorianMargaine noisetexturegenerator.com ?
wait, css
10:22
yeah
some program generating valid css
so that I can test my css parser
nvm, that one is lame
oh, that kind of fuzz.
That's less likely to already exist
I'd have more chances grabbing a test suite from another css parser I guess
Try grabbing css from horrible past projects
10:29
they're too big
I won't be able to check if the output is correct
Only samples from them, the odd parts
my code
mother of hell
1 message moved to recycle bin
Please don't just dump your code on us. Format it and/or post on a paste site.
Also, this is not a js problem
As evident by the absolute lack of js and prominence of php
 
1 hour later…
11:59
hello
!!/sorry to hear about your loss :(
@Connor That didn't make much sense. Use the help command to learn more.
!!/help
12:19
Well, this is poop. @JanDvorak remember your complaint about /weather failing silently? I don't think I can fix that, since the injected script gives off a SyntaxError.
I'll file them a bug report, though
oh, they updated their API. cool
0
Q: Can't Build Cocos2Dx emscripten project

DaniI need to port a Cocos2D-x project to Web (JS+HTML5). I'm trying to compile cocos2D-x samples using the emscripten project for cocos2d-x, and I've followed this tutorial http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Emscripten_usage without success. First, I followed the emscripten-specific g...

12:38
Use a proxy
how? you know a program... (But I have ubuntu)
Google "online proxy" if you really can't be bothered to search for a good one
yeah I search on Google and there are more solution...
0
Q: Proxy configuration change

MogThere used to be an option in proxy configuration that was: Use this proxy server for all protocols However, in 12.04, I can't find it. Is there anyway to reproduce its behavior in a handy way? I can't seem to find it. I tried to install gnome-network-properties to get the old applet back but...

!!/tell MirkoCianfarani google online proxy
12:43
!!\ Zirak is a genteleman
@MirkoCianfarani Absolutely not
what?
@Zirak I try on the hidemyass.com ; zend2.com ; kproxy.com and none of it works
Because you need a UK proxy
Also, how about not watching it through BBC One?
I'm sure it's easy to find a streaming site which has The Voice UK
12:53
Already I know this site of streaming but yesterday I lose the episode
Damn Bahamas government. Their meteorological service website is down: bahamasweather.org.bs
@BadgerGirl You looked into the Bahamas...do you know if they official use Fahrenheit?
@Zirak I guess they do, I don't know.
!!slidepoop
Mar 13 at 1:40, by rlemon
(Random Fact, when rlemon was 13 he pooped on a slide. he isn't proud of it, but he felt it was time to confess. I'm sorry slide.)
@Loktar got a turn based strategy game with no grids /
13:08
!!weather New York
@Zirak New York: 64.166F (17.87C, 291.02K), moderate rain
@Loktar And as you requested, Fahrenheit is displayed for US weather (and other countries which use it)
!!crustypoop
@Gacnt That didn't make much sense. Maybe you meant: crustypoop
11 hours ago, by Gacnt
ew just touched crusty poop on my cats butt by accident
lol
@Zirak What about like @CapricaSix- (with the hyphen)
Just an idears
@Feeds ...again?
@CapricaSix=
^^
It seems to be triggered by me entering the room.
13:15
I think it's more to do with you entering the Sandbox first
Ooo, I love fill in the blanks
!!hang
e
@KendallFrey Sees you in the sandbox, grabs your info; you enter this room, it doesn't grab your data again. Sees you're not an owner, gives you write permission, which demotes you.
How do I send answers
No playing hang here please, use the sandbox
13:16
@Gacnt RTFM
!!/undo
@Gacnt That didn't make much sense. Maybe you meant: undo
@Zirak nou
I keep feeding help vamps :P
!!/tell Gacnt help help
13:17
@Gacnt help: Fetches documentation for given command, or general help article. /help [cmdName]
@BenjaminGruenbaum You take that back :<
@Zirak Ninja Echo was designed to run separately for each room.
@KendallFrey It's all part of the damn permission system...it's annoying.
13:18
@Gacnt You're annoying. If it's still an issue, don't close it, make your point
You've already made up your mind that it is a bad idea, so no
13:31
gifbin.com/986789 this was also great
@Zirak Added a sentence to the end of #3 so just refresh if you've already looked at it
and 1 more sentence
13:49
Best video and Old Man Thinks Gun Dildo is a Toy
@KendallFrey I've got a hacky solution for your demotion problem, I'll roll it in a few mins.
@Zirak See, this is why I closed it, you're fixated on the idea that I only care about protecting my commands.
Not your commands, learned commands. And I don't get why
It's not that
> The point I'm trying to make, is there comes a time where users have the potential to cause more evil than good. If you give the wrong person the right utilities to be malicious, it is bad for the whole group.
@Zirak mute him, then move him to room owner, now that's a hacky solution to the problem :P
13:58
@Zirak The proxy online for watching BBC one nothing function and also for the specific uk proxy.
I say the free proxy online
now I will wait a possible torrent...
@neo 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.
@Gacnt When does this happen? People can do all sorts of things but they don't, because of many reasons. So we can protect it against something that's unlikely to happen, but it won't happen
I don't know, but I'm done talking about it
brb
@erasmus 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.
14:04
hey, why did that bob up? It's from end of may 2011
@KendallFrey Actually, I've got a non-hacky solution
How much rep for close vote
posted on June 08, 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) {} WOOH!

14:20
Can someone explicitly leave and rejoin the room?
eh, I'm an owner, so it didn't catch. It'll be tested in the wild it seems...
lol, dude wrote his life story in his SO profile
14:41
@BenjaminGruenbaum he also writes porn , well indian porn stories :P
i remember that blog and email lol
@Darkyen Wait what?!
ever read porn stories ?
user1125394
ass ventura
@Darkyen Honestly? Not really, no.
I'd like to have a look at his porn stories though, that sounds mildly funny
user1125394
@Darkyen Do they sing all the time?
14:45
wtf duolingo. A sentence with a translation of "I have water in my sugar"
@BenjaminGruenbaum i will search :P
@Zirak that's a valid sentence, even if semantically unusual
@JanDvorak You want semantically unusual? Try Moore's Paradox.
@NinjaEcho look up moore's paradox
Moore's paradox concerns the apparent absurdity involved in asserting a first-person present-tense sentence such as, "It's raining but I don't believe that it is raining" or "It's raining but I believe that it is not raining." The first author to note this apparent absurdity was G.E. Moore. These 'Moorean' sentences, as they have become known, are paradoxical in that while they appear absurd, they nevertheless: # can be true, # are (logically) consistent, and moreover # are not (obviously) contradictions. The term 'Moore's Paradox' is attributed to Ludwig Wittgenstein, who considered the pa...
Reminds me of
The belief–desire–intention software model (usually referred to simply, but ambiguously, as BDI) is a software model developed for programming intelligent agents. Superficially characterized by the implementation of an agent's beliefs, desires and intentions, it actually uses these concepts to solve a particular problem in agent programming. In essence, it provides a mechanism for separating the activity of selecting a plan (from a plan library or an external planner application) from the execution of currently active plans. Consequently, BDI agents are able to balance the time spent on del...
14:53
heh. "La banana mangia la frutta." The banana eats the fruit.
user1125394
a ti te gusta fruttas
user1125394
> We learn from history that we do not learn from history.
hello
could someone help me with GitHub by chance?
user1125394
@xcx not really. Just another instance of an inconsistent recursive definition
@Neal why does stuff like that still happen to you?
-3
A: Does anyone know of a JS Chaining library that allows for deferred execution of methods?

NealAs @Jordan Doyle said in his comment: Just return this So every method in your objects should return the object in the return statement so that you can chain on another method. For example: var obj = new (function(){ this.methOne = function(){ //... return this; } this....

You're in SO for more than 2 years -_-
user1125394
> If there is an exception to every rule, then every rule must have at least one exception; the exception to this one being that it has no exception." "There's always an exception to the rule, except to the exception of the rule—which is, in of itself, an accepted exception of the rule. en.wikipedia.org/wiki/Exception_paradox
@xcx That's a dumb way to say that :P
@xcx a lot of paradoxes boil down to the liar's paradox, so does this one.
user1125394
that's why I don't like exceptions
15:00
I know, let's use checked exceptions :P
I never said it was a bug. — George Stocker 2 days ago
both are cases of a recursive definition that turns out inconsistent
Can somebody host http://gacnt-dotafinder.jitsu.com and tell me the IP please
on linux
Can't do it on win work pc
unexpected hanging = the last of the element of the set of possibilities is not in that set (stated implicitly) and the list is non-empty and finite (stated by providing an upper bound and an implicit lower bound)
Another family of paradoxes are the zeno's family of paradoxes (AKA 0.999...9)
based on the misunderstanding that the limit of values lower than X is itself lower than X
@JanDvorak Can you do me the above favor so I can finish this please :)
15:14
@Gacnt sorry, I don't have Linux. I have a symbian phone but it would take forever to get the IP address out of it
oh ok :)
% host gacnt-dotafinder.jitsu.com
gacnt-dotafinder.jitsu.com has address 165.225.130.238
gacnt-dotafinder.jitsu.com has address 165.225.131.5
gacnt-dotafinder.jitsu.com has address 165.225.130.240
gacnt-dotafinder.jitsu.com has address 165.225.130.239
gacnt-dotafinder.jitsu.com has address 165.225.130.235
gacnt-dotafinder.jitsu.com has address 165.225.130.241
gacnt-dotafinder.jitsu.com has address 165.225.130.237
gacnt-dotafinder.jitsu.com has address 165.225.131.4
user1125394
wow that's whole family
What the hell do I use to for Nodejitsu then :/ any one?
umm... make a DNS request, perhaps?
This looks like a DNS load-balancer
15:17
I am, it says make an A-Name for the IP listed at host <url>
I'm not sure if that's how whatever's hosted on nodejitsu works
Ask nodejitsu
15:36
@thmas 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.
@Feeds @rlemon @Zirak what treachery is this!
now bots usurpt me?
She does that to me too.
@JeanGuy 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.
15:43
can someone help with this one ? stackoverflow.com/questions/16943203/…
@SimonSarris lol
lol this is insane
function returnInt( i ) {
    return ( i | 0 ) ^ 0x8000;
}
instructions size is 264
@JeanGuy this is the right way to ask questions here
function returnInt( i ) {
    return ( i & 0x3FFFFFFF ) ^ 0x8000;
}
instruction size is 150!
@SimonSarris what the hell...I blame SO chat
oh wait, it is my fault. Whoops.
Sorry, it should be fixed now.
15:58
ok, so i have what i think to be a interesting question, by law now cookie's have to be accepted ..ect so how about using localstorage instead it does the same thing right?
@Connor what? cookies HAVE to be accepted?
that doesnt sound right at all
@SimonSarris you know what i mean
@Connor I think the laws regarding cookies talk about all data stored on the client, which includes localstorage
@Zirak ohhh
If you're bothered, you can always check the law itself.
16:01
Hi @all
Please have a look at this link
I am thinking to migrate it to another stackexchange account
to get more attention
I think it is preferred at super user
Shall I migrate my question to super user or give a bounty to it?
I am confused :/
Any suggestions?
@Zirak By law it has no effect anyway, Legislation's (act of parliament) require consent of the governed to gain the power of law hense why it is called legal and not lawful :)
!!me AFK
@Connor That didn't make much sense. Use the help command to learn more.
@Mr_Green flag your own question for mod attention and ask for that.
So, here's a quick game. Check out the acknowledgement pages of this book and tell me if you can spot something interesting on the last acknowledgements page. amazon.com/gp/reader/1617290564/ref=sib_dp_ptu#reader-link
:)
ya I asked them now
They are saying it belongs to SO
So, I am going with bounty
16:15
@OctavianDamiean Nice!
(ノ^_^)ノ
@Mr_Green I also think that it belongs in SO
hmm sad no views :(
not even a single comment
@Mr_Green developers hate IE
To be fair, IE started.
yup
"IE started" ?
16:17
!!echo something
something
Ah, great!
Feels so much better.
@Mr_Green Yeah, with all the hate :P
hehe
If it wasn't such a bad browser to begin with, there wouldn't have been a problem.
16:19
I added bounty to that post
The feature I am expecting is available in firebug from many years (just for saying)
I don't know why IE dev team think it is not cool
@BenjaminGruenbaum Just received my copy of that book. It feels pretty cool to be named in a book's acknowledgement section. :)
3
@OctavianDamiean grats man!
@OctavianDamiean Yeah it is :)
I wanted to get into Android development, but every time I go to do so, I just say to myself, why not write in JS
@CHRIS 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.
16:25
hello
hi guys
anyone got a moment?
hahahahahahaha
Hey its dota2 right? (slow connection, can't play video)
"Imagine trying to push yourself on a skateboard solely by waving a Denny's menu back and forth"
16:32
anyone here good in jquery?
@user1613928 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.
isnt working with jquery 1.8+
formatting please
how?
backticks only work with single-line posts. Use indentation (CTRL+K)
16:37
jQuery(document).ready(function($) {
	$('a').click(function() {
	    var elementClicked = $(this).attr("href");
	    var destination = $(elementClicked).offset().top;
	    $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination-15}, 500 );
	    return false;
	});
});
there
we go
It's covered in the room pseudorules which you failed to read despite being linked to them twice
Is this the right chatroom for a Java problem?
@user1613928 no
The Java room. I know, mind blowing.
16:38
unless the Java room is dead, in which case... still not.
java sucks?
that's our official stance
also, personal opinion
Eeep, it's dead D:
Java? YAY!
well, I might be able to help, but first accept my condolences
16:41
I gratefully accept ^^
May I pose my problem?
@Breezer no idea why this could break in 1.8, except - look up whether the :animated pseudoclass is still supported.
@user1613928 You may.
Great, well, I'm trying to build a binary search tree, and I'm stuck with the recursion of the insertion method.
my code so far:
I know recursion is needed within the method for the tree to fill itself, just don't know where to call it.
public void addOntoBST(Node treeHead, Node current){
if (treeHead == null) {
treeHead = current;
}else {
if (current.getValue()<treeHead.getValue()){

} else {

//I will then return the new root.

}


}

}
formatting please
@JanDvorak there is no mentioning if it has been decrepeated in http://api.jquery.com/animated-selector/ , I've checked most of the functions they all seem supported,
I got it running on http://huddingebilservice.se/kategori/tjanster/, when you use the menu and hover "Tjänster" it throws in the error console

Tidsstämpel: 8.6.2013 18:45:45
Fel: Error: Syntax error, unrecognized expression: http://huddingebilservice.se/kategori/tjanster/#reparationer
Källkodsfil: http://huddingebilservice.se/wp-includes/js/jquery/jquery.js?ver=1.8.3
CTRL + K :P
public void addOntoBST(Node treeHead, Node current){

  if (treeHead == null) { //test to see if empty tree.
    treeHead = current;
  }else {
    if (current.getValue()<treeHead.getValue()){ //test to see if to the left of root.

    } else {

      //I will then return the new root.

    }


  }

}
Haha, thanks @Breezer
16:46
@PrathviRaj 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.
@user1613928 where's the problem? I'm not going to code for you.
I don't understand where I would call addOntoBST on itself
@JanDvorak in examples I have seen
root->left = insert(root->left, element);
is used, but that does not compile as I use a "setLeft()" method in my Node class to assign children
what about setLeft(insert(root.getLeft(), element))?
I don't know your node interface, however
@Supreet 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.
Should I generally approve these sort of edits?
16:55
Well i got it working by removing the :animated
@JanDvorak tells me void type isn't allowed here
@BenjaminGruenbaum eh, why not
@JanDvorak am I missing a return statement?
It looks like you're trying to use the return value of a void function
perhaps insert is void?
In which case, it should do the assignment itself
@BenjaminGruenbaum I would have refused this edit as too minor
16:58
@BenjaminGruenbaum Maybe quasi-relevant: meta.stackoverflow.com/questions/25/…
@Zirak I approve them, but I ran into a post in meta that suggests they're too minor.
@JanDvorak In place of insert, it just means calling the function itself. So in this case it would be "addOntoBST"
Minor edits are painful as they prevent other editors from making real useful ones
yeah, in your case it's borderline too minor
@dystroy this isn't the case of Benja's post, as there is nothing major here to fix
16:59
It wouldn't have even been a tough call had it not been for that mistake in the title.

« first day (966 days earlier)      last day (4207 days later) »