Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    sjwiki
    @sjwiki
    Hi there, I was wondering if anon can be adapted to tweet all edits regardless of IP address to twitter? :)
    Or would I be better off using some other bot?
    (Obviously not to be used on Wikipedia)
    Ed Summers
    @edsu
    @sjwiki anon uses a library called wikichanges to monitor the recent changes for all major language wikipedias ; so you could use that if you wanted
    @sjwiki unfortunately, I doubt Twitter would let you post all edits, you'd likely get blocked
    @sjwiki this is what all the edits looks like http://wikistream.wmflabs.org/
    sjwiki
    @sjwiki
    I want to post all the edits from my own wiki
    Nowhere near as many as those to Wikipedia - thankfully!
    Ed Summers
    @edsu
    What is "your wiki"?
    Jari Bakken
    @jarib
    my anon instance has been awfully quiet, no tweets in about a month
    lsof reveals it’s connected to argon.wikimedia.org
    but strace has it just repeating this over and over: https://gist.github.com/jarib/b978874331129d0a6c08
    someone here who can strace their instance and check if that’s normal?
    it’s a bit suspicous to me that there are noe read() calls in there..
    Renato Gabriele
    @remagio
    let me check @jarib, I found since a couple of week that often I have to relaunch the process for something like that.
    Jari Bakken
    @jarib
    i did a restart. it’s calling read() for a while, but it’s not doing that anymore
    tcpdump also shows no irc traffic
    well, besides PING/PONG commands
    hm. i can’t see my bot in the #en.wikipedia channel
    perhaps it’s been kicked
    Jari Bakken
    @jarib
    actually, the PING/PONG could be from another client..
    Renato Gabriele
    @remagio
    or some maintenance scripts kicked out bots on irc channels
    not sure they like too much anon bots connected, imho
    Ed Summers
    @edsu
    I haven't been kicked yet. Make sure you are running latest anon and double check you've got latest dependencies by doing a rm -rf node_modules and npm install. There was a problem a while back with the wikichanges module which was connecting too quickly to too many channels which was causing it to get kicked.
    Jari Bakken
    @jarib
    ah
    sounds plausible. i’ll try that
    shouldn’t anon crash or at least log that it has been kicked?
    Ed Summers
    @edsu
    it wasn't crashing for me
    edsu @edsu crosses fingers
    Jari Bakken
    @jarib
    that’s my point. if it’s kicked, it should crash or at least let the user now
    Ed Summers
    @edsu
    definitely should, agreed
    Jari Bakken
    @jarib
    seems to be working better after i removed node_modules
    Ed Summers
    @edsu
    huh, good!
    sorry for the hiccup, feel free to ticket the problem that it doesn't die
    Jari Bakken
    @jarib
    done, #125
    Tom Schulze
    @kringkaste
    Hey, I'm not sure if something similar was reported yet. We have the following config entry:
    "des BMF": [
    ["85.158.226.0", "85.158.226.31"]
    ],
    And this matched for the IP 85.158.226.103
    Could this be?
    Ed Summers
    @edsu
    I don't think it's possible no, assuming you are running the latest anon. I just did a test https://gist.github.com/edsu/8e0f2e2d9de1df53dba5
    Nicolas Jolicoeur
    @nicolicoeur
    @edsu any tips for running coffeescript on Azure? everything is working locally.
    Ed Summers
    @edsu
    Alas, I haven't used Azure so I really don't know. You might want to consider compiling anon.coffee to javascript and then read about deploying Node applications on Azure
    i imagine it is much more commonplace ... and it's easy to compile: coffee -c anon.coffee
    Jari Bakken
    @jarib
    @edsu do you know if anoyne is keeping logs of #en.wikipedia, including joins/parts ? my bot just leaves the room ~ once per week and i can’t really figure out why
    i thought it was edsu/anon#125, but it doesn’t seem to get kicked edsu/anon#125
    Ed Summers
    @edsu
    @jarib so you can see that it's logged in to the chat?
    oops, that was quite a delay :-)
    Aric Chokey
    @aachokey
    Has anyone had any luck deploying to Heroku?
    Ed Summers
    @edsu
    does heroku let you run processes without a web frontend?
    Aric Chokey
    @aachokey
    @edsu Yeah I used a paid dyno that I had in order to keep it awake however.