prologic | pdurbin: lol | 00:01 |
---|---|---|
prologic | is it annoying? :) | 00:01 |
pdurbin | meh. I used to like slashdot. back in 1999. it's fine | 00:02 |
pdurbin | went to see Taco when he came to town | 00:03 |
prologic | fair enough | 00:04 |
prologic | well feel free to remove the feed | 00:04 |
prologic | and add a better one | 00:04 |
prologic | or better one(s) :) | 00:04 |
prologic | kdb’s rss plugin is also contextually aware | 00:04 |
prologic | meaining that if you asked it to join your channel you could have separate feeds for that channel | 00:05 |
prologic | or even your own private nick if you /msg kdb radd … | 00:05 |
kdb | RSS: Slashdot (http://slashdot.org/) | 00:05 |
kdb | * Mr. Schmidt Goes To Washington: A Look Inside Google's Lobbying Behemoth: barlevg (2111272) writes "In May 2012, in the midst of an FTC investigation <http://rss.slashdot.org/~r/Slashdot/slashdot/~3/Ijn9UzZY_W4/story01.htm> | 00:05 |
pdurbin | good to know. maybe I'll have it join a channel or two | 00:05 |
pdurbin | it? him? her? | 00:06 |
prologic | it :) | 00:07 |
prologic | and if you do | 00:07 |
prologic | be sure to channels add <channel> | 00:07 |
prologic | so it adds the channel to it’s startup join list | 00:07 |
prologic | although I have actually tested sub commands | 00:07 |
prologic | better quickly test it now :) | 00:08 |
prologic | @help channels | 00:08 |
kdb | Channel Management | 00:08 |
prologic | @commands channels | 00:08 |
kdb | Available commands for channels: channels part join | 00:08 |
prologic | hmm | 00:08 |
prologic | bit sucky there | 00:08 |
prologic | let’s try it anyway | 00:08 |
prologic | @channels add #kdb | 00:08 |
prologic | hmm nah I’d say it errored out | 00:09 |
prologic | @errors | 00:09 |
c45y | prologic: pong | 00:09 |
kdb | Errors: 17 | 00:09 |
prologic | @channels add #kdb | 00:09 |
prologic | @errors | 00:09 |
kdb | Errors: 18 | 00:09 |
prologic | yeah | 00:09 |
prologic | I’ll have to fix that tonight | 00:09 |
prologic | c45y: heya :) | 00:09 |
prologic | c45y: what we doing for lunch? | 00:09 |
prologic | I didn’t bring anything today :( | 00:09 |
prologic | read: my wife didn’t make me anything :) | 00:09 |
c45y | umm I have no solid plans | 00:10 |
prologic | @die | 00:10 |
*** kdb has quit IRC | 00:10 | |
prologic | sweet | 00:10 |
prologic | pizza? | 00:10 |
c45y | i'm down | 00:10 |
prologic | awesome | 00:10 |
prologic | I have a BCCVL standup at 1100-1130 | 00:11 |
prologic | Rossa at 11.35? | 00:11 |
prologic | I’m not staying over the time allocated for anything :) | 00:11 |
c45y | heh ok | 00:11 |
c45y | I have to write terms and conditions :( | 00:11 |
*** kdb has joined #circuits | 00:11 | |
prologic | awesome! | 00:12 |
prologic | what the legan team isn’t doing this for you? | 00:12 |
prologic | like wtf, what kind of sysadmin/devloper/networkadmin writes T&C? | 00:12 |
prologic | wow :) | 00:12 |
prologic | do we ever read them? :) | 00:12 |
prologic | @channels | 00:12 |
kdb | No command specified. | 00:12 |
prologic | @channels list | 00:12 |
c45y | I'm apparently supposed to do it | 00:12 |
c45y | I write it, legal team approves it | 00:13 |
c45y | or so I'm told by management | 00:13 |
c45y | I'll make a note to get my job title modified | 00:13 |
c45y | Legal systems engineer | 00:13 |
c45y | itc | 00:13 |
prologic | nah that’s bs | 00:15 |
prologic | as if we’re qualified to write terms and conditions | 00:15 |
prologic | seriously | 00:15 |
prologic | we’re not | 00:15 |
prologic | I know of no developer, sysadmin or network admin taht does this | 00:15 |
prologic | or has done this | 00:15 |
prologic | lol | 00:15 |
prologic | I reckon | 00:15 |
prologic | and get a pay rise too! | 00:15 |
c45y | good plan! | 00:16 |
*** kdb has quit IRC | 00:18 | |
*** kdb has joined #circuits | 00:19 | |
prologic | @channels list | 00:20 |
*** kdb has quit IRC | 00:23 | |
*** kdb has joined #circuits | 00:23 | |
prologic | @channels list | 00:23 |
*** kdb has quit IRC | 00:24 | |
*** kdb has joined #circuits | 00:26 | |
prologic | @channels list | 00:27 |
prologic | really? | 00:27 |
prologic | @uptime | 00:27 |
kdb | Uptime: 0+0:1:33 (CPU: 0.36s 0.38%) | 00:27 |
prologic | @channels add #kdb | 00:27 |
prologic | @reload channels | 00:29 |
kdb | Unloaded plugin: channels | 00:29 |
kdb | Loaded plugin: Channels | 00:29 |
prologic | @channels add #kdb | 00:29 |
prologic | @channels list | 00:29 |
prologic | @reload channels | 00:30 |
kdb | Unloaded plugin: channels | 00:30 |
kdb | Loaded plugin: Channels | 00:30 |
prologic | @channels list | 00:30 |
kdb | ERROR: 'generator' object has no attribute 'value' | 00:30 |
prologic | @reload channels | 00:30 |
kdb | Unloaded plugin: channels | 00:30 |
kdb | Loaded plugin: Channels | 00:30 |
prologic | @channels list | 00:30 |
kdb | Startup Join List: #circuits #kdb | 00:30 |
prologic | yay | 00:31 |
prologic | @channels del #kdb | 00:31 |
prologic | @channels remove #kdb | 00:31 |
kdb | #kdb removed from startup join list | 00:31 |
prologic | @channels list | 00:31 |
kdb | Startup Join List: #circuits | 00:31 |
*** kdb has quit IRC | 00:31 | |
*** kdb has joined #circuits | 00:32 | |
ircnotifier | 57c6e8940b57 by prologic: Fixed sub-commands with the Channels Plugin | 00:33 |
prologic | pdurbin: fixed :) | 00:33 |
pdurbin | so I see | 00:33 |
c45y | prologic: where do you get your T&C from? | 00:51 |
c45y | I've decided against going to jail | 00:51 |
prologic | I don’t | 00:55 |
prologic | that’s the thing | 00:55 |
prologic | it is completely outside of my scope of knowledge | 00:55 |
prologic | and expertise | 00:55 |
prologic | and quite frankly I could get into a lot of troulbe | 00:55 |
prologic | I am NOT a lawyer not konw anything about many aspects of law | 00:55 |
prologic | except odn’t murder, steal, etc :) | 00:55 |
prologic | So in effect, anything I have built and produced | 00:56 |
prologic | has no T&C | 00:56 |
prologic | and usually I license things as MIT | 00:56 |
prologic | i.e: the most permissive liecnese next to BSD | 00:56 |
prologic | there are absoultely no f’n warrenties or guarentees with anything I do, produce or offer up as a service | 00:56 |
prologic | ecplitely so | 00:56 |
prologic | if a project or employee wants different | 00:57 |
prologic | _they_ have to take that responsiblity | 00:57 |
prologic | and take _appropriate action_ | 00:57 |
prologic | _it is not_ apprioraite for a developer to do to IHMO | 00:57 |
prologic | it’s like asking a carpenter to draw you up a legal document for the work he/she is about to do on your home | 00:57 |
prologic | usually the company that employs him/her takes care of this | 00:58 |
prologic | and might have their own legal team or have previously hired such a team to wrote contracts, t&c, service policies, etc | 00:58 |
c45y | where do you get yours from is what I was asking | 00:58 |
c45y | do you have someone in legal to email? | 00:58 |
prologic | my advice | 00:58 |
prologic | don’t do it | 00:58 |
prologic | kinldly state the legal issues of you doing this | 00:58 |
prologic | and walk away | 00:58 |
c45y | I am... | 00:58 |
c45y | I | 00:58 |
prologic | hold on | 00:58 |
prologic | let me ask :) | 00:58 |
c45y | I'm looking for who to contact to write them for me lol | 00:59 |
prologic | ok | 01:01 |
prologic | did milo ask you to do this? | 01:01 |
prologic | if so, my project manager will talk to him | 01:01 |
prologic | so in effect, tehre is a process to go through | 01:01 |
prologic | and you should not be the one doing this :) | 01:01 |
prologic | aside from technically putting the page up somewhere, etc | 01:01 |
prologic | lunch at 11.35 ok :) | 01:04 |
prologic | @eval 60*30 | 01:07 |
kdb | 1800 | 01:07 |
prologic | @timer 1800 Lunch Time | 01:08 |
kdb | Timer set for 1800s | 01:08 |
c45y | too slow | 01:20 |
c45y | going now | 01:20 |
c45y | hurry along :P | 01:20 |
c45y | ping prologic | 01:20 |
prologic | pong? | 01:21 |
prologic | ok let’s go :) | 01:21 |
c45y | lunch now | 01:21 |
c45y | yay | 01:21 |
c45y | see you up there | 01:21 |
kdb | Lunch Time | 01:38 |
prologic | lol | 02:15 |
prologic | funny as | 02:15 |
prologic | anyways :) | 02:15 |
prologic | @rlist | 02:15 |
kdb | No feeds available. | 02:15 |
prologic | oh damnit | 02:15 |
prologic | it didn’t save the feeds | 02:15 |
prologic | haha that’s because I didn’t configure a file path to save them to | 02:15 |
prologic | @rehash | 02:21 |
kdb | Configuration reloaded. | 02:21 |
c45y | s/.+/test/ | 02:29 |
c45y | prologic: make it sed pls | 02:29 |
prologic | how shall it work? | 02:30 |
prologic | describe the functional behaior :) | 02:30 |
prologic | or better yet, write the plugin yourself :) | 02:30 |
prologic | been thinkig of writing a plugin that allows users to write and load new plugins via it’s web itnerface :) | 02:30 |
prologic | lol | 02:30 |
c45y | terrible idea | 02:30 |
c45y | open('/etc/passwd').read() | 02:31 |
prologic | don’t be so quick to judge :) | 02:32 |
prologic | such a plugin would have to have scrutinty | 02:32 |
prologic | @spell scrutinty | 02:32 |
kdb | scrutinty ? Try: scrutiny scrutiny's scrutineer scrutinize scrutineers secreting scrutinized | 02:32 |
prologic | scrutiny* :) | 02:32 |
prologic | probably a process whereby it’s open access to all | 02:33 |
prologic | but once you write or moidfy a plugin | 02:33 |
prologic | it has to go through a review process | 02:33 |
prologic | or maybe just a plugin that can hot load plugins from codepad or pastebin or github/mercurial hosted services | 02:34 |
prologic | but where the loading of aush c aplugin is reviewed and scrutenized | 02:34 |
prologic | I think I like the 2nd idea better because it means you can write the plugin however you want :) | 02:34 |
prologic | in whatever tool method you want | 02:34 |
prologic | @radd http://shortcircuit.net.au/~prologic/blog/feeds/tags/circuits.atom.xml | 02:43 |
kdb | RSS: James Mills's Blog (http://shortcircuit.net.au/~prologic/blog/) | 02:43 |
kdb | * Getting started with circuits: Here's a quick [ASCIInema](http://asciinema.org) tutorial I put together to <http://shortcircuit.net.au/~prologic/blog/article/2014/03/27/getting-started-with-circuits/> | 02:43 |
kdb | * circuits + twisted: Well I've finally gone and done it! It's still alpha at this stage but twisted <http://shortcircuit.net.au/~prologic/blog/article/2013/08/24/circuits-twisted/> | 02:43 |
kdb | * circuits-2.1.0 is out!: I'm pleased to announce the release of circuits 2.1.0 [] <http://shortcircuit.net.au/~prologic/blog/article/2013/02/27/circuits-210-is-out/> | 02:43 |
c45y | prologic: I can write bad python that will clear your review | 02:44 |
prologic | I very much doubt it :) | 02:46 |
prologic | tell you what, I’ll write the plugin | 02:46 |
prologic | and I’ll see if you can abuse the system :) | 02:46 |
Romster | just use gpg signatures | 02:47 |
prologic | but to be on the safe side | 02:47 |
prologic | I’ll first Dockerize kdb | 02:47 |
c45y | deal | 02:47 |
prologic | so you don’t destroy my Desktop :) | 02:47 |
Romster | lol | 02:47 |
prologic | Romster: no | 02:47 |
prologic | signatures != security | 02:47 |
Romster | heartblleed bug :D | 02:47 |
prologic | he could sign his work | 02:47 |
prologic | and automatically be accepted | 02:47 |
prologic | and then what? | 02:47 |
prologic | he still nukes my file system? | 02:47 |
prologic | no thanks | 02:47 |
c45y | I could mitm your workstation :P | 02:47 |
Romster | only if you accept his key | 02:47 |
prologic | signatures are not a form of security or scruteny | 02:48 |
prologic | doesn’t matter | 02:48 |
prologic | I could accept his key | 02:48 |
prologic | and he could still crew me over | 02:48 |
Romster | he man in the middle i don't doubt that stupid openssl | 02:48 |
prologic | the only way to prevent bad code or malcious code | 02:48 |
prologic | is to REVIEW REVIEW REVIEW | 02:48 |
prologic | and run in ISOLATIOn | 02:48 |
c45y | Romster: I'm also a sysadmin at his work :P | 02:48 |
Romster | minimal command set like each plugin neds it's own sandbox | 02:48 |
Romster | c45y, ya i know that but different department. | 02:49 |
c45y | byt python is hard to lock down | 02:49 |
prologic | no the solutin is reather easy and simple | 02:49 |
Romster | s/neds/needs/ | 02:49 |
c45y | unless you compile your own without stuff | 02:49 |
prologic | I’m 99.9% sure c45y will not find a way to break it | 02:49 |
prologic | Dockerize kdb | 02:49 |
c45y | or walk the ast | 02:49 |
prologic | so it runs in a container | 02:49 |
prologic | and 3rd-party plugins require review before being loaded | 02:49 |
prologic | simple | 02:49 |
c45y | I'm game, sounds like fun | 02:49 |
Romster | c45y, is a programmer if anyone can find a way in he can | 02:49 |
prologic | I accept your challange :) | 02:49 |
prologic | it’s a done deal | 02:50 |
c45y | prologic is also a programmer, by nature he can secure it as well as I can pop it | 02:50 |
prologic | I’ll have the plugin ready tonight | 02:50 |
c45y | haha ok | 02:50 |
prologic | this is going to be oh so much fun :) | 02:50 |
prologic | I might run this inside a virtualbox vm as well as containerize it | 02:50 |
c45y | I'm not going to escape docker or even try | 02:51 |
prologic | just to be doubly sure you can’t break my desktop :) | 02:51 |
prologic | yes but just in case you find a way to break out of the jail(s0 :) | 02:51 |
c45y | I wouldn't do you any harm | 02:51 |
c45y | I'm just planning on touching a file somewhere | 02:51 |
prologic | eventually I would run kdb like this anyway | 02:51 |
prologic | in isolation | 02:51 |
c45y | kk | 02:51 |
c45y | best idea for most programs | 02:51 |
prologic | *nods* | 02:51 |
prologic | absolutely | 02:51 |
prologic | you’ll have a hard time though | 02:51 |
prologic | because you’ll have about 4 layers to get thorugh | 02:52 |
prologic | a) chroot’ed/jail | 02:52 |
prologic | b) container | 02:52 |
prologic | c) virtual machine | 02:52 |
prologic | d) review process for plugins | 02:52 |
c45y | and most of it will be blind | 02:52 |
prologic | that aren’t part of kdb itself | 02:52 |
prologic | *nods* | 02:52 |
c45y | I hate blind exploits | 02:52 |
prologic | this is why I’m 99.9% confident :) | 02:52 |
prologic | because of the sheer no. of layers to get through | 02:52 |
c45y | I'm not going to break out of docker, I'll tell you that now | 02:52 |
prologic | you have to firstly fool me :) | 02:52 |
prologic | once you get thorugh me | 02:52 |
c45y | that's easy | 02:52 |
c45y | just use small letters | 02:52 |
c45y | :P | 02:52 |
prologic | then you have to find a way to circumvent chroot | 02:53 |
prologic | if you manage to get rhogugh that | 02:53 |
prologic | you’ have to find a way out of the container to do anything harmful to the host | 02:53 |
prologic | which will be a vm anyway | 02:53 |
prologic | and to get past that to the actual metal host | 02:53 |
c45y | I'm only going to be getting past kdb | 02:53 |
prologic | well you’re probably a better sysadmin tahn me :) | 02:53 |
prologic | lol | 02:53 |
prologic | use small letters | 02:53 |
prologic | you’re so funny :) | 02:53 |
c45y | ^_^ | 02:53 |
prologic | ooer that’s a new one | 02:54 |
prologic | my irc licnet even rendered that | 02:54 |
prologic | looks like a bird/chicne/ :) | 02:54 |
prologic | or some kind of face | 02:54 |
c45y | its just ^ and an underscore | 02:54 |
c45y | carrot? | 02:54 |
c45y | carret | 02:54 |
c45y | Idk | 02:54 |
prologic | ahh | 02:54 |
prologic | ^_ | 02:54 |
prologic | *shrugs* | 02:54 |
prologic | werid | 02:54 |
c45y | ¯\_(ツ)_/¯ | 02:55 |
prologic | oh man this is going to be to easy | 02:55 |
prologic | here’s my idea so far | 02:55 |
prologic | modify core to load external plugins | 02:55 |
prologic | initially just supporting raw content from a given uri | 02:55 |
prologic | e.g: codepad.org’s raw uri | 02:55 |
prologic | or any raw capable uri that spits out plain text | 02:56 |
prologic | get a sha hash of the enteire code | 02:56 |
prologic | and put the hash, uri into a verification process | 02:56 |
prologic | the only trick is to only allow trusted persons to accept the verification | 02:56 |
prologic | once accepted | 02:57 |
prologic | load the code, compile it and load the plugin as per normal | 02:57 |
c45y | oh you're manually inspecting code? | 03:01 |
c45y | I thought this was all an automated process | 03:01 |
prologic | no no lol | 03:03 |
prologic | I said it would go through a review | 03:03 |
c45y | I thought it was something like a lexical review | 03:03 |
prologic | right now I’m thinking the review process itseof would be password authenticated | 03:03 |
c45y | I'm going to be hard pressed to get code past you | 03:04 |
c45y | I give up now then | 03:04 |
prologic | so it would be something like /msg kdb plugins review | 03:04 |
prologic | followed by a /msg kdb plugins auth key password | 03:04 |
prologic | where key is a unique hash of the plugin you want to enable after looking at it’s code | 03:04 |
prologic | I thought you might say that | 03:05 |
prologic | sorry for the confusion :) | 03:05 |
c45y | I could get past a lexical review and even keyword blacklisting, but not manual inspection | 03:05 |
prologic | that’s what I meant by peer reviewed | 03:05 |
c45y | Well, it would be hard | 03:05 |
c45y | maybe | 03:05 |
c45y | lets still try | 03:05 |
prologic | okay sure :) | 03:05 |
prologic | I mean you may find other ways to break the system | 03:05 |
c45y | just ignore my strange os.system calls :P | 03:05 |
prologic | maybe | 03:05 |
prologic | lol | 03:05 |
c45y | I can think of a few | 03:05 |
prologic | of course and obfuscation you attempt | 03:05 |
prologic | I will throughly decode | 03:05 |
c45y | it will be an off by one kinda thing | 03:06 |
prologic | *nods* | 03:06 |
prologic | plus also | 03:06 |
prologic | whilst the plugin load will “import” the module | 03:06 |
prologic | so things in the module scope will “run" | 03:06 |
prologic | it will only register subclasses of kdb.plugin.BasePlugin | 03:06 |
prologic | so anything that isn’t a function in the module scope Il will go “hmmm" | 03:07 |
c45y | seems reasonable | 03:07 |
c45y | this is going to be messy code | 03:07 |
c45y | how do you feel about space indenting :P | 03:07 |
prologic | don’t care | 03:08 |
prologic | like I said, I’ll take what you’ve written and psoted somewhere | 03:08 |
prologic | copy it to my editor | 03:08 |
prologic | apply pep8 formatting to it | 03:08 |
c45y | heh ok | 03:08 |
prologic | make it look ptetty in my eyes | 03:08 |
prologic | and look at _every single lline_ | 03:08 |
prologic | so you kind ahave to get past 15 years of experience with Python :) | 03:09 |
c45y | I'm game | 03:09 |
prologic | sounds hard when you put it that way huh :) | 03:09 |
c45y | not so much | 03:09 |
c45y | that many years gets you used to conventions | 03:09 |
prologic | I mena it’s not 100% fool proof | 03:09 |
prologic | I may get lazy | 03:09 |
prologic | or falter | 03:09 |
c45y | exactly | 03:09 |
prologic | *nods* | 03:09 |
prologic | now what would be good however | 03:09 |
prologic | is an automagic way of analyzing the code | 03:09 |
prologic | :) | 03:09 |
c45y | thats what I was expecting | 03:09 |
prologic | Apple and Google and the likes have tried to develop such tools | 03:09 |
prologic | with varying degrees of success | 03:10 |
prologic | yeah | 03:10 |
c45y | they have for the most part | 03:10 |
c45y | appengine did well | 03:10 |
prologic | I am not experienced with such tools | 03:10 |
prologic | so I would not risk the dstrictuion of my desktop | 03:10 |
prologic | :) | 03:10 |
c45y | most just pulled parts out of python and recompiled | 03:10 |
prologic | human review is more fool proof ihmo | 03:10 |
c45y | yes and no | 03:10 |
prologic | of course | 03:10 |
c45y | look at nearly every major exploit in the last however long :P | 03:10 |
prologic | no system is completely fool proof | 03:10 |
c45y | human review is always in the process | 03:10 |
c45y | it just falls down | 03:11 |
prologic | but I doubt I’m smart enough to write such an analyzer | 03:11 |
c45y | walk the ast | 03:11 |
prologic | it falls down because of the boave reasona | 03:11 |
prologic | laziness, mistakes and complexity | 03:11 |
prologic | reviewing C would be hard | 03:11 |
prologic | or C++, C#, Java, etc | 03:11 |
c45y | C is easier for pointer failures | 03:11 |
prologic | the harder and more complex the tools and language | 03:11 |
c45y | python protects a lot of that | 03:11 |
prologic | the more the review process will fall down | 03:11 |
prologic | precisely | 03:11 |
prologic | and despite that fact you can probably write really bad Python code | 03:12 |
prologic | it is probably easier to reason about than say C# | 03:12 |
prologic | or C++ | 03:12 |
c45y | eh | 03:12 |
c45y | I dunno about htat | 03:12 |
c45y | that* | 03:12 |
prologic | I do :) | 03:12 |
prologic | having come from those backgrounds too | 03:12 |
c45y | C you would do bytecode analysis | 03:12 |
prologic | and delving in such langauges and ecosystems | 03:12 |
prologic | no I mean human review | 03:13 |
prologic | it’s potentially harder and more complex to review C/C++/C#/Java etc | 03:13 |
c45y | oh yea | 03:13 |
prologic | because they are more complex and harder to reason about than say Python | 03:13 |
c45y | this looks legit right? https://gist.github.com/stevommmm/2801da9f90dc77f522d4 | 03:22 |
prologic | wha’ts this for? | 03:24 |
prologic | python already caches module iimports in sys.modules | 03:24 |
c45y | how else am I going to sneak in exports? | 03:25 |
c45y | n = imports() | 03:25 |
c45y | print n['time'].time() | 03:25 |
c45y | s/exports/imports/ | 03:25 |
prologic | sure okay | 03:25 |
prologic | but this is kinda pointless if you’re trying to evade my measures | 03:25 |
prologic | I’ll gladly accpe that as a valid plugin | 03:26 |
c45y | its all part of the larger plan | 03:26 |
prologic | admitedly it does nothing | 03:26 |
prologic | sure | 03:26 |
prologic | keep going :) | 03:26 |
prologic | I like where this is (or may be) going | 03:26 |
c45y | really sad python has no pointer parsing | 03:26 |
c45y | so I have to get creative with strings | 03:26 |
prologic | sure it does | 03:28 |
prologic | you could start using ctypes | 03:29 |
prologic | or try to import cffi | 03:29 |
prologic | which would not be necessarily available | 03:29 |
prologic | unless kdb’s setup.py or requirements.txt installed cffi | 03:29 |
prologic | which I’m also very happy to entertain | 03:29 |
c45y | I can do it with the stdlib | 03:29 |
prologic | well there’s ctypes in the std lib | 03:30 |
prologic | kdb runs on Python 2.7 currently | 03:30 |
kdb | Unknown Command: runs | 03:30 |
c45y | lel | 03:31 |
prologic | when I have the plugin ready, it’ll be in a vm in a docker container | 03:31 |
c45y | kdb runs ls | 03:31 |
kdb | Unknown Command: runs | 03:31 |
c45y | kdb ls | 03:31 |
kdb | Unknown Command: ls | 03:31 |
c45y | whats the plugin framework like? | 03:31 |
prologic | kdb: commands | 03:31 |
kdb | All available commands: load rehash plugins reload unload google uptime errors mstats graph inspect version nstats events cstats info commands help status spell rlog channels part join host resolve weather timer sum eval beat itime status quit die ircinfo jump nick say hello read rdel radd rlist | 03:31 |
prologic | define like? | 03:31 |
c45y | where can i see it :P | 03:31 |
prologic | https://bitbucekt.org/prologic/kdb/src/tip/kdb/plugins/__init__.py | 03:31 |
c45y | kdb part irc.freenode.org | 03:31 |
prologic | https://bitbucket.org/prologic/kdb/src/tip/kdb/plugins/__init__.py | 03:32 |
c45y | safe__import__ confuses me | 03:34 |
c45y | I still get to execute code | 03:34 |
c45y | as long as I don't raise an error | 03:34 |
prologic | it’s not the safe kind of import you think | 03:34 |
prologic | it just guards against import errors | 03:34 |
c45y | o i c | 03:34 |
prologic | @load foobar | 03:34 |
kdb | Could not load plugin: foobar Error: No module named foobar | 03:34 |
prologic | see | 03:34 |
c45y | @load hashlib | 03:34 |
kdb | Loaded plugin: hashlib | 03:35 |
c45y | kdb hashlib | 03:35 |
kdb | Unknown Command: hashlib | 03:35 |
prologic | haha | 03:35 |
prologic | good find :) | 03:35 |
c45y | ;) | 03:35 |
c45y | @load hashlib | 03:35 |
prologic | in theory you could load anything in the std. lib | 03:35 |
kdb | Could not load plugin: hashlib Error: reload() argument must be module | 03:35 |
prologic | or part of kdb’s virtualenv | 03:35 |
c45y | @load 'os.system( | 03:35 |
kdb | Could not load plugin: 'os.system( Error: No module named 'os.system( | 03:35 |
c45y | hmm | 03:35 |
prologic | nice try | 03:35 |
prologic | :) | 03:35 |
prologic | unfortunately loading plain ol modules | 03:36 |
prologic | will not get you any accessible commands | 03:36 |
c45y | Yea | 03:36 |
prologic | the modules themselves would have to be malicous | 03:36 |
prologic | so you could load up the entire std. lib if you wanted | 03:36 |
prologic | you’d probably blow kdb’s memory usage out a bit | 03:36 |
c45y | @load n | 03:36 |
kdb | Could not load plugin: n Error: No module named n | 03:36 |
prologic | but that’s probably the worst you could do | 03:36 |
prologic | @load re | 03:36 |
kdb | Could not load plugin: re Error: reload() argument must be module | 03:36 |
prologic | @load sys | 03:36 |
kdb | Could not load plugin: sys Error: reload() argument must be module | 03:36 |
prologic | haha | 03:36 |
prologic | @reload stats | 03:37 |
kdb | Unloaded plugin: stats | 03:37 |
kdb | Loaded plugin: Stats | 03:37 |
prologic | interesting | 03:37 |
prologic | @load socket | 03:37 |
kdb | Could not load plugin: socket Error: reload() argument must be module | 03:37 |
prologic | @load wsgiref | 03:37 |
kdb | Loaded plugin: wsgiref | 03:37 |
prologic | ahh | 03:37 |
prologic | there we go | 03:37 |
prologic | apparently you can’t load stuff that’s alredy in sys.modules | 03:37 |
c45y | @eval log | 03:37 |
kdb | ERROR: 'log' is not defined for expression 'log' | 03:37 |
c45y | @eval log + 2 | 03:38 |
kdb | ERROR: 'log' is not defined for expression 'log + 2' | 03:38 |
c45y | @eval 2*3 | 03:38 |
kdb | 6 | 03:38 |
prologic | eval pulgin uses simpleeval | 03:38 |
c45y | @eval 9*9*9*9*9*9*9 | 03:38 |
prologic | https://pypi.python.org/pypi/simpleeval | 03:38 |
kdb | 4782969 | 03:38 |
c45y | @eval n+1 for n in range(9) | 03:39 |
kdb | ERROR: invalid syntax (<unknown>, line 1) | 03:39 |
c45y | @eval self.config['autoid']['password'] + "" | 03:41 |
kdb | ERROR: Sorry, Attribute is not available in this evaluator | 03:41 |
c45y | @rlog | 03:41 |
kdb | Last 5 Remote Messages: | 03:41 |
c45y | @jump irc.gamesurge.com | 03:43 |
*** kdb has quit IRC | 03:43 | |
c45y | lol | 03:43 |
*** kdb has joined #circuits | 03:43 | |
prologic | well that’s not exactly an explit now is it :) | 03:44 |
prologic | it’s designed to be allowed to jump to another server | 03:44 |
prologic | or another network even | 03:44 |
c45y | mmhmm | 03:44 |
c45y | @timer 10 test | 03:47 |
kdb | Timer set for 10s | 03:47 |
kdb | test | 03:47 |
c45y | @timer 10 @timer 10 @timer 10 ? | 03:48 |
kdb | Timer set for 10s | 03:48 |
kdb | @timer 10 @timer 10 ? | 03:48 |
c45y | hmm doesn't listen to its own chat lines | 03:48 |
c45y | @eval self.auth['nick'] + "" | 03:49 |
kdb | ERROR: Sorry, Attribute is not available in this evaluator | 03:49 |
c45y | I should get back to work | 03:49 |
c45y | @timer 3 !ping | 03:50 |
kdb | Timer set for 3s | 03:50 |
kdb | !ping | 03:50 |
prologic | lol | 03:53 |
prologic | this is kinda funny | 03:53 |
prologic | now if we have a 2nd instance of this up | 03:53 |
prologic | in teh same channel | 03:53 |
prologic | you could abuse timer | 03:53 |
prologic | and get the bots to trigger each other’s actions | 03:53 |
prologic | that could get messy and possibly Klined :) | 03:53 |
prologic | @timer 0.5 foo | 03:54 |
kdb | Invalid duration specified! | 03:54 |
prologic | @timer 1 foo | 03:54 |
kdb | Timer set for 1s | 03:54 |
kdb | foo | 03:54 |
prologic | but of course at worst it would be 1s apart | 03:54 |
prologic | you’d cause unncessary network traffic is all I think | 03:54 |
prologic | :) | 03:57 |
c45y | @load os sys json sqlite3 time socket SimpleHTTPServer SocketServer | 03:57 |
kdb | Could not load plugin: os Error: reload() argument must be module | 03:57 |
c45y | :/ | 03:57 |
c45y | more heap size | 03:57 |
c45y | !!! | 03:57 |
*** kdb2 has joined #circuits | 04:00 | |
kdb | Hello kdb2 | 04:00 |
prologic | there you go | 04:01 |
prologic | go nuts :) | 04:01 |
c45y | @timer 10 @timer 10 @timer 10 ? | 04:01 |
kdb | Timer set for 10s | 04:01 |
c45y | can't think of a way for it to go forever | 04:01 |
kdb | @timer 10 @timer 10 ? | 04:01 |
prologic | it doesn’t have any puligns of interest loaded | 04:01 |
prologic | kdb2: plugins | 04:01 |
kdb | Unknown Command: 2: | 04:01 |
kdb2 | Plugins: channels core irc help | 04:01 |
c45y | @load timer | 04:01 |
kdb | Could not load plugin: timer Error: No module named timer | 04:01 |
c45y | @timer 10 @timer 10 @timer 10 ? | 04:02 |
kdb | Timer set for 10s | 04:02 |
kdb | @timer 10 @timer 10 ? | 04:02 |
prologic | kdb2: nick foobarbaz | 04:02 |
kdb | Unknown Command: 2: | 04:02 |
c45y | @nick lalalala | 04:02 |
prologic | kdb2_: nick kljhasdf | 04:02 |
lalalala | Unknown Command: 2_: | 04:02 |
c45y | haha | 04:02 |
prologic | lalalala: load timer | 04:02 |
prologic | lalalala: plugins | 04:02 |
prologic | err | 04:02 |
prologic | it’s intenral nick state didn’t change | 04:02 |
prologic | bug! | 04:03 |
prologic | damn :) | 04:03 |
prologic | kdb2: plugins | 04:03 |
lalalala | Unknown Command: 2: | 04:03 |
prologic | bah | 04:03 |
c45y | @load os | 04:03 |
lalalala | Could not load plugin: os Error: reload() argument must be module | 04:03 |
prologic | this isn’t going to work sorry :) | 04:03 |
prologic | have to fix that internal state | 04:03 |
prologic | I’ll fix that tonight too | 04:03 |
prologic | it’ll be funny to see two bots hammer each other | 04:04 |
prologic | and how bad it _could_ get | 04:04 |
*** marky1991 has quit IRC | 04:33 | |
prologic | Home time | 05:45 |
*** kdb has joined #circuits | 07:46 | |
prologic | kdb, nick kjashlkjashdf | 07:46 |
Romster | if you made the bots say the delay command to the other bot | 07:59 |
*** Ossoleil has joined #circuits | 08:22 | |
prologic | Romster, sorry what? | 08:59 |
prologic | hi Ossoleil | 08:59 |
Ossoleil | hi | 08:59 |
*** kdb has joined #circuits | 09:34 | |
prologic | @nick test | 09:34 |
prologic | test, uptime | 09:34 |
test | Uptime: 0+0:0:33 (CPU: 0.31s 0.93%) | 09:34 |
prologic | kdb, uptime | 09:34 |
prologic | @nick kdb | 09:34 |
prologic | @ircinfo | 09:34 |
kdb | I am kdb!kdb@daisy on the Unknown IRC Network. Connected to leguin.freenode.net Running version ircd-seven-1.1.3 | 09:35 |
prologic | @nick test | 09:35 |
prologic | @ircinfo | 09:35 |
test | I am test!kdb@daisy on the Unknown IRC Network. Connected to leguin.freenode.net Running version ircd-seven-1.1.3 | 09:35 |
prologic | @nick kdb | 09:35 |
ircnotifier | 9b0b9c683fd7 by prologic: Configure the RSS Plugin in the supplied sample configuration file. | 09:35 |
ircnotifier | 6372d1487e48 by prologic: Fixed state management | 09:35 |
prologic | @load plugineditor | 10:12 |
kdb | Could not load plugin: plugineditor Error: No module named plugin | 10:12 |
prologic | @load plugineditor | 10:13 |
kdb | Loaded plugin: PluginEditor | 10:13 |
prologic | @reload pluginedito | 10:15 |
kdb | Plugin pluginedito is not loaded! | 10:15 |
prologic | @reload plugineditor | 10:15 |
kdb | Unloaded plugin: plugineditor | 10:15 |
kdb | Loaded plugin: PluginEditor | 10:15 |
prologic | @reload plugineditor | 10:17 |
kdb | Unloaded plugin: plugineditor | 10:17 |
kdb | Loaded plugin: PluginEditor | 10:17 |
*** kdb has quit IRC | 10:18 | |
*** kdb has joined #circuits | 10:19 | |
prologic | c45y, http://arrow.shortcircuit.net.au:9000/plugineditor/ | 10:37 |
prologic | ahh man I really suck at UI :) | 10:37 |
prologic | this is going to take me longer than I had hoped for | 10:37 |
prologic | just because of a UI | 10:37 |
prologic | c45y, help :) | 10:39 |
pdurbin | @ircinfo | 10:57 |
kdb | I am kdb!kdb@daisy on the Unknown IRC Network. Connected to verne.freenode.net Running version ircd-seven-1.1.3 | 10:57 |
prologic | hmm | 10:57 |
prologic | I suck so much at ui | 10:57 |
prologic | takes me too long | 10:57 |
prologic | too fiddly | 10:58 |
prologic | I'm just going to do this the waqy I originally though | 10:58 |
prologic | allow loading of remote plugins | 10:58 |
prologic | via url | 10:58 |
*** kdb has quit IRC | 10:58 | |
*** kdb has joined #circuits | 10:59 | |
Romster | <a href="/projects/xine/files/xine-lib/1.2.3/" title="Click to enter 1.2.3" class="name"> | 11:10 |
Romster | prologic, nope no java and it don't follow them. | 11:10 |
Romster | i eman no javascript | 11:10 |
Romster | mean* | 11:10 |
Romster | curl -s http://sourceforge.net/projects/xine/files/xine-lib/1.2.4/ |grep /download returns files even | 11:12 |
Romster | href="http://sourceforge.net/projects/xine/files/xine-lib/1.2.4/xine-lib-1.2.4.tar.xz/download" | 11:13 |
Romster | crawl --max_depth=3 --whitelist="^.*gnome\.org.*$" http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/ | 11:20 |
Romster | that even fails to list the file sin /1.2.3/ directories. | 11:21 |
Romster | either i'm doing something wrong or it's got a parsing issue prologic | 11:21 |
Romster | crawl --max_depth=3 --whitelist="^.*gnome\.org.*$" http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.40/ | 11:22 |
Romster | then i see gobject-introspection-1.40.0.tar.xz | 11:22 |
Romster | it's like you follow urls to other html pages but never transverse just sub directories. | 11:29 |
prologic | Romster, try with -v/--verbose mode | 12:18 |
prologic | and try to determine why it isn't following | 12:18 |
*** kdb has quit IRC | 12:48 | |
*** jpenny_ has joined #circuits | 12:50 | |
prologic | hi jpenny_ | 12:54 |
*** kdb has joined #circuits | 12:57 | |
prologic | @load rplugins | 12:58 |
prologic | kdb, load broadcast | 12:58 |
kdb | Loaded plugin: Broadcast | 12:58 |
prologic | @load rplugins | 12:58 |
kdb | Could not load plugin: rplugins Error: cannot import name mkdir | 12:58 |
*** kdb_ has joined #circuits | 12:59 | |
*** kdb_ has quit IRC | 13:00 | |
*** kdb has quit IRC | 13:00 | |
*** kdb has joined #circuits | 13:01 | |
prologic | @rplugins load http://codepad.org/HTfQb9uG/raw.py | 13:01 |
*** kdb has quit IRC | 13:01 | |
*** kdb has joined #circuits | 13:03 | |
prologic | @rplugins load http://codepad.org/HTfQb9uG/raw.py | 13:03 |
kdb | Remote Plugin http://codepad.org/HTfQb9uG/raw.py (<built-in function hash>) not authorized. | 13:03 |
*** jpenny_ has quit IRC | 13:04 | |
prologic | @reload rplugins | 13:05 |
kdb | Unloaded plugin: rplugins | 13:05 |
kdb | Loaded plugin: RPlugins | 13:05 |
prologic | @rplugins load http://codepad.org/HTfQb9uG/raw.py | 13:05 |
kdb | Remote Plugin http://codepad.org/HTfQb9uG/raw.py (None) not authorized. | 13:05 |
prologic | @reload rplugins | 13:05 |
kdb | Unloaded plugin: rplugins | 13:05 |
kdb | Loaded plugin: RPlugins | 13:05 |
prologic | @rplugins load http://codepad.org/HTfQb9uG/raw.py | 13:06 |
kdb | Unknown Command: rplugins | 13:06 |
prologic | @rplugins load http://codepad.org/HTfQb9uG/raw.py | 13:06 |
kdb | Unknown Command: rplugins | 13:06 |
prologic | @reload rplugins | 13:06 |
kdb | Unloaded plugin: rplugins | 13:06 |
kdb | Loaded plugin: RPlugins | 13:06 |
prologic | @rplugins load http://codepad.org/HTfQb9uG/raw.py | 13:06 |
kdb | Remote Plugin http://codepad.org/HTfQb9uG/raw.py (9013e13aeccd3b43166a179539343ee59d8ce791) not authorized. | 13:06 |
*** kdb has quit IRC | 13:16 | |
*** kdb has joined #circuits | 13:17 | |
prologic | @rplugins add http://codepad.org/HTfQb9uG/raw.py | 13:17 |
kdb | Remote Plugin http://codepad.org/HTfQb9uG/raw.py (9013e13aeccd3b43166a179539343ee59d8ce791) not authorized. | 13:17 |
Romster | (F): http://sourceforge.net/projects/xine/files/xine-lib/1.2.5/ | 13:17 |
Romster | does the F mean they fail? | 13:18 |
prologic | read the docs | 13:18 |
prologic | F == Followed | 13:18 |
prologic | http://spyda.readthedocs.org/en/latest/ | 13:18 |
Romster | man crawl | 13:18 |
Romster | No manual entry for crawl | 13:18 |
Romster | right | 13:18 |
prologic | http://spyda.readthedocs.org/en/latest/api/spyda.html#module-spyda.crawler | 13:18 |
prologic | I don't usually write man pages | 13:19 |
prologic | sorry :) | 13:19 |
prologic | I should get into the habit for cli apps | 13:19 |
Romster | ok so it follows those urls and does not parse what's in those directories? | 13:19 |
Romster | F should mean i see what's in them directories. | 13:21 |
prologic | @reload rplugins | 13:22 |
kdb | Unloaded plugin: rplugins | 13:22 |
kdb | Loaded plugin: RPlugins | 13:22 |
prologic | what did it find after the (F) ? | 13:22 |
prologic | any errors? | 13:22 |
prologic | any urls founds? | 13:23 |
prologic | @rplugins pending | 13:23 |
Romster | http://pastebin.com/DvA1Z0wJ | 13:25 |
Romster | http://pastebin.com/GZnRjqQi notice in tis versionsed directory see files, where the paste above should list files in all them versioned directories. | 13:26 |
Romster | and this same behavior happens on other sites. | 13:27 |
Romster | i need to be able to collect all them file names. | 13:28 |
Romster | i could damn near write a loop to regex match them directories and curl the contents of each. i did that but it was very unreliable due to html on sites. | 13:31 |
prologic | sorry what are you not getting? | 13:31 |
prologic | why are you still using a max_depth? | 13:32 |
Romster | http://sourceforge.net/projects/xine/files/xine-lib/1.1.18/xine-lib-1.1.18.tar.xz/download | 13:32 |
Romster | see that line ^ | 13:32 |
Romster | i should have a ton of them i do not. | 13:32 |
Romster | for each versined directory | 13:32 |
prologic | and what paste is that meant to come from? | 13:32 |
prologic | page* | 13:32 |
Romster | see the top of the paste it has the command. | 13:33 |
Romster | is this hard to explain | 13:33 |
prologic | stop using max_depth | 13:34 |
Romster | i had it off it ran indeffently | 13:34 |
Romster | jesus christ | 13:34 |
Romster | 2 levels should be more than enough | 13:34 |
prologic | then increase it until you get the results you want | 13:34 |
prologic | crawling is HARD | 13:34 |
prologic | obviously it isn't? | 13:34 |
Romster | 20 levels then... | 13:35 |
prologic | this is not easy by any means | 13:36 |
prologic | it is hard to get right | 13:37 |
Romster | that's why i went looking for a spider my methods are limited. | 13:37 |
Romster | 20 levels deep and nope f it i'll do it with no limit | 13:37 |
prologic | don't get frustrated | 13:38 |
prologic | patience :) | 13:38 |
prologic | Google spent billions of $$$ on their indexing and crawling | 13:39 |
Romster | http://pastebin.com/GfPjnrN4 that is how i am grabbing urls now. | 13:40 |
Romster | and yet i had a google bot stuck on my site could do nothign but hammer my site every hour because i never had any urls to outside sites for it to transverse years ago | 13:41 |
Romster | when i added one the google bot left me alone. | 13:41 |
prologic | also you should learn to read docs more carefully | 13:41 |
prologic | and don't trust my word :) | 13:41 |
prologic | F actually means (F)ound a valid URL | 13:41 |
prologic | $ crawl -b ".*" -w "^http\:\/\/sourceforge\.net\/projects\/xine\/.*$" http://sourceforge.net/projects/xine/files/xine-lib/1.1.18/ -p "^.*download.*$" > urls | 13:42 |
Romster | i always look at the -h of commands and man pages if they exist | 13:42 |
prologic | this is finding valid urls of interest | 13:42 |
prologic | it's found 6 so far | 13:42 |
Romster | hmm | 13:42 |
prologic | but may take a while to complete | 13:42 |
Romster | i never escaped my dots... | 13:42 |
prologic | *sigh* | 13:42 |
prologic | did I not say valid python regex? | 13:43 |
prologic | that means you must properly escape special characters | 13:43 |
prologic | : / . etc | 13:43 |
Romster | no i'm just used to regular regex. | 13:43 |
Romster | and forgot toescape \. | 13:43 |
prologic | even regular regex you have to escape special chacrs | 13:44 |
prologic | @reload rplugins | 13:44 |
kdb | Unloaded plugin: rplugins | 13:44 |
kdb | Loaded plugin: RPlugins | 13:44 |
prologic | @rplugins pending | 13:44 |
kdb | Unknown Command: rplugins | 13:44 |
*** kdb has quit IRC | 13:46 | |
*** kdb has joined #circuits | 13:46 | |
prologic | @rplugins pending | 13:47 |
kdb | No Remote Plugins pending authorization. | 13:47 |
prologic | @rplugins add http://codepad.org/HTfQb9uG/raw.py | 13:47 |
kdb | Remote Plugin http://codepad.org/HTfQb9uG/raw.py (9013e13aeccd3b43166a179539343ee59d8ce791) pending authorization. | 13:47 |
prologic | @rplugins pending | 13:47 |
kdb | Remote Plugins Pending Authorization: | 13:47 |
kdb | 9013e13aeccd3b43166a179539343ee59d8ce791 (http://codepad.org/HTfQb9uG/raw.py) | 13:47 |
prologic | @rplugins auth | 13:47 |
kdb | No plugin specified. | 13:47 |
kdb | Authorization failed. | 13:47 |
kdb | Remote Plugin not found. | 13:47 |
prologic | @reload rplugins | 13:49 |
kdb | Unloaded plugin: rplugins | 13:49 |
kdb | Loaded plugin: RPlugins | 13:49 |
prologic | @rplugins auth | 13:49 |
kdb | Unknown Command: rplugins | 13:49 |
*** kdb has quit IRC | 13:50 | |
*** kdb has joined #circuits | 13:50 | |
prologic | @rplugins auth | 13:50 |
kdb | No plugin specified. | 13:50 |
prologic | @rplugins auth asdf | 13:50 |
kdb | Authorization failed. | 13:50 |
kdb | Remote Plugin asdf not found. | 13:50 |
*** kdb has quit IRC | 13:51 | |
*** kdb has joined #circuits | 13:51 | |
prologic | @rplugins auth asdf | 13:51 |
kdb | Authorization failed. | 13:51 |
prologic | @rplugins pending | 13:51 |
kdb | No Remote Plugins pending authorization. | 13:51 |
prologic | @rplugins add http://codepad.org/HTfQb9uG/raw.py | 13:51 |
kdb | Remote Plugin http://codepad.org/HTfQb9uG/raw.py (9013e13aeccd3b43166a179539343ee59d8ce791) pending authorization. | 13:51 |
prologic | @rplugins pending | 13:51 |
Romster | http://pastebin.com/CwTz0ru0 still running but caught an excemption | 13:51 |
kdb | Remote Plugins Pending Authorization: | 13:51 |
kdb | 9013e13aeccd3b43166a179539343ee59d8ce791 (http://codepad.org/HTfQb9uG/raw.py) | 13:51 |
prologic | Romster, no all pages parse correctly | 13:52 |
prologic | bad html | 13:52 |
Romster | ah | 13:52 |
Romster | not to fussed but isn't beatuelsoup meant to handle that | 13:52 |
Romster | man if it's gonna take this long to parse i'd be better writing more in lsurl to get subdirectories | 13:54 |
*** kdb has quit IRC | 13:55 | |
*** kdb has joined #circuits | 13:55 | |
prologic | crawling is not quick no | 13:56 |
prologic | especially since spyda is not doing any kind of async i?o right now | 13:56 |
prologic | or multiprocessing | 13:56 |
Romster | needs theading. | 13:56 |
*** kdb has quit IRC | 13:56 | |
prologic | no | 13:57 |
prologic | needs async i/o | 13:57 |
*** kdb has joined #circuits | 13:58 | |
Romster | maybe if i could restrict it to look for directories it would be faster in searching then listing files | 13:58 |
prologic | and multiprocessing for the cpu bound parsing | 13:58 |
prologic | @rplugins add http://codepad.org/HTfQb9uG/raw.py | 13:58 |
Romster | this might be a start if i can get it too actually list what i'm interested in seeing | 13:58 |
*** kdb has quit IRC | 13:59 | |
Romster | i know spiders are complex beasts | 13:59 |
*** kdb has joined #circuits | 13:59 | |
prologic | I'm not sure why you don't just simply use requests | 13:59 |
prologic | and lxml | 13:59 |
prologic | to parse a specific page's content | 13:59 |
prologic | rather than crawl all over the web for what you want | 13:59 |
prologic | @rplugins add http://codepad.org/HTfQb9uG/raw.py | 14:00 |
kdb | Remote Plugin http://codepad.org/HTfQb9uG/raw.py (9013e13aeccd3b43166a179539343ee59d8ce791) pending authorization. | 14:00 |
prologic | @rplugins pending | 14:00 |
kdb | Remote Plugins Pending Authorization: | 14:00 |
kdb | 9013e13aeccd3b43166a179539343ee59d8ce791 (http://codepad.org/HTfQb9uG/raw.py) | 14:00 |
Romster | i have in lsurl but.... i want to expand this to search for files in said areas of said sites. | 14:00 |
prologic | <kdb> Remote Plugin http://codepad.org/HTfQb9uG/raw.py (9013e13aeccd3b43166a179539343ee59d8ce791) successfully authorized. | 14:00 |
Romster | from multiple starting locations. | 14:00 |
prologic | :) | 14:00 |
prologic | of course I'm going to show anyone the password | 14:00 |
prologic | :) | 14:00 |
prologic | @load 9013e13aeccd3b43166a179539343ee59d8ce791 | 14:00 |
kdb | Could not load plugin: 9013e13aeccd3b43166a179539343ee59d8ce791 Error: Attempted relative import in non-package | 14:00 |
*** kdb has quit IRC | 14:01 | |
Romster | good one change the pass. | 14:01 |
*** kdb has joined #circuits | 14:02 | |
prologic | eh? | 14:02 |
prologic | what password? | 14:02 |
prologic | @load 9013e13aeccd3b43166a179539343ee59d8ce791 | 14:02 |
kdb | Loaded plugin: Hello | 14:02 |
prologic | sweet | 14:02 |
prologic | @hello | 14:02 |
kdb | Hello World! | 14:02 |
kdb | Hello World! | 14:02 |
prologic | awesome :) | 14:02 |
prologic | haha | 14:02 |
prologic | the concept works! | 14:02 |
prologic | man I'm brilliant | 14:02 |
prologic | now to Dockerize this | 14:02 |
*** kdb has quit IRC | 14:03 | |
ircnotifier | 75e2179986a2 by prologic: Fixed sub-commands for Channels Plugin | 14:16 |
ircnotifier | de08ea179b47 by prologic: Implemented Remote Plugins and Docker image | 14:16 |
ircnotifier | 7b4d12d99af3 by prologic: Fixed Dockerfile | 14:17 |
prologic | c45y, oh boy are you gonna have some fun tomorrow :) | 14:18 |
prologic | remote plugins ftw | 14:18 |
prologic | anyone can add em | 14:18 |
prologic | but only the person with the authorization can authorize them :) | 14:18 |
ircnotifier | 48e226c38af5 by prologic: Use --allow-external in RUN pip in Dockerfile | 14:31 |
*** Ossoleil has quit IRC | 14:32 | |
*** jpenny_ has joined #circuits | 14:34 | |
ircnotifier | 3370a8d9b6d1 by prologic: Use --allow-all-external in RUN pip in Dockerfile | 14:47 |
*** kdb has joined #circuits | 14:47 | |
*** kdb has quit IRC | 14:48 | |
*** kdb has joined #circuits | 14:49 | |
*** kdb has quit IRC | 14:49 | |
ircnotifier | d4123675eb6c by prologic: Use os.path.exists to check for config= file. | 14:51 |
*** kdb has joined #circuits | 15:02 | |
*** kdb has quit IRC | 15:03 | |
*** kdb has joined #circuits | 15:10 | |
prologic | kdb, load broadcast | 15:11 |
kdb | Loaded plugin: Broadcast | 15:11 |
prologic | @uptime | 15:11 |
kdb | Unknown Command: uptime | 15:11 |
prologic | @load stats | 15:11 |
kdb | Loaded plugin: Stats | 15:11 |
prologic | @uptime | 15:11 |
kdb | Uptime: 0+0:0:2 (CPU: 0.21s 7.87%) | 15:11 |
prologic | @uptime | 15:11 |
kdb | Uptime: 0+0:0:17 (CPU: 0.23s 1.30%) | 15:11 |
prologic | @load rplugins | 15:11 |
kdb | Could not load plugin: RPlugins Error: 'rplugins' | 15:11 |
*** kdb has quit IRC | 15:13 | |
*** kdb has joined #circuits | 15:13 | |
prologic | kdb, load rplugins | 15:13 |
kdb | Could not load plugin: RPlugins Error: 'rplugins' | 15:13 |
*** kdb has quit IRC | 15:13 | |
*** kdb has joined #circuits | 15:25 | |
prologic | kdb, load rplugins | 15:25 |
kdb | Could not load plugin: RPlugins Error: 'rplugins' | 15:25 |
*** kdb has quit IRC | 15:26 | |
*** kdb has joined #circuits | 15:27 | |
prologic | @load 9013e13aeccd3b43166a179539343ee59d8ce791 | 15:27 |
kdb | Loaded plugin: Hello | 15:27 |
prologic | @hello | 15:27 |
kdb | Hello World! | 15:27 |
kdb | Hello World! | 15:27 |
*** kdb has quit IRC | 15:27 | |
*** kdb has joined #circuits | 15:28 | |
prologic | kdb, load rplugins | 15:28 |
kdb | Could not load plugin: RPlugins Error: 'rplugins' | 15:28 |
prologic | kdb, load broadcast | 15:28 |
kdb | Loaded plugin: Broadcast | 15:28 |
prologic | @load rplugins | 15:28 |
kdb | Could not load plugin: RPlugins Error: 'rplugins' | 15:28 |
*** kdb has quit IRC | 15:29 | |
*** kdb has joined #circuits | 15:29 | |
prologic | kdb, load rplugins | 15:29 |
kdb | Could not load plugin: RPlugins Error: 'rplugins' | 15:29 |
*** kdb has quit IRC | 15:30 | |
*** kdb has joined #circuits | 15:31 | |
prologic | kdb, load rplugins | 15:31 |
kdb | Could not load plugin: RPlugins Error: 'rplugins' | 15:32 |
prologic | kdb, load rplugins | 15:32 |
kdb | Could not load plugin: RPlugins Error: | 15:33 |
*** kdb has quit IRC | 15:33 | |
ircnotifier | c11248fb5caf by prologic: Print a traceback on Plugin load failure | 15:36 |
jpenny_ | Tried to pip install circuits. | 16:08 |
jpenny_ | Ran into a couple of problems. | 16:08 |
jpenny_ | in web/apps/memorymonitor/reftree.py, lines 178 and 180 print statements are being used. | 16:09 |
jpenny_ | web/apps/webconsole/__init__.py at line 61 is syntactically incorrect, not sure what is should be. | 16:10 |
jpenny_ | in examples/factorial.py, Task is spelled task. | 18:24 |
*** jpenny_ has quit IRC | 20:24 | |
prologic | How is it that pip install circuits | 20:40 |
prologic | still gets you 2.1.0? | 20:40 |
prologic | is it because of the 3.0.0.dev on pypi? | 20:40 |
*** kdb has joined #circuits | 20:56 | |
ircnotifier | d255789678f3 by prologic: Move example config into etc/ | 20:57 |
ircnotifier | 52d383cc64aa by prologic: Move example config into etc/ | 20:57 |
ircnotifier | baffd5a7df93 by prologic: Updated README with Docker instructions | 20:59 |
prologic | @load 9013e13aeccd3b43166a179539343ee59d8ce791 | 20:59 |
kdb | Could not load plugin: 9013e13aeccd3b43166a179539343ee59d8ce791 Error: No module named 9013e13aeccd3b43166a179539343ee59d8ce791 | 20:59 |
prologic | @plugins | 21:00 |
kdb | Plugins: channels google stats help xmlrpc core ctcp greeting rmessage broadcast dnstools weather swatch web eval timers rplugins irc hello | 21:00 |
*** kdb has quit IRC | 21:00 | |
*** kdb has joined #circuits | 21:01 | |
prologic | @uptime | 21:01 |
kdb | Uptime: 0+0:0:47 (CPU: 0.29s 0.61%) | 21:01 |
prologic | c45y: good morning | 22:49 |
prologic | c45y: it’s ready for you to test :) | 22:49 |
prologic | @rplugins add http://codepad.org/NtkPvwDj/raw.py | 23:59 |
kdb | Remote Plugin http://codepad.org/NtkPvwDj/raw.py (9013e13aeccd3b43166a179539343ee59d8ce791) pending authorization. | 23:59 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!