« first day (1246 days earlier)      last day (3764 days later) » 

Bob
6:00 PM
meh
:P
yea, I'm out
 
Take it easy
 
Bob
6 mins ago, by Bob
@JimmyHoffa nodejs runner.js master.min.js
I tink it was nodejs build.js to rebuild the bot (master.js, master.min.js)
 
Hmmm why Ad-Hoc Wi-FI between 2 laptops is only 500KB/s? Laptops are located 3-inches from each other
 
@Boris_yo crowded channel?
 
@DarthAndroid I don't know I only set WPA2.
 
6:04 PM
that's not what I'm talking about
How many other WiFi networks are on the same channel?
or other sources of interference
 
@DarthAndroid You cannot set channel on Ad-Hoc.
11b? That explains it.
 
@Bob well I hacked a fix for the zombie's timers error because that was just a code bug in zombie that was easy to fix
now the removeAttribute error pops up
and it makes it to the room before dying.
Here's the cause of that error, old jquery bug
!!listcommands
 
6:25 PM
@JimmyHoffa help, listen, eval, coffee, refresh, forget, info, listcommands, tell, afk, awsm, ban, unban, color, convert, define, domain, export, findcommand, forgetseen, github, google, hang, inhistory, import, jquery, learn, test, why, ok, hello, friday, after5, theanswer, caution, nicethings, europe, goaway, status, idk, thatword, poptart, routertroubleshooting, networkingproblem, meta, rlemon, no, foxno, yes, orlmente, fixit, uio, taytaytay, ping, maybe, say, facepalm, hv, ohhh, whocares
snore, toostupid, bababababat, plz, whee, lol, sudo, beatingbloodoutofarockwithascythe, test1, ittts
 
Anonymous
!!zalgo lol
 
@PatoSáinz ḷ̴̼͉̱̭̤̉ͪ͡ỏ̢̜̫̤͙̮͎ͩ̊ͨl̜̪͕̞̭̙͂̋ͩͅ
 
Anonymous
boy the abuse
 
!!zalgo FOR PONY!
 
@DarthAndroid F̻̳̑̈͋ͨ̒̂ͮ̾͞Ö̡̱̲́̋̈́́͋ͨ̈̏R̨̻̖͈͙̟̋͗̇̋̀̐̈́ ̴̭̫͂ͧ̑͒̑͘P͉͚ͤ̇̾̀͡Ỏ̙̺͕̬͓͚͛̃̒ͨ͐ͭṈ̢̧̘͇͚̝̤̅ͪͪ̏͝Y̼̬͎̦ͬ̉̈͐!̵̼͕͎̐̌ͥ̉ͧ̅
 
6:31 PM
@DarthAndroid can you honestly recommend that as not sucking? I looked into it but didn't complete installing it.
 
@allquixotic Recommend what? IntelliJ Ultimate / Webstorm for Javascript Dev?
 
@JimmyHoffa you could submit a patch upstream, but Assaf is sitting on ~15 pull requests and tons of open issues, so your chances of it getting noticed are slim. :(
@DarthAndroid aye
 
@allquixotic Yeah, not super worried about that right now. I suspect a couple simple picks and pokes and things should work for our purpose
then we can make our own branch and maintain such for us
 
zombie is a promising project, but I think it could use a better, more active maintainer... if you look, there are a load of forks of it that fix various things, and having someone wrangle all the fixes to make a better product would be huge
not that any of us have the knowledge and time and skills to do that
 
If you have lots of indirection and spaghetti code, it's better then most other Javascript IDEs. If you have mostly clear code and / or properly JSDoc'd code, it can bring refactoring and type checking up to on par with static languages like Java
I'm pretty sure there's a 30-day evaluation if you want to try it
 
6:34 PM
!!listcommands
 
@JimmyHoffa help, listen, eval, coffee, refresh, forget, info, listcommands, tell, afk, awsm, ban, unban, color, convert, define, domain, export, findcommand, forgetseen, github, google, hang, inhistory, import, jquery, learn, test, why, ok, hello, friday, after5, theanswer, caution, nicethings, europe, goaway, status, idk, thatword, poptart, routertroubleshooting, networkingproblem, meta, rlemon, no, foxno, yes, orlmente, fixit, uio, taytaytay, ping, maybe, say, facepalm, hv, ohhh, whocares
snore, toostupid, bababababat, plz, whee, lol, sudo, beatingbloodoutofarockwithascythe, test1, ittts
 
I've played with Eclipse, IntelliJ, and Visual Studio 2008/2010/2012 for javascript development, and IntelliJ can run circles around all of them.
 
Ok so I need to fix the stupid bug with jsdom for remoteAttribute
 
the production bot might be conflicting with your bot Jimmy
let me shut down the production bot temporarily?
or is that not needed atm
 
It was sitting idle untill it got a message
trying to render that message is what blowed it up
 
6:35 PM
ah
@DarthAndroid IntelliJ runs circles around IntelliJ? :) huh! :P
is that like the opposite of a heisenbug where, each time you look at the software again, it gets better? :P
 
Yes, actually.
They just came out with IntelliJ 13, and it's nice.
 
heh
is it based on netbeans?
 
No.
IntelliJ is it's own polyglot IDE platform, like Eclipse or Netbeans
I use it for Java / Javascript & web / Python / Ant / and a bit of ruby and C++
It's fast and responsive, which is why I ended up moving away from Eclipse in the first place
but I've found a number of features that are nice that Eclipse didn't have
IntelliJ ultimate is bit pricy, but over the last year or so that I've been using it, it's paid for itself nicely.
 
does that include webstorm and all the others?
lol... Utkarsh changed his display name to "Windows 8"
 
IntelliJ includes everything except the ObjectiveC stuff from App Code
In essence, WebStorm is the IntelliJ platform with only the Javascript/HTML/CSS/LESS/web plugins
PyCharm is IntelliJ platform with only the python and related plugins
IntelliJ Ultimate gives you license to all the first-party plugins (Web, Php, Ruby, Python, etc.), except for ObjC
(Java is also a first-party plugin, but they make it available for free in IntelliJ community edition)
 
Bob
I'm back~
@JimmyHoffa nice
@JimmyHoffa maybe just declare opacity?
@DarthAndroid it also completely fails with ExtJS :P
@allquixotic shouldn't be - I've run bots in parallel before when testing Awesomium
 
7:10 PM
@Bob How so?
Can you give me a gist and what you're expecting to work that isn't?
 
Bob
@DarthAndroid Oh, the autocomplete doesn't populate (though my expectations from VS may be too high). And the linter just plain breaks.
I can't really give an example right now - I only have it installed at work, and it's Saturday morning.
It's also a very old version of Ext that nothing works well with
 
I've found if you JSDoc stuff, you can make the IDE work with just about anything, but it requires a bit more upfront work because you're basically writing out a lot of the type information
 
Bob
@DarthAndroid Oh, that's another problem.
The doc comments aren't available in the concatenated version of ExtJS 2.3.0
ext-debug-w-comments.js only exists from 3.x onwards
 
@Bob Eh, I think there's a failure before any of this
I'm trying to do some more simple things for starters
> It looks like you're trying to do some more simple things for starters.
Oh good, clippy can help me with that too
3
 
@Bob Is there a non-concatenated version with comments that you can concatenate yourself?
 
Bob
7:23 PM
@DarthAndroid Yea, I might go through it sometime. A quick attempt initially stuffed things up even more (it doesn't seem to like comments in certain places, but I didn't get to investigate much)
oh, a somewhat-related problem - webstorm suffers the same slowdown as eclipse when parsing massive files
that would probably be the main reason I abandoned it
now using brackets for quick testing
and netbeans for the main stuff (it's part of a java ee project)
@JimmyHoffa huh, where?
I miss having a screenshot function
 
gist: Simpler stuff.., 2014-01-03 19:31:53Z
// Make sure we got a filename on the command line.
if (process.argv.length < 3) {
    console.log('Usage: node ' + process.argv[1] + ' FILENAME');
    process.exit(1);
}
// Read the file and print its contents.
var fs = require('fs')
    , filename = process.argv[2]
    , happy = "";
fs.readFile(filename, 'utf8', function(err, data) {
    if (err) throw err;
    console.log('[SO-ChatBot-Driver] OK: ' + filename);
    //console.log(data)
    happy = data;
});
var http = require("http");
var Browser = require("zombie");
var assert = require("assert");
console.log("[SO-ChatBot-Driver] zombie and assert loaded");
var chatURL = "http://chat.stackexchange.com/rooms/118/root-access";
var browser = new Browser({ debug: true, maxWait: 30000, waitFor: 30000, userAgent: "Mozilla/5.0 (Windows NT 6.2; Win64; x64;) Gecko/20100101 Firefox/20.0" });

var browserVisitHandler = function() {
  console.log('[SO-ChatBot-Driver] 0n page ' + browser.location);
  console.warn('[SO-ChatBot-Driver] ' + browser.document.innerHTML); console.warn('[SO-ChatBot-Driver] blah');
  var affildoc = browser.document;
  var emailField = affildoc.getElementById("email");
  emailField.value = "RAR!";
  var passwordField = affildoc.getElementById("password");
  passwordField.value = "ARRRR";
  browser.pressButton(".affiliate-button", function() {
    console.log('[SO-ChatBot-Driver] On page ' + browser.location);
  });
};

var postResponseHandler = function(res) {
  console.log(res);
  res.setEncoding('utf8');
  res.on('data', function(signinFormUrl) {
    console.log('[SO-ChatBot-Driver] ' + (signinFormUrl || 'No URL ???'));
    if (!signinFormUrl ) return;
    browser.visit(signinFormUrl, browserVisitHandler);
  });
};


var postData = "from=" + chatURL;
var postRequest = http.request(
  {
    host: 'stackexchange.com',
    port: 80,
    path: '/users/signin',
    method: 'POST',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
      'Content-Length': postData.length
      }
  },
  postResponseHandler);

console.log('[SO-ChatBot-Driver] Writing postData:' + postData);
postRequest.write(postData);
console.log('[SO-ChatBot-Driver] Ending request.');
postRequest.end();
 
Bob
@JimmyHoffa nice, looks much cleaner
 
@Bob It's missing a lot of the guts
I just went with the first couple steps to see how it behaved
also gave it the redirect URL so it should hopefully push the browser back to root-access
 
Bob
@JimmyHoffa doesn't really matter; we never needed redirects with any other the other drivers
 
@Bob if we use the redirect then you don't have to manually push it to root-access as a second step
(ideally)
which simplifies the code by removing an extra browser.visit with visit handler
Thing is I don't think it's getting past the auth
 
7:36 PM
damn, what have I started O_O :D
 
Hrmm maybe it is making it through Auth
 
Bob
shit.
@allquixotic I just realised that I forgot to remove the password before putting the most recent gist up
(it's deleted now, but... yea)
ok, that's definitely gonna have to be an argument
at this rate...
 
Why do I have unidentified network when connecting both laptops with LAN cable?
 
@Bob :P
i doubt anyone got it in that short time
 
How can such network be unidentified?
 
7:41 PM
@Boris_yo Any connection which doesn't have a proper gateway will be unidentified
and no, there's no easy way around that
 
@Boris_yo you have to learn Microsoft terminology; "Unidentified network" means "this connection does not have a default route that leads to the public internet"
 
@DarthAndroid You mean if I used router then it would be identified? I don't remember having unidentified network in Windows XP.
 
@Boris_yo It's new in Vista or 7. See what @allquixotic for the specific conditions
 
@allquixotic Uhm not really. Connection that does not lead to public is called "No Internet Connection".
 
it's new in Vista
 
Bob
7:43 PM
@allquixotic it's been about two hours :S
 
 
@Boris_yo and it really doesn't matter what it says; as long as you are able to make the actual network connections you need, it's totally irrelevant what Microsoft thinks to call the adapter
it could say "Stinky Stupid Weird network" but if it works who the hell cares
 
@allquixotic When using wireless network and my ISP goes down I get - "No Internet Access" with exclamation point. But sometimes I cannot connect to public Wi-Fi as it keeps saying "Unidentified Network" and then it fails in the end.
@allquixotic About my example of unidentified network picture above, do you think it would be showing "Internet Access" if one laptop shared its wireless internet through LAN?
 
ah, it could also be because it failed to get DHCP address
 
@allquixotic I have checked and both laptops are set with "Obtain IP Automatically". DNS? netBIOS? wat
 
7:47 PM
could try ipconfig /renew for shiggles
 
@Boris_yo well... if you don't have ICS enabled on either laptop, then neither laptop is going to "obtain an IP address automatically', because neither one has set up a DHCP server to assign an IP to the other
 
Bob
@allquixotic I should make a userscript that puts a big warning banner on gist.github.com: REMOVE PASSWORDS BEFORE PASTING
have it in SO-orange across the top
 
@Bob lol
@Bob do you own Crusader Kings II?
 
Bob
@allquixotic if I do, it's probably a gift sitting in my inventory :P
 
@Bob want a February 2012 medieval strategy game with a metacritic score of 82 for $20 USD?
 
Bob
7:49 PM
nope, don't have it
I do have several dozen other games though :P
ok now I'm just confused
 
don't be confused
 
@allquixotic I don't have enabled ICS just because I wanted to connect them through LAN only. Can it be because of this that I got unidentified network?
 
Bob
@allquixotic there was a discount to $10 recently o.O
 
@Boris_yo quite possibly
 
Bob
RTS?
 
7:51 PM
@Bob ok but i can gift you an inventory item of 50% off Crusader Kings II.
 
@Bob I got him into the chat room with zombie browser...
 
OH !@#($*!@#($*!@#$ YES!~
 
(then zombie seg faulted)
 
!! s/zombie/node/
 
@allquixotic (then node seg faulted) (source)
 
7:52 PM
zombie can't make node segfault; zombie is JS
node makes node segfault
 
@allquixotic that depends on whether zombie has any C libs or not. node libraries can require C libs to link in.
Node's usually fairly stable...
 
Bob
@allquixotic ah, no thanks
I think I have enough games for this month :)
@JimmyHoffa I already reached that point several times
 
It's blowing a hole on attempts at the websocket
@Bob I know, as had I, though I was trying to go step by step to make sure everything's clean and straightforward...
 
okay, I need to get of imgur and shower
 
Bob
@JimmyHoffa Sorry, I'm just cleaning up the node modules a bit
please install them in /chatbot if possible
 
7:59 PM
@JimmyHoffa zombie uses jsdom, and jsdom uses contextify, and contextify has a native plugin; contextify is used to scope client-side javascript into the client instead of it running on the server context where it wouldn't be sandboxed
so yeah, it may well be that node itself isn't segfaulting but contextify
 
Bob
@allquixotic yea, that's where the segfaults were coming from
 
all of this stuff is pretty goddamn poorly maintained
contextify updated 7 months ago
jsdom is maintained, but zombie isn't
:12975253 we could use the es5 shims I used for phantomjs to get blob working
 
Bob
wait, that's not it
where the hell did the segfault come from
 
Bob
@allquixotic ...come on, node is supposed to support harmony (do we need that flag?). es5 shouldn't be a problem o.O
 
8:02 PM
@Bob the segfault came from a websocket, I have a stack trace here, one second..
 
oh goodness, i love you guys... i just can't find the motivation to dive in right now, and you guys are doing such a great job deep diving on that trying to get it working
gah
 
specifically it came from contextify though, which we may just nill it out if we trust the javascript SE is giving our zombie
 
once you guys are cooked i'll see about picking up where you left off :S
 
likely a misbehaved native plugin in contextify
 
TotalBiscuit's Star Trek Armada III video first, though :D
 
Bob
8:04 PM
@allquixotic mostly Jimmy now :P
I kinda gave up after half patching what you already had
it was going so well up to that iframe, too
already did most of those patches when translating from Selenium to Awesomium
 
who was the guy that was giving away RAM modules in amazon?
 
Bob
o.o
@allquixotic could it be that node is es5-capable but contextify is not?
 
komputerbay :D
 
Bob
@JimmyHoffa anything I can help with?
 
I'm mostly trying to figure out how it comes up with this websocket URL at this point
Now that I see it
huzzah I know what to do!
I'm going to hollow out the ws library zombie uses to make it just kick out all the info we need to construct our own websocket
then we can get zombie to the point of trying to construct the websocket, take the info and destroy zombie and use our own websocket of the same construction.
it eats it's own brains when it tries to create the websocket anyway, that's where it segfaults. It'll be much nicer when we can have our own node.js hosted websocket though
I think contextify can't handle hosting the ws native plugin inside of it's native plugin
 
8:28 PM
probably
 
Hm
 
Bob
@allquixotic someone hanging over his shoulder with a camera? o.O
 
@Bob dunno.
 
So according to the wizardry on this link, apps from the Windows Store don't slow down my PC. Does that mean I can open 500 apps and have the same performance? =p windows.microsoft.com/en-us/windows-8/how-close-app
 
Bob
8:43 PM
@ekaj I believe inactive ones are suspended.
(with some exceptions when they specifically request to be allowed to run in the background)
 
Ye, I just found that out, it's called tombstoning
At least according to here: wpcentral.com/…
Is there a name for this feature from Microsoft? It seems that users just dub it tombstoning
 
9:00 PM
heads up - I have trashed the zombie's web sockets. Will dig in more later
 
Bob
@JimmyHoffa do whatever - there's nothing important on that server so worst case is I delete it and rebuild it. about 15 mins (cause I forgot the commands)
but you most likely won't be breaking anything other than node or its modules anyway
 
Hey guys, sorry to bump in in your chat! I'm coming over from another SE site.
I have one of these question that is so simple that it does not require a post. Is it ok to ask?
Oh well I'll make a thread haha
 
9:31 PM
It's okay to ask @JGab
Actually my brother had that same question when building his computer
 
Bob
@JGab you can go ahead and ask in here
there's really no rules on what you can ask, though we prefer more information if possible
(and of course no answer is really guaranteed)
that particular question may be a dupe though
 
9:58 PM
Iron Man 3 was better than 2.... Yeah.
 
@ekaj What
 
10:53 PM
Is it that hard to look for an app?
 
@ekaj Which is Twitter?
 
Even then, it's not hard to follow a user on Twitter, or look on the site of the show you're viewing for an app / something of the likes
and no, the downvote is not mine
 
11:20 PM
This is a good movie! Worth rewatch even. Bale did fabulous.
 
11:40 PM
Hey @allquixotic, @rlemon said you might be able to help with getting Caprica to run?
we're getting parseMessage invalid console logs on all commands, after setting its invoke pattern

 The Hangar

General discussion about aviation.stackexchange.com The white ...
drop me a message when you can :)
 
@DannyBeckett run in what context? what OS are you running it on, and what driver are you using?
 
hey... run as in, it won't respond to any calls
something about a cross-site issue?
atm trying to run it in 7/Chrome
but I'll run it from a nix box
 
never heard of anything about a cross-site issue
 
I don't run it from Chrome or Windows though; I've run it on Firefox 24 ESR in Xrdp on Linux; in phantomjs 1.9.x and 2.0 tech preview using my driver; and we're currently working on porting the driver to Node.JS
 
11:56 PM
ok.... clearly haven't done enough research; didn't know about the need for a driver..
 
not need, just that's the best way to run it headless
 
thanks ;)
ok, then that's strange, because it won't run at all
you see those "parseMessage invalid" logs?
 
I don't know how to help with "parseMessage invalid", I don't really know enough of the internals of the bot for that, but first try it on Firefox to see if you can reproduce the issue, and make sure you have all extensions disabled
 
have you ever seen anything like that?
 
no.
 
11:58 PM
hmm
@rlemon tried too... same problem
 
really?
could be a recent commit
 
mhm
yeah I thought that
I checked out the revisions though
doesn't seem like
 
whose tree are you running?
Zirak's?
 
master
yeah
javascript:(function(){var a=document.createElement("script");a.src="https://raw.github.com/Zirak/SO-ChatBot/master/master.js",document.head.appendChild(a)})()
 

« first day (1246 days earlier)      last day (3764 days later) »