00:02:07 yeah totally 00:05:15 -!- slereah has joined. 00:05:49 -!- Slereah_ has quit (Read error: 113 (No route to host)). 00:27:51 -!- sebbu has quit ("@+"). 00:41:32 -!- puzzlet has quit (Remote closed the connection). 00:41:45 -!- puzzlet has joined. 00:49:11 guys: 00:49:15 head grammars are interesting 00:49:31 head? 00:50:03 a kind of grammar for handling the notion that phrases are headed 00:50:15 and that deeeeeply nested structures can be headed by things way down in them 00:51:18 for instance a verb phrase is really a phrase built around a verb 00:51:30 atleast in natural language syntax 00:51:54 but the kind of grammar, a head-driven grammar, is pretty cool 00:53:56 it basically works like this: you have a pair, like 00:53:59 the first is a string of words 00:54:13 the second is an index specifying which of those words is the head 00:54:20 so in this case, w3 is the head 00:54:53 to get the deeply nested headedness you'd use a function like so: 00:55:21 LC1(,) := 00:55:51 this is a left-branching construction, which says that you can take a phrase 00:56:37 and "project" the head further up (that is, extend the phrase headed by s[i]) with some other phrase 00:56:50 by adjoining on the right, and producing the phrase 00:56:51 * dbc is 30 00:56:58 someone was asking 00:57:37 but because all of this stuff is indexed and so on you can do cool stuff 00:57:48 like move a head outside of its phrase 00:58:15 ouch! decapitation 00:58:25 dbc: yeah, first we were trying to work out the non-teens in here but then we realised there were more non-teens than teens 00:58:28 so we just worked out the teens instead 00:58:51 Front() := 00:58:58 dbc: btw your sunwait is down 01:01:27 Thanks. I think I knew that but I forgot to take down the link. 01:22:37 -!- Slereah_ has joined. 01:23:28 -!- slereah has quit (Read error: 113 (No route to host)). 01:23:28 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)). 01:23:37 -!- moozilla has joined. 01:26:55 -!- Slereah_ has joined. 01:28:07 -!- slereah has joined. 01:28:39 oh, something else thats apparently used frequently with head grammars is something like... whats called head wrapping: 01:29:22 RL2(, ) := 01:30:15 which they use to do shit like "taller than Sandy" is taken to be a constituent in sentences like "Kim is a much taller person than Sandy" 01:30:16 -!- GreaseMonkey has joined. 01:30:46 -!- slereah has quit (Read error: 113 (No route to host)). 01:30:55 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)). 01:30:57 -!- slereah has joined. 01:31:06 MADNESS 01:31:12 and you get this discontinuity by headwrapping: RL2(, ) == 01:31:27 tho really it should 01:31:31 but whatever :p 01:32:19 i wonder if something like this could be used in programming languages. its a queer but interesting kind of grammar 01:32:53 i suppose its a sort of unrestricted grammar, since it involves arbitrary sorts of rearrangement of elements 01:41:07 Later 01:41:11 -!- oerjan has quit ("leaving"). 01:52:48 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | lol. 02:28:33 -!- ihope has joined. 02:29:03 Let's come up with random Thue sublanguages and try to figure out whether they're Turing-complete or not. 02:34:05 * ihope goes to random.org 02:37:02 CGA ::= AA; CA ::= CAC; ACA ::= CC 02:37:06 Probably not. 02:38:43 lol 03:39:31 -!- oerjan has joined. 05:10:01 -!- puzzlet has quit (Read error: 104 (Connection reset by peer)). 05:11:06 -!- puzzlet has joined. 05:54:15 oh guys 05:54:21 Tree Adjoining Grammars = cool 06:11:08 -!- oerjan has quit ("leaving"). 06:29:59 -!- asiekierka has joined. 06:30:00 Hi 06:30:21 ^rot13 optbot 06:30:21 bcgobg 06:30:22 asiekierka: as do I.. suprised he didn't tell anyone else 06:30:32 ^rot13 bcgobg 06:30:32 optbot 06:30:33 fungot: there was a ", but" missing there, so I figured it might be deliberate 06:30:33 optbot: just that i spend way too much. 06:30:34 fungot: in terms of being terse 06:30:34 optbot: i'm going with this? it goes against my ' never meeting neither suffering' rule. 06:30:35 fungot: I'm kidding ;) 06:30:35 optbot: help ps kill i eof flush show ls bf_txtgen 06:30:35 fungot: I have a huge text file called "INTEL 80386 PROGRAMMER'S REFERENCE MANUAL 1986" 06:30:36 optbot: memory allocation is explicitly ignored in the spec 06:30:36 fungot: 's some room 06:31:05 heh 06:31:08 heh. heh heh 06:31:09 heheheh 06:32:46 lmfao 06:32:51 are you masturbating with bots? 06:33:14 threesome with a program? 06:33:20 programs, even! 06:33:41 That would be interesting 06:34:36 no, i'm bored 06:34:41 yeah 06:34:43 and wondering how to interface with the irc protocol 06:34:47 so you're playing with yourself and with two bots 06:34:49 in BackFlip 06:34:57 or no 06:34:57 wait 06:34:58 its very homoebotic 06:34:59 Modular SNUSP 07:32:12 i'm definitely not a sinister whereabouts register 07:32:46 is asiekierka robosexual? 07:34:53 http://www.coverville.com/archives/2008/10/take_on_me_lite.html 07:35:02 im oklosexual 07:35:04 :O 07:46:55 that was fun 07:47:23 is that the actual video, but different lyrics? ...or was the pipe wrench part by any chance added? 07:47:39 -!- slereah has quit (Read error: 113 (No route to host)). 07:47:53 -!- Slereah_ has joined. 07:49:01 the whole video is original 07:49:05 the music's been covered over 07:50:18 right, after reading "literal cover", that's quite obvious 07:50:33 pipe wrench fight :D 07:51:12 i've only seen part of that vid in family guy 07:52:48 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | hmm. 07:59:33 optbot! 07:59:34 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | try wxmaxima. 07:59:45 wwwhhat? 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:01:16 optbot! wxmaxima 08:01:17 psygnisfive: ooh wait a complication - if some letter of a cycle is duplicated, you don't need to use swap for that cycle 08:23:34 -!- asiekierka has quit (Read error: 110 (Connection timed out)). 08:36:17 -!- Mony has joined. 08:37:28 plop 08:45:43 plop! 08:51:12 * Jiminy_Cricket implodes 08:51:35 -!- ab5tract has joined. 08:55:47 -!- ab5tract has quit. 09:55:47 FUCK 09:58:18 foxtrot uniform charlie kilo 10:20:31 :DDDDDDDD 10:20:49 i'm so happy 10:20:58 i ain't a care in the world 10:32:51 -!- GreaseMonkey has quit ("So, how much do you love noodles?"). 11:04:05 -!- oerjan has joined. 12:00:24 -!- jix has joined. 12:38:16 Guys, let's make a Candlejack themed esol 12:51:00 * oerjan thinks that would be seriously awkward to program in 12:55:11 I think we could recommend it for IRP use, however. 12:55:56 candlejack? 12:56:05 yes. 12:56:40 moron says what? 12:57:29 of course although it's the first time i hear of it, it's probably a dead horse trope^Wmeme already. 13:00:42 what? 13:01:48 also, you already broke it in your first message above 13:02:07 ...what? 13:02:26 * oerjan swats oklopol ----### 13:02:59 have you joined a swat team recently or something? 13:04:19 since your mentioning the name had no effect, i can only conclude that you must be the villain yourself 13:05:20 i am so tired. 13:05:22 sooooo tired 13:06:50 jandlecack 13:07:30 * oerjan watches in horror as ehird is nidkapped 13:09:17 of course _someone_ had to have had that idea before 13:52:48 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | OTOH it makes it considerably harder to create virtual temporary variables. 13:53:14 virtually impossible, in fact 13:58:10 oh god it's easy to crack me up 13:58:51 that's because you are tired 13:59:01 well-known phenomenon 13:59:28 yes. 13:59:38 true things. 13:59:45 quiiiiiite quitesss... 13:59:53 gollum 14:00:00 RAAAAAAAAAAA 14:02:40 * oerjan wonders if there is a fundamental entropy obstacle to cheaply extracting CO2 from the atmosphere 14:03:32 is there a bot with a language with a random() functerion 14:03:38 here 14:03:40 now 14:03:45 hmm 14:03:56 fungot: what do you know? 14:03:57 There's fungot, written in Befunge, which has the ?. 14:03:57 oklopol: i mean " gives the correct results" but it should be 14:03:57 fizzie: you can write portable scheme if you wanted 14:04:00 !help 14:04:03 ^help 14:04:03 ^ ; ^def ; ^show [command]; lang=bf, code=text/str:N; ^str 0-9 get/set/add [text] 14:04:08 There's that 14:04:09 ^bool 14:04:09 No. 14:04:13 oh 14:04:14 command that I haven't yet added to help. 14:04:14 cool 14:04:24 ^bool 14:04:24 No. 14:04:26 ^bool 14:04:26 No. 14:04:28 ^bool 14:04:28 No. 14:04:30 ^bool 14:04:30 No. 14:04:33 fungot: Don't be so negative. 14:04:34 fizzie: it is the tarpit winner :) i'll have none of that 14:04:39 ^bool 14:04:40 No. 14:04:41 ^bool 14:04:42 Yes. 14:04:44 okay 14:04:53 so a uniform prng 14:05:16 Should I watch another charming episode of friends? 14:05:17 that didn't look overly uniform to me 14:05:18 ^bool 14:05:18 Yes. 14:05:22 Okay. 14:05:28 wlel 14:05:29 oklopol: you can still /msg lambdabot 14:05:29 well 14:05:34 actually i'm pretty tired 14:05:47 Are you absolutely sure? 14:05:48 ^bool 14:05:49 No. 14:05:52 It should be uniform. 14:05:52 and its @dice command 14:05:54 v 14:05:54 "bool" >?>0".oN" 61g:3+61p3P> ^ 14:05:57 >17G0"loob"Q!|>0".seY" 61g:4+61p3P^ 14:06:11 Then I ask again: Should I watch another episode? 14:06:12 ^bool 14:06:13 No. 14:06:17 thought so. 14:06:20 night all 14:06:31 oerjan: lambdabot is so mainstream, i don't wanna use it 14:06:38 heh 14:06:49 well as long as you need only binary choices... 14:12:28 "The theoretically required energy for air capture is only slightly more than for capture from point sources." 14:12:53 so no to my entropy question i guess 14:18:05 oklopol: 14:18:06 DONT GO 14:40:33 -!- KingOfKarlsruhe has joined. 14:42:49 Hm has anyone considered using radix trees for representing Funge-Space? 14:44:20 hm probably wouldn't work well 15:46:55 -!- Asztal^_^ has joined. 15:49:58 -!- Asztal has quit (Read error: 104 (Connection reset by peer)). 15:50:05 -!- Asztal^_^ has changed nick to Asztal. 16:14:24 -!- oerjan has quit ("leaving"). 16:17:36 -!- sebbu has joined. 16:19:19 yo ais523 16:21:30 ^bool 16:21:30 Yes. 16:21:40 That should be "True" or "False" ... 16:21:45 I mean, it's an isomorphism, but still. 16:22:10 hi ehird 16:22:38 GregorR: Shorter to write. 16:22:40 in Befunge/Brainfuck. 16:22:42 Whichever it is. 16:22:44 Wait. 16:22:46 has to be befunge 16:32:33 -!- Asztal has quit (Read error: 104 (Connection reset by peer)). 16:32:56 -!- Asztal^_^ has joined. 16:33:03 -!- Asztal^_^ has changed nick to Asztal. 16:33:09 -!- puzzlet has quit (Remote closed the connection). 16:33:17 -!- puzzlet has joined. 16:34:13 ehird: i had already gone. 16:35:11 AnMaster: what would the radices be? 16:39:31 oklopol, row followed by column I guess 16:39:42 except yes it doesn't work well when you have two values 16:39:43 like tha 16:39:44 that* 17:15:56 -!- KingOfKarlsruhe has quit (Remote closed the connection). 17:24:13 http://en.wikipedia.org/wiki/Wikipedia:2008_main_page_redesign_proposal#88wolfmaster Ain't broke don't fix it. 17:28:21 -!- asiekierka has joined. 17:28:56 Is Modular SNUSP a good lang for an ircbot 17:29:53 Hmm? 17:30:02 I don't know 17:30:05 it looks interesting 17:30:14 Also, how do you implement the IRC protocol, any good documents on that 17:30:16 it's sort of BF-like, and BF isn't that bad 17:30:17 other than the RFC 17:30:20 Yeah 17:30:37 really the only thing a bot needs to be able to do is send the logon sequence 17:30:38 asiekierka: The RFC. 17:30:39 and respond to pings 17:30:45 normally you want it to respond to PRIVMSG too 17:30:48 i said Other than the RFC :P 17:30:51 asiekierka: Tough. 17:30:53 Why not the RFC? 17:30:57 I mean the logon sequence 17:30:59 It's not hard to read. 17:31:01 i can't get it from the RFC 17:31:01 :P 17:31:05 Everything else, sure 17:31:08 and responding to pings 17:31:10 Yes you can. 17:31:16 The RFC includes documentation of the logon sequence. 17:31:17 Right there. 17:32:26 Which RFC 17:32:34 asiekierka: i suggest you ggl an irc bot if you want an easy way out. 17:32:40 anyway, the logon sequence is: 17:32:44 PASS password 17:32:44 asiekierka: http://www.irchelp.org/irchelp/rfc/rfc.html. 17:32:47 NICK nickname 17:32:52 yes 17:32:53 USER hostname x x :Real Name 17:32:54 Read it. 17:32:57 where the xs are ignored 17:33:01 three lines 17:33:04 you also probably want 17:33:04 yes, and just remember to put a \r\n after all messages. 17:33:06 JOIN #esoteric 17:33:10 i see 17:33:12 So 17:33:15 ais523: Please, don't spoonfeed him. 17:33:19 PASS \r\n 17:33:20 before doing join, you have to wait for the motd to finish 17:33:25 oklopol: no you don't 17:33:26 Too many times he has said "How can I get info about X, apart from the definitive source about X>" 17:33:28 asiekierka: nonono 17:33:33 Freenode will queue it up otherwise 17:33:35 So just _let him read the RFC_ 17:33:44 asiekierka: you can just skip the pass 17:33:48 ehird: he won't read it 17:33:57 oklopol: Sure. 17:33:59 Maybe he won't. 17:34:01 nothing wrong with spoonfeeding something like this imo :\ 17:34:11 But then we have to tell him every detail of IRC all the way through. 17:34:13 And that's ridiculous. 17:34:19 We'd just end up copypasting the RFC. 17:34:37 oh 17:34:37 ok 17:34:38 i found it 17:34:41 i checked the wrong RFC 17:34:42 T_T 17:35:29 ais523: okay you don't need to wait for it, but 17:35:38 you need to pong the ping that comes in the middle of the motd 17:35:43 well 17:35:54 oklopol: you have a few seconds to do that 17:35:55 no 17:35:56 also, you mean USER username x x :Realname 17:35:56 you don't 17:35:57 or is it before. 17:35:58 freenode ignores pings 17:35:59 and you can pong it after the JOIN 17:36:01 you can never ping, ever 17:36:03 and it's fine 17:36:08 asiekierka: well, yes 17:36:10 and yes, asiekierka 17:36:12 the username part of the hostname 17:36:15 asiekierka: 17:36:16 hmm 17:36:17 i just do this 17:36:22 the xs would imply the other parts, but no sane server trusts those 17:36:22 USER nick nick nick :Realname 17:36:24 it works fine 17:36:32 USER nick * * :realname will work fine too yeah 17:36:37 ehird: the second and third arguments to USER are ignored by all sane ircds 17:36:40 yes 17:36:41 So i could just make a module outputting AsieBot in ModularSNUSP 17:36:51 and do it 3 times 17:37:04 are you saying just sending "NICK smth\r\nUSER smth smth smth :smth\r\nJOIN #esoteric\r\n" gets a bot on this channel? 17:37:38 * oklopol tests 17:37:53 Yeah, but first, lemme install cygwin@netcat. urgh. 17:37:58 oklopol: yes, it does 17:38:09 yaay 17:39:12 Wow, it's easy 17:39:28 And then you set up a loop for message receiving, and that's all!? 17:39:29 asiekierka, you may need to respond to ping before the login finished 17:39:37 asiekierka: yes 17:39:42 wow 17:39:45 you need to be able to respond to pings quickly, though 17:39:46 several ircds use that on an early stage to test someone isn't abusing a http proxy 17:39:50 AnMaster: yes, but that's based on time 17:39:54 ais523, hm? 17:39:56 so as long as you reply to the ping fast enough 17:39:58 Ooooh. 17:40:02 ais523, yes and with the right message 17:40:02 it doesn't matter if you send other messages first 17:40:05 PING 17:40:06 -!- smthcoolbot has joined. 17:40:09 PONG 17:40:11 okay 17:40:13 oh 17:40:23 this network is a bit more bot-friendly than qnet. 17:40:25 what I mean is, you can send a login sequence 17:40:29 and then reply to the ping 17:40:35 oklopol, but they plan to change ircd soon 17:40:41 so doing it properly is important 17:40:50 in quakenet, you absolutely have to pong the one ping @ startup. 17:40:56 ais523, and sure, that is what I do 17:41:02 oklopol, yes 17:41:03 AnMaster: who plans to? 17:41:08 fn? 17:41:08 you have to on many ircds 17:41:10 oklopol, freenode yes 17:41:24 yeah, well that would be nice, i would be right, retroactively. 17:41:24 oklopol, they agree hyperion suck. They plan something based on charybdis 17:41:53 i have no idea what those are, well, i wouldn't have known without context 17:42:13 oklopol, ircds 17:42:15 /^PING (.*)=x/--PONG $1=r=n=x/ 17:42:21 is the relevant line from Thutubot 17:42:22 AnMaster: yes, i had the context 17:42:23 nice and simple 17:42:29 ais523, interesting regex dialect 17:42:36 can't read it 17:42:36 (the -- is a marker, it gets removed later) 17:42:44 AnMaster: not at all, those are straightforward Perl regexen 17:42:47 ais523, the = stuff? 17:42:55 it's just that Thutu puts interesting stuff in the string the regexen match 17:43:09 =x is used to control I/O, for instance 17:43:26 ais523, They are Thutu commands? 17:43:38 well, Thutu commands are different 17:43:44 but if there's an =x in the string at the end of the program 17:43:49 everything before it is output to stdout 17:43:51 and the program restarts 17:43:58 with =r and =n being replaced by \r and \n 17:44:09 ais523, restarts? Yet the bot stays connected? 17:44:22 AnMaster: the program doesn't exit and load again 17:44:26 it's like there's a loop around the program 17:44:31 hm 17:44:39 it's something like while ($_ =~ /=9/) 17:44:41 in the Perl source 17:44:46 installing cygwin 17:45:16 And looking for a final decision on a esolang for my ircbot 17:46:22 o 17:46:30 o 17:46:52 ais523, if the program is restarted, what about state? 17:46:52 ooko 17:46:55 Lol i'm an botol ;) 17:47:01 AnMaster: everything after the =x 17:47:03 is preserved 17:47:07 so you can keep state that way 17:47:16 you can't keep it any other way though 17:47:20 ais523, also what paradigm is Thutu? String rewriting is my best guess 17:47:25 But I'm far from sure 17:47:26 yes, rewriting 17:47:36 with a few imperative control structures 17:47:41 rewriting is how it stores data 17:47:45 rather than how it does program flow 17:47:51 What is smthcoolbot running on 17:48:10 my guess is someone typing into netcat by hand 17:48:26 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 17:48:31 hmm 17:48:33 How he's responding to PINGs 17:48:34 cool 17:48:34 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 17:48:50 asiekierka: by typing the PONG by hand? 17:48:54 also, freenode's nice 17:48:58 it gives you a minute or so to respond 17:48:58 yeah 17:49:01 i see 17:49:04 nice, i can just connect, and write the bot loop on the fly. 17:49:05 wait 17:49:06 a MINUTE 17:49:06 and it doesn't care about typos in the PONG return string 17:49:12 yes, an entire minute 17:49:20 most ircds aren't nearly as lenient 17:49:21 That gives enough time for my 100mhz laptop to do it! 17:49:25 also it doesn't send you pings if you're active 17:49:30 I wonder if i could do a dual-pipe 17:49:32 as in 17:49:50 My 100mhz laptop->parallel/serial cable->netcat->parallel/serial cable->My 100mhz laptop... 17:49:50 even without ponging, you can stay up for about a day 17:49:55 :D 17:49:55 ais523, normally ping time out is something like 30-200 seconds 17:49:58 so yeah it's a bit more than a minute. 17:50:10 Which is why i'm not pinging out from here so much 17:50:16 my internet fails at pings 17:50:17 oklopol, As long as you send something else on freenode 17:50:31 oklopol, Freenode only cares the socket is active, not what you send 17:50:45 most other ircds require you to do it properly 17:50:49 AnMaster: i once had ~15 bots here, all dead 17:50:51 for about a day 17:51:04 then they suddenly pinged out 17:51:07 * ais523 looks at the source of Thutubot, to try to prevent people crashing it with infiniloops 17:51:33 Aw :( 17:51:44 What does thutubot do? 17:51:50 emulate underload 17:51:52 and run on irc 17:51:54 all in Thutu 17:52:04 ais523, make it count to two 17:52:10 if 64 is too much 17:52:11 Didn't we use to have a bot that ran many esolangs? 17:52:15 Egobot or such 17:52:16 yes, we did 17:52:18 it was EgoBot 17:52:24 hasn't been here for ages though 17:52:38 What happened to him? Kidnapped by ninjas? 17:52:57 Slereah_, depended on an unportable and no longer maintained library that did strange low level stuff 17:53:00 iirc 17:53:09 Oh. 17:53:12 to suspend processes to disk or something like that 17:53:21 i remember a discussion on that 17:53:26 from this year 17:53:26 Slereah_, I planned writing one in erlang 17:53:39 that would use processes in erlangish way 17:53:48 asiekierka, yes, that was what I were referring to 17:53:52 ehird tried to get it working 17:53:54 but gave up 17:54:23 IIRC it did strange stuff with assuming what registers setjmp/longjmp used in certain ways 17:54:27 or something like that 17:54:29 *shudder* 17:55:22 Yay, Melab made another page :D 17:55:43 asiekierka, still I think Taxi is a good choice for an irc bot 17:55:47 it got string handling too 17:56:04 asiekierka, what language did you select? 17:56:09 "This language is called Bit logic because it mainly uses logic symbols and binary/hexadecimal notation for commands." 17:56:10 Still deciding 17:56:12 How very specitif 17:56:14 specific 17:57:09 asiekierka, example: "Crime Lab tests if all dropped off string passengers are equal to each other, if so returns 1 passenger with the value, otherwise no passenger is returned, non-string is an error" 17:57:19 http://www.bigzaphod.org/taxi/ 17:57:55 oh 17:57:59 asiekierka, remember you need to make money 17:58:03 http://esoteric.voxelperfect.net/wiki/Taxi 17:58:03 too 17:58:21 asiekierka, iirc there is some RPN calculator coded in it even 17:58:31 ah yes http://www.bigzaphod.org/taxi/calc.nick_turner.txt 17:59:03 If you ride to the Post Office for a string, for example, "PING abc\r\n" what would i get? 17:59:07 "PING","abc" 17:59:10 "PING abc\r\n"? 17:59:12 Or what? 17:59:29 asiekierka, download it and check? 17:59:39 "Post Office drop off string passengers to print to stdout, pickup a passenger to read a string line from stdin" 17:59:44 that seems pretty clear to me 18:00:00 oki 18:00:11 Actually 18:00:15 Taxi seems to be the best choice 18:00:21 mainly because i can print out the map and use it 18:00:38 asiekierka, another idea: RUBE 18:00:39 maybe 18:00:50 nope, Taxi decided 18:00:52 a taxibot 18:01:11 aw 18:01:13 rube would be better 18:01:42 "passengers dropped off at Riverview Bridge seem to always fall over the side and into the river thus the driver collects no pay, but at least the pesky passenger is gone " :D 18:02:07 nononono, i don't want rube 18:02:12 wh y not 18:02:18 rubebot would be cool 18:02:18 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:02:24 and easy to confuse with rubybot 18:02:28 which iirc exist 18:02:35 ok now what is that silly bot 18:02:38 smthcoolbot? 18:02:39 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:02:40 smthcoolbot: Hi oklopol 18:02:40 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:02:48 AnMaster: It's by oklopol obviously. 18:02:50 smthcoolbot: What are you written in 18:02:50 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:02:51 really? 18:02:56 It is horrible 18:02:56 AnMaster: Yes. 18:02:58 IMO 18:02:59 No. 18:03:09 I wonder which place in Taxi can split a string, "PING agjg" into "PING" and "agjg" 18:03:15 -!- thutubot has joined. 18:03:18 +hello 18:03:18 Hello, ais523! 18:03:22 right, ignore on that smthcoolbot 18:03:22 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:03:25 +ul (:^):^ 18:03:25 oklopol: whats smthcoolbot bot written in 18:03:25 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:03:33 +hello 18:03:33 Hello, ais523! 18:03:33 Also, AnMaster 18:03:35 yay 18:03:36 you're being an idiot 18:03:39 it only talks when someone pings it 18:03:40 +ul (:aSS):aSS 18:03:40 (:aSS):aSS 18:03:41 smthcoolbot: 18:03:41 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:03:45 ehird, or when someone says "cool" 18:03:45 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:03:47 I prevented it being broken by infiniloops 18:03:50 anywhere in the line 18:03:56 rubebot would be cool 18:03:56 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:03:56 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:03:56 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:03:58 +ul (:*):* 18:04:00 see? 18:04:08 asiekierka: that has no output commands in 18:04:11 Whatever. 18:04:12 so it isn't going to do anything 18:04:17 uh, wait 18:04:21 * ais523 ignores smthcoolbot 18:04:21 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:04:25 +ul (:*^):*^ 18:04:28 hmm? 18:04:30 asiekierka: neither does that 18:04:30 so oklopol 18:04:31 output is S 18:04:34 what's smthcoolbot written in 18:04:34 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:04:37 well 18:04:41 i want to test something 18:04:45 +ull (as)S 18:04:48 oklopol, and can you make it only speak when it's *full name* is mentioned 18:04:49 +ul (as)S 18:04:49 as 18:04:52 Ok 18:04:52 not when someone says cool 18:04:52 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 18:04:53 +ul ((x)S:^):^ 18:04:54 yes you did fix it 18:04:58 +ul (as)S 18:05:01 oh wait 18:05:02 yeah 18:05:04 you did not? 18:05:04 AnMaster: its obviously a test bot, idiot 18:05:07 +hello 18:05:08 nobody makes a whole bot just for that 18:05:08 or did you 18:05:17 but e.g. my bots always do stuf like that while im getting them running 18:05:18 ehird, not even oklopol? 18:05:20 ok, it seems to be relatively crashed 18:05:27 AnMaster: oklopol isn't an idiot 18:05:34 ehird, indeed, but he is strange. 18:05:45 you said as much yourself several times 18:05:45 He is not an idiot. 18:05:48 agreed 18:06:10 -!- thutubot has quit (Remote closed the connection). 18:07:39 oklopol: ping 18:08:21 -!- thutubot has joined. 18:09:27 +ul (:aSS):aSS 18:09:27 (:aSS):aSS 18:09:32 +ul (:^):^ 18:09:39 +ul (:aSS):aSS 18:09:39 (:aSS):aSS 18:09:41 boring :( 18:09:49 +ul ((x)S:^):^ 18:09:50 No, i can't find it! 18:09:53 Augh! 18:09:57 asiekierka, find what? 18:10:07 +ul (:aSS):aSS 18:10:11 Except the Chop Suey, you can't split strings! 18:10:14 -!- thutubot has quit (Remote closed the connection). 18:10:27 asiekierka, hm and? 18:10:32 oh well 18:10:46 asiekierka, if you didn't want an esolang, don't use one 18:11:14 i did 18:11:16 it'll be just hard 18:11:36 asiekierka, Ok, I agree the fuel stuff will be hard 18:11:55 What about pingparsing 18:11:56 :P 18:11:57 Rube got much worse string handling, but otherwise it should work well 18:12:16 Because the fuel stuff can be done with "dummy passengers" 18:12:22 Get 2 passengers, like "A" and "B" 18:12:24 asiekierka, split string up, compare each char, taking branches as needed. Then rebuild strings 18:12:29 oh 18:12:36 -!- thutubot has joined. 18:12:41 +ul (:aSS):aSS 18:12:41 {{:aSS}}:aSS 18:12:46 ASS 18:12:49 ugh, that shouldn't have happened 18:12:51 +quit 18:12:51 -!- thutubot has quit (Client Quit). 18:13:04 asiekierka, possibly you want to use the cyclone thing 18:13:08 before splitting 18:13:12 yeah 18:13:26 And put one of the clones away somewhere 18:13:27 :) 18:13:30 So i can take it if needed 18:13:38 -!- thutubot has joined. 18:13:46 +ul (:aSS):aSS 18:13:48 asiekierka, not sure how to rebuild string 18:13:51 but should be possible 18:13:53 +quit 18:13:55 KonKat's :D 18:13:57 -!- thutubot has quit (Remote closed the connection). 18:14:06 You just must ride there and there a lot 18:14:19 asiekierka, you got lables and conditional jumps 18:14:31 yeah 18:14:47 asiekierka, Consider that a luxury! 18:15:12 asiekierka, you can do Switch to plan "mainloop" 18:15:16 instead of GOTO 10 18:15:17 oh, yes 18:15:17 i know 18:15:18 :P 18:15:24 you can use labels 18:15:27 Also, yes, i did program in C64 basic this vacation 18:15:32 many languages lack it 18:15:37 asiekierka, hehe 18:15:40 :P 18:15:41 I never coded basic 18:15:45 but I know the basics of basic 18:15:50 I'll tell you one thing. 18:15:54 If you can use assembler, USE IT. 18:15:59 and that made me decide to not even code basic basic programs. basically 18:16:00 :P 18:16:02 USE IT i say and i say USE IT! 18:16:33 Still that is nowhere near oerjans puns :/ 18:16:38 asiekierka, btw how old are you? 18:16:49 I'll leave this a secret, since 18:16:52 a) everyone knows 18:16:55 b) everyone still knows 18:16:56 ehird said you were younger than him 18:17:03 yes 18:17:08 he's 11. 18:17:13 WRONG! 18:17:13 -!- oc2k1 has quit (Read error: 60 (Operation timed out)). 18:17:15 well probably youngest around here 18:17:15 12. 18:17:16 11 and 10 months 18:17:17 10. 18:17:18 and 2,5 weeks 18:17:21 ahh, i see 18:17:28 asiekierka, basically 11 then? 18:17:29 And 10 seconds :P 18:17:32 yes 18:17:32 you haven't got past the "specifying more specifically than your years in agre" 18:17:32 + a bit more 18:17:33 stage. 18:17:35 -!- thutubot has joined. 18:17:42 my condolences 18:17:42 but closer to 12 though 18:17:44 2 months left 18:17:55 +ul (:aSS):aSS 18:18:00 +hello 18:18:01 Ugh, i wanted to ask something about Taxi, but i forgot what 18:18:06 +quit 18:18:07 -!- thutubot has quit (Client Quit). 18:18:08 ehird, well it is logical doing so. I mean you can round 184763897465783 to 184760000000000 in many cases 18:18:15 but 0.42 to 0 would often be silly 18:18:28 Oh, how do you pick up a specified value? 18:18:36 I have 13, then 10, then 32 set in starchild numerology 18:18:38 asiekierka, number or string? 18:18:43 Which one will i pick up first? 18:18:49 number 18:18:49 :) 18:19:00 13 is waiting at the Starchild Numerology. 18:19:00 10 is waiting at the Starchild Numerology. 18:19:00 32 is waiting at the Starchild Numerology. 18:19:04 That's what i have 18:19:10 Assume i'm at the Starchild Numerology 18:19:13 asiekierka, then I think you pick them up in that order? 18:19:14 What one will i pick up first 18:19:18 Pickup a passenger going to 18:19:19 blah 18:19:20 and so on 18:19:24 yes 18:19:26 asiekierka, not sure though 18:19:27 but which one would it be 18:19:29 so write a test program 18:19:30 -!- thutubot has joined. 18:19:37 asiekierka, " asiekierka, then I think you pick them up in that order" 18:19:38 ok 18:19:39 but first 18:19:44 same order as declared 18:19:46 i must compile Taxi 18:19:51 asiekierka, http://www.bigzaphod.org/taxi/calc.nick_turner.txt 18:20:01 considering that seems to do that way 18:20:14 See the [greeting] section 18:20:30 +ul (:aSS):aSS 18:20:30 2SS 18:20:34 ... 18:20:36 +hello 18:20:36 Hello, ais523! 18:20:40 +ul (abc)S 18:20:40 abc 18:20:44 +hello 18:20:45 Hello, asiekierka! 18:20:49 +hey 18:20:55 +I hate you 18:20:57 +ul (a):*S 18:21:02 +hello 18:21:02 Hello, ais523! 18:21:15 +ul (:^):^ 18:21:23 +quit 18:21:23 -!- thutubot has quit (Client Quit). 18:21:32 Also, how to compile a CPP file 18:21:37 ais523, was long time for 64 count caused by some bug or? 18:21:41 asiekierka: which platform? 18:21:48 Windows XP 18:21:49 with Mingw 18:21:50 AnMaster: no, just due to being inefficient 18:21:55 asiekierka, using g++ then? 18:22:11 anyway, it is buggy atm 18:22:14 g++ -o taxi taxi.cpp 18:22:15 or whatever 18:22:17 as I'm trying to put execution time limits on it 18:22:26 it worked 18:22:27 i think 18:22:36 asiekierka, wait windows? 18:22:40 yes 18:22:40 g++ -o taxi.exe taxi.cpp 18:22:41 then 18:22:44 Yes 18:22:47 only it got 737kb 18:22:48 or you will have trouble running the program 18:22:49 somehow 18:22:49 :P 18:22:56 asiekierka, seems reasonable for a C++ program? 18:23:00 oh 18:23:01 right 18:23:03 C + + 18:23:14 asiekierka, you may want -Os if not 18:23:18 asiekierka, anyway cpp is C++ 18:23:28 you don't need to append the .exe, mingw is smart enough to do it for you 18:23:35 Deewiant, ah, interesting 18:23:42 -O999 gives 651kb 18:23:45 enough 18:23:53 asiekierka, -O999 is same as -O3 18:24:12 there is no higher level than -O3 18:24:40 Yes 18:24:42 the same order 18:25:50 So i can start writing my bot 18:25:50 :D 18:27:56 Oh my god 18:28:05 there sure is a long way going to the Starchild Numerology a "short way" 18:28:05 Go to Starchild Numerology: west 1st left, 1st right, 3rd left, 1st right, 1st left, 2nd left. 18:29:28 -!- oc2k1 has joined. 18:33:38 asiekierka, probably want to select shortest routes in general to save fuel 18:33:46 yes 18:33:51 I think this is the shortest one 18:35:04 This one takeds approx. 7,2 miles 18:35:09 or 7.2 miles 18:35:24 is that past Firemouth Grill? 18:35:24 -!- thutubot has joined. 18:35:29 stupid mixed tabs and spaces 18:35:30 Or past Magic Eight? 18:35:36 in an indentation-caring language 18:35:38 +hello 18:35:38 Hello, ais523! 18:35:42 +ul (:aSS):aSS 18:35:42 SS 18:35:45 ugh 18:35:46 ais523, yes only use tabs 18:35:48 +ul (:^):^ 18:35:50 Yes, AnMaster, past Firemouth Grill 18:36:02 +quit 18:36:03 -!- thutubot has quit (Client Quit). 18:36:04 asiekierka, how long is the route past Magic Eight? 18:36:07 AnMaster: two-space tabs? 18:36:10 I only use spaces 18:36:12 atm 18:36:21 ais523, that or 4 18:36:23 Actually, a little bit shorter :P 18:36:25 the problem was that some spaces ended up inside a tab 18:36:30 Measured with a ruler! :D 18:36:38 anyway, Thutu's official indentation style is two-space 18:37:04 asiekierka, might not be exact 18:37:15 Yeah 18:37:17 asiekierka, can you get debug info from Taxi on that? 18:37:18 it's an approximation 18:37:22 Hmm 18:37:23 maybe 18:38:44 -!- thutubot has joined. 18:38:48 "Each passenger pays a standard fare of 0.07 credits per mile for the distance they have been riding in the cab." 18:38:49 asiekierka, hm ^ 18:38:57 that is quite low 18:38:58 +hello 18:38:58 Hello, ais523! 18:38:59 so be careful 18:39:01 Yeah 18:39:04 +ul (:aSS):aSS 18:39:04 -%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% 18:39:10 hmm... that was strange 18:39:11 Zoom Zoom is the cheapest 18:39:17 although pretty 18:39:19 asiekierka, it is near the top 18:39:20 +ul (:^):^ 18:39:20 but if it's too far away, it may end off cheaper to go to another place 18:39:24 +quit 18:39:24 -!- thutubot has quit (Client Quit). 18:39:47 asiekierka, hm what if you pick up a passenger going to Zoom Zoom? 18:39:49 error? 18:39:59 I will see 18:40:03 Slowly 18:40:04 please 18:40:46 -!- asiekierka has quit (Read error: 104 (Connection reset by peer)). 18:41:01 -!- asiekierka has joined. 18:41:04 debug: 2 "W1:L1:R1:L1:R1:L1:L2:L" Starchild Numerology 18:41:05 debug2: 2 "W1:L1:R1:L1:R1:L1:L2:L" Starchild Numerology gas: 20 credits: 0 miles: 0 18:41:05 Driving to Starchild Numerology 18:41:07 outgoing: 18:41:09 This is debuglevel 2 18:41:25 With only one line 18:41:28 No coming back yet 18:41:36 -!- thutubot has joined. 18:41:37 hm 18:41:41 +hello 18:41:42 Hello, ais523! 18:41:45 +ul (:aSS):aSS 18:41:52 ais523, what about hot code reload in thutubot? 18:41:56 would it be possible? 18:41:56 +quit 18:41:56 -!- thutubot has quit (Client Quit). 18:41:59 AnMaster: it's a compiled language 18:42:01 so not very easy 18:42:06 ais523, hm ok 18:42:22 -!- sebbu2 has joined. 18:42:47 -!- thutubot has joined. 18:42:50 +ul (:aSS):aSS 18:42:51 SS ...out of time! 18:43:01 that also seems wrong 18:43:08 +ul (:^):^ 18:43:08 ...out of time! 18:43:11 well, that's right 18:43:13 +ul (test)S 18:43:14 test 18:43:19 20 credits: 0 miles: 0? 18:43:22 +ul (x)aS 18:43:24 0 miles? 18:43:31 +quit 18:43:31 -!- thutubot has quit (Client Quit). 18:43:49 It works on the example code 18:44:03 I think it updates only when i pick up someone 18:45:42 -!- thutubot has joined. 18:45:49 +ul (:aSS):aSS 18:45:49 SS ...out of time! 18:46:21 Oh 18:46:21 ok 18:46:27 +quit 18:46:27 -!- thutubot has quit (Client Quit). 18:46:35 The first way (thru the magic eight) is 6.06922 miles 18:47:42 The second one (through Firemouth) is 6.62596 miles 18:47:42 :O 18:48:17 The third one (through the Crime Lab) is 6.09101 miles 18:49:19 -!- puzzlet_ has joined. 18:50:07 While the way through the riverview bridge is (O_O) 10.9714 miles! :D 18:50:17 very... gi gi gigigigantic 18:50:27 So we use the firemouth way 18:50:28 then 18:51:09 -!- asiekierka has quit (Read error: 104 (Connection reset by peer)). 18:51:30 -!- asiekierka has joined. 18:51:32 Yay 18:51:34 I found the right way 18:52:55 -!- thutubot has joined. 18:53:09 +hello 18:53:09 Hello, ais523! 18:53:12 +ul (:aSS):aSS 18:53:12 (:aSS):aSS 18:53:16 +ul (:^):^ 18:53:16 ...out of time! 18:53:23 +ul ((x)S:^):^ 18:53:23 x 18:53:31 +ul (x)aS 18:53:31 (x) 18:53:48 +ul ((a)S)^ 18:53:48 a 18:53:58 +ul ((x)S:^):^ 18:53:58 x 18:54:04 +ul (:^):^ 18:54:04 ...out of time! 18:54:07 -!- sebbu has quit (No route to host). 18:54:08 -!- sebbu2 has changed nick to sebbu. 18:54:10 +ul (:S:^):^ 18:54:10 :S:^ 18:54:22 +ul (a)S(b)S 18:54:22 a 18:54:45 ah, there must be something wrong with the S command 18:54:46 +quit 18:54:46 -!- thutubot has quit (Client Quit). 18:55:45 Working on my bot 18:57:11 -!- thutubot has joined. 18:57:16 +ul (:aSS):aSS 18:57:17 (:aSS):aSS 18:57:24 +ul ((x)S:^):^ 18:57:25 x 18:57:29 +ul (a)S(b)S 18:57:29 a 18:57:37 ugh 18:57:38 +qui 18:57:39 +quit 18:57:40 -!- thutubot has quit (Client Quit). 18:57:57 Well 18:58:07 About my wonders 18:58:12 I just built "NICK asiebot" 18:58:22 you need a USER command as well 18:58:27 Yes 18:58:27 and a PASS command if you register the thingg 18:58:32 I'm now modularizing it 18:58:45 or not 18:58:46 you know 18:59:51 Doo doo doo. 19:00:26 Augh. Taxi is a real boring esolang. 19:00:34 But it's a little fun too 19:00:39 Having a map you need to follow 19:00:40 : 19:00:40 P 19:00:41 :P 19:00:49 asiekierka: Boring but fun. I see. 19:00:54 That totally makes sense. 19:01:08 Boring much 19:01:10 but Fun little 19:01:10 like 19:01:12 90% boring 19:01:13 10% fun 19:01:15 that makes 100% 19:01:16 See? 19:01:27 But 90% boring 10% fun is just "boring". 19:01:36 mostly boring 19:01:37 Nothing is _totally_ boring. 19:01:39 fun in the little moments 19:01:50 Sitting there and doing nothing is totally boring 19:01:58 * asiekierka points to the chair 19:02:00 asiekierka: No it's not! 19:02:06 i said nothing 19:02:08 not even wondering 19:02:09 dreaming 19:02:10 thinking 19:02:13 just sitting 19:02:17 -!- puzzlet has quit (Connection timed out). 19:03:29 Wait 19:03:31 Does Taxi parse \r\n? 19:03:49 -!- thutubot has joined. 19:03:58 +ul (:aSS):aSS 19:03:58 (:aSS):aSS 19:04:01 hmm? 19:04:02 +ul (a)S(b)S 19:04:02 ab 19:04:08 +ul ((x)S:^):^ 19:04:08 xxxxxxxxxxxxxxxxxxxxxxxxx ...out of time! 19:04:12 yay, it works! 19:04:22 now I just need to put the time limit up 19:04:30 hmm... probably I should cap the number of characters of output too 19:04:37 +quit 19:04:37 -!- thutubot has quit (Client Quit). 19:04:49 I think it does 19:05:04 This changes my plans as i can just send the whole sequence! 19:05:15 Do you even IMAGINE how much miles does this save!? 19:06:00 Yes, it parses it 19:06:26 -!- smthcoolbot has quit (Read error: 104 (Connection reset by peer)). 19:07:47 I also prepared Taxi for running with netcat 19:09:02 -!- thutubot has joined. 19:09:11 +ul (:aSS):aSS 19:09:12 (:aSS):aSS 19:09:16 +ul (:^):^ 19:09:31 +ul ((x)S:^):^ 19:09:35 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ...too much output! ...out of time! 19:09:58 Ok 19:10:09 So how do you run nc with... "taxi.exe tst.txt"? 19:10:13 ais523 knows AFAIK 19:10:27 or AFAMKG 19:10:28 asiekierka: on Linux, you'd create a fifo 19:10:38 hey goys 19:10:40 and pipe the fifo to netcat to taxi to the fifo 19:10:49 I doubt that works on Windows, though 19:11:10 asiekierka: 19:11:22 nc -e "taxi.exe tst.txt" irc.freenode.net 6667 19:11:33 ehird: does that work? 19:11:37 I thought that when I tried it it connects 19:11:41 and then runs taxi, separately 19:11:49 no 19:11:54 its how egobot works 19:11:56 -!- asiebot has joined. 19:12:00 nc -e "./startEgoBot" blah 19:12:02 or something 19:12:02 Yes, this was wrote manually 19:12:03 hi asiebot 19:12:04 hi asiekierka 19:12:05 er 19:12:07 asiebot: help 19:12:08 !help 19:12:11 no 19:12:11 +quit 19:12:12 -!- thutubot has quit (Client Quit). 19:12:12 asiebot: BUTTCAKE 19:12:13 i run this manually 19:13:23 hey 19:13:28 -!- thutubot has joined. 19:13:33 yes, it is I, asiekierka 19:13:35 +ul (:aSS):aSS 19:13:36 (:aSS):aSS 19:13:40 +ul (:^):^ 19:13:40 oh 19:13:43 asiebot is just going from netcat 19:13:45 without taxi 19:13:54 i told it to you. and yes, yes, yes, yesyesyesYES. 19:13:54 +ul ((x)S:^):^ 19:13:57 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ...too much output! 19:14:16 almost works, but the out of time error message isn't coming up for some reason 19:14:17 +quit 19:14:17 -!- thutubot has quit (Client Quit). 19:15:00 +ul (:*S^):*S^ 19:15:00 -!- asiekierka has quit (Read error: 104 (Connection reset by peer)). 19:15:15 asiebot: it isn't here atm 19:15:21 -!- asiekierka has joined. 19:15:23 I'll bring it back though 19:15:37 Wow, 19:15:39 -!- thutubot has joined. 19:15:45 +ul (x)S(:^):^ 19:15:52 wow, nc works more realibly than mIRC... somehow 19:15:58 yeah 19:15:59 +hello 19:16:05 x 19:16:05 Hello, ais523! 19:16:19 hmm... maybe I shouldn't have multiplied the timeout by 5, it slows things down a lot 19:16:27 or maybe I should do it in something other than unary 19:16:29 +quit 19:16:29 -!- thutubot has quit (Client Quit). 19:16:35 -!- asiebot has quit (Client Quit). 19:16:39 Heh 19:16:40 ais523: gimme an esolang 19:17:44 ehird: what in particular are you looking for? 19:17:54 ais523: not a tarpit 19:17:56 i wanna make an esobot 19:17:57 :P 19:18:00 hmm 19:18:10 ehird: Muriel 19:18:11 my specialty "featureful esolang" is single-expression python 19:18:20 ais523: hmph 19:18:53 Hmm 19:19:00 I connected with Taxi :) 19:19:03 But it didn't join 19:19:05 * ais523 adds some debug info 19:19:09 Could it be that i did not wait? 19:19:09 -!- thutubot has joined. 19:19:15 +ul (x)S(:^):^ 19:19:16 You can't really pause code with Taxi 19:19:17 :( 19:19:31 you don't need a wait 19:19:34 asiekierka: just run it without the server 19:19:35 x 19:19:36 and see what it outputs 19:19:40 You know 19:19:43 i ran taxi with it 19:19:48 +quit 19:19:48 -!- thutubot has quit (Client Quit). 19:19:55 taxi tst.txt | netcat niven.freenode.net 6667 19:20:10 Only it does say :niven.freenode.net 376 asiebot :End of /MOTD command. 19:20:13 Will it output the same? 19:20:14 * ais523 found the bug 19:20:55 -!- thutubot has joined. 19:20:56 -!- asiekierka has quit (Read error: 54 (Connection reset by peer)). 19:21:03 haha 19:21:05 I love how he doesn't listen to us 19:21:11 of course you can't get input from a one-way pipe 19:21:13 that's why you use -e 19:21:14 LIKE I SAID 19:21:15 -!- asiekierka has joined. 19:21:17 asiekierka: 19:21:19 I told you to use -e. 19:21:28 netcat -e "taxi tst.txt" niven.freenodenet 6667 19:21:30 +ul (:^):^ 19:21:30 ...out of time! 19:21:37 +ul ((x)S:^):^ 19:21:37 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ...out of time! 19:21:39 Terminated after a while 19:21:42 Oh 19:21:45 i didn't do an infinite loop 19:21:47 *faceslap* 19:21:50 sigh. 19:21:54 +ul (:aSS):aSS 19:21:54 (:aSS):aSS 19:22:10 +ul ((Hello, world! )S:^):^ 19:22:10 Hello, world! Hello, world! Hello, world! Hello, world! Hello, world! Hello, world! Hello, world! Hello, world! Hello, world! Hello, world! Hello, world! Hello, world! Hello, world! Hello, world! Hello, world! Hello, world! ...too much output! 19:22:23 +ul (=r=n=x)S 19:22:24 =r=n=x 19:22:28 yay! 19:22:38 +ul (S:^):^ 19:22:38 S:^ ...out of time! 19:22:44 Huh. 19:22:46 That should output infinite S:^ 19:22:53 ehird: no it shouldn't 19:22:57 +ul (:S:^):^ 19:22:58 :S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^:S:^ ...too much output! 19:23:02 Oh. 19:23:03 do you see the difference? 19:23:08 +ul (:S^):^ 19:23:08 :S^ ...out of time! 19:23:11 Yes. 19:23:23 I'm still analyzing 19:23:33 hmm... should that be an out of time? 19:23:41 (:S^):^ 19:23:45 (:S^)(:S^)^ 19:23:48 (:S^):S^ 19:23:52 (:S^)(:S^)S^ 19:23:55 (:S^)^ 19:23:58 :S^ 19:24:00 S^ 19:24:01 ^ 19:24:04 ah 19:24:06 so it should just end 19:24:07 +ul ^ 19:24:07 ...out of time! 19:24:24 presumably it's a weird response to an out-of-stack thing 19:24:26 +ul * 19:24:26 ...out of time! 19:24:30 Hmm 19:24:37 ah, yes, it is 19:24:39 taxi tst.txt does an infiniloop 19:24:40 but nc does not 19:24:48 asiekierka: DO THIS: 19:24:53 nc -e "taxi tst.txt" irc.freenode.net 6667 19:24:55 it loops as long as there are commands left in the program 19:25:02 if there's out-of-stack-space, it can't run 19:25:13 This also terminated in a while 19:25:16 [infinite] 19:25:17 Switch to plan "infinite". 19:25:20 And it does this code at the end 19:25:23 in the post office 19:25:31 Without nc, this works 19:25:37 "NICK asiebot\r\nUSER asiebot asiebot asiebot :AsieBot!\r\nJOIN #esoteric" is waiting at the Writer's Depot. 19:25:37 Go to the Writer's Depot: west 1st left, 1st right, 1st left, 1st right, 1st left, 2nd left. 19:25:37 Pickup a passenger going to the Post Office. 19:25:37 Go to the Post Office: east 1st right, 2nd right, 1st left. 19:25:37 [infinite] 19:25:37 Switch to plan "infinite". 19:25:39 The code proper 19:26:02 let me get a better error message for that case 19:26:05 +quit 19:26:05 -!- thutubot has quit ("ThutuBot quitting"). 19:27:43 Oh 19:27:47 and how do you do it on LINUX 19:28:15 -!- atrapado has joined. 19:29:11 Hm? 19:29:30 the 19:29:30 SAME 19:29:31 WAY 19:29:44 also 19:29:44 asiekierka: 19:29:46 if it terminated 19:29:49 then freenode kicked you off. 19:29:58 Hmm 19:30:07 How would they do it 19:30:11 and why 19:30:23 1. Their server would. 19:30:26 2. Your code is ufcked. 19:30:29 *fucked 19:30:32 3. How is it? 19:30:39 3. I don't know. 19:30:41 ehird: my guess is that it isn't sending to Freenode from the Taxi program 19:30:46 because -e isn't piping correctly 19:30:50 ais523: asiekierka said that it ends the MOTD 19:30:52 so it evidently is 19:30:57 but not from -e! 19:31:06 Lemme check something 19:31:54 Ok 19:31:56 I may see it 19:32:02 I debugged it from localhost 19:32:09 exec taxi tst.txt failed : No such file or directory 19:32:12 This is what it says 19:32:14 So this means 19:32:22 -!- thutubot has joined. 19:32:30 +ul (:aSS):aSS 19:32:30 (:aSS):aSS 19:32:33 +ul * 19:32:34 ...* out of stack! 19:32:36 +ul a 19:32:36 ...out of time! 19:32:39 +ul S 19:32:39 ...out of time! 19:32:40 Ah. 19:32:40 asiekierka: 19:32:41 I try to create exec.bat 19:32:42 Do this in mingw: 19:32:42 +ul ^ 19:32:43 ...^ out of stack! 19:32:43 which does it 19:32:44 ais523: 19:32:46 shut up 19:32:46 +ul ! 19:32:47 ...! out of stack! 19:32:48 I need to paste this to asiekierka 19:32:50 asiekierka: yes 19:32:54 ehird: well, some of them are errors 19:32:54 asiekierka: then use -e exec.bat 19:32:54 Ok 19:32:56 asiekierka: exec.bat just has "taxi.exe thefile" 19:32:58 then -e exec.bat 19:32:58 and paste using a pastebin if needed 19:33:36 No such file or directory still 19:33:38 This is weird 19:33:42 I tried taxi tst.txt 19:33:45 asiekierka: do 19:33:52 +ul (a)aa 19:33:56 nc -e ./exec.bat irc.freenode.net 6667 19:33:57 exec.bat taxi tst.txt (exec.bat is %1 %2 %3... ...%9) 19:33:58 note the ./ 19:34:01 OOOHHH 19:34:07 ... duh 19:34:08 +ul a 19:34:08 ...out of time! 19:34:13 +quit 19:34:13 -!- thutubot has quit (Client Quit). 19:34:14 just make exec.bat 19:34:17 "taxi tst.txt" 19:34:17 then 19:34:20 nc -e exec.bat irc.freenode.net 6667 19:34:39 -!- thutubot has joined. 19:34:46 +ul a 19:34:46 ...a out of stack! 19:34:58 OK, I think thutubot's Underloadness is pretty good now 19:35:18 +ul (~:*~:^)::^ 19:35:27 -!- thutubot has quit (Remote closed the connection). 19:35:36 famous last words 19:35:36 taxi.exe tst.txt 19:35:38 yes, I need to check against unbounded memory usage too 19:35:41 Contents of exec.bat 19:35:43 asiekierka: yes 19:35:44 then 19:35:49 nc -e exec.bat irc.freenode.net 6667 19:35:49 I do nc -e ./exec.bat .... 19:35:52 no 19:35:52 on localhost 19:35:53 omit the .? 19:35:55 *./ 19:35:55 and it can't find anything 19:35:58 just do -e exec.bat 19:36:42 Hmm 19:36:49 nc-e exec.bat 127.0.0.1 3245 19:36:53 i mean 19:36:54 nc -e* 19:36:58 And it outputs nothing 19:37:00 immediate quit 19:37:05 exec.bat is "taxi.exe tst.txt" 19:37:43 nc listener also fails after it 19:37:59 Set it on localhost 19:38:02 not just nothing 19:38:04 and works 19:38:10 Just sits there 19:38:29 so 19:38:45 nc -e exec.bat ..... - immediate fail on localhost, fail on anything else 19:38:51 nc listener on localhost - doesn't output anything 19:39:22 asiekierka: 19:39:26 rm exec.bat 19:39:28 cat>exec.sh 19:39:30 #!/bin/sh 19:39:35 ./taxi.exe tst.txt 19:39:37 (Ctrl-D) 19:39:40 chmod +x exec.sh 19:39:47 netcat -e ./exec.sh irc.freenode.net 6667 19:39:50 ^ do that 19:40:31 -!- asiekierka has quit (Read error: 54 (Connection reset by peer)). 19:40:52 -!- asiekierka has joined. 19:41:04 Does nothing now 19:41:11 nc -e ./exec.sh irc.freenode.net 6667 19:41:15 just sits there 19:41:27 asiekierka: try just 19:41:29 ./exec.sh 19:41:33 does it output the right stuff? 19:41:45 I will see 19:41:53 Yess, now trying through sh 19:42:17 Yess, now trying through sh 19:42:19 oh wait 19:42:21 wrong window 19:42:32 Still no success it seems 19:43:22 :( 19:43:31 Stupid Li---Cygwin! 19:43:32 asiekierka: when you do 19:43:34 ./exec.sh 19:43:37 what does it saw 19:43:38 *say 19:43:44 what it should 19:43:44 or 19:43:46 NICK asiebot 19:43:51 USER asiebot asiebot asiebot :AsieBot! 19:43:54 JOIN #esoteric 19:44:00 Maybe it shouldn't be sent all at once 19:44:00 OK. 19:44:02 in one string 19:44:03 No. 19:44:05 it should 19:44:05 with \r\n's 19:44:07 so 19:44:08 when you do 19:44:12 ./exec.sh 19:44:13 nc -e ./exec.sh irc.freenode.net 6667 19:44:14 it does work 19:44:16 it just sits there? 19:44:17 But nc... 19:44:22 asiekierka: Well 19:44:23 Leave it running 19:44:26 its not meant to give any output 19:44:27 And? 19:44:31 Just run it like that for like 30 seconds 19:44:33 and i bet it'll join here 19:44:36 oh 19:44:36 maybe 19:44:38 It takes a while 19:44:40 i forgot 19:44:44 how long did you run it for 19:44:48 I don't know 19:44:49 Well 19:44:53 let's run it for 30 seconds now 19:44:56 . . . 19:45:05 I keep whoising asiebot 19:45:06 no result 19:45:16 BE PATIENT 19:45:24 Ok 19:45:34 OK. 19:45:38 It probably won't work if it's gone this far. 19:45:40 asiekierka: just a sec 19:45:53 wait 19:46:05 asiekierka: I have an idea to test it 19:46:19 what 19:46:29 -!- thutubot has joined. 19:46:31 +ul (~:*~:^)::^ 19:46:31 ...too much memory used! 19:46:33 asiekierka: when I say "just a sec wait" 19:46:34 just wait. 19:46:35 a sec. 19:46:40 ehird: see if you can crash Thutubot 19:46:54 +ul •ª•7•∞§å§§›Åfifl›§∞®§¶∞®∞›‹›Ÿ™°‡ÅÍÁÍ°·ÔÅÍؘˆÒÙıÔˆÛØÈÙ∏Ò∏ÅÍÒΔ∏ËÁ‰ÂÁÊ ‡°§•¶§¶•∑姕ºåß˙∂ª•∆ÈÔ°·ÅÍÎÁ°‡ÅÍÎ 19:46:59 hahahaha 19:47:05 +ul (as)S 19:47:06 as 19:47:06 +ul (•ª•7•∞§å§§›Åfifl›§∞®§¶∞®∞›‹›Ÿ™°‡ÅÍÁÍ°·ÔÅÍؘˆÒÙıÔˆÛØÈÙ∏Ò∏ÅÍÒΔ∏ËÁ‰ÂÁÊ ‡°§•¶§¶•∑姕ºåß˙∂ª•∆ÈÔ°·ÅÍÎÁ°‡ÅÍÎ)ß“∂≠ø∑ªº¶•#™·‚µ¨º¨≤99S 19:47:09 FAIL 19:47:11 oh 19:47:12 waait 19:47:15 +ul (as)S 19:47:15 as 19:47:18 HA 19:47:23 HA HA HA HA HA SO FUNNY. 19:47:25 maybe I should have a ...no output! 19:47:28 if there would be no output 19:47:39 Yeah 19:47:42 ais523: Why bother, fungot doesn't do that either. 19:47:42 fizzie: are you sure 19:47:49 :DD 19:47:51 fungot: _Yes_, I'm sure. I wrote you! 19:47:51 fizzie: sure. that's a press machine right? so i cannot test as i am 19:48:00 That thing is so uppity. 19:48:03 Well 19:48:03 uh 19:48:32 Incidentally, I was just watching fungot's console output, saw that ehird message, and thought it it had crasheded again since the message was just a mess. 19:48:32 asiekierka: 19:48:33 WAIT 19:48:34 A SECOND 19:48:41 Well 19:48:42 i am 19:49:52 ok 19:49:52 asiekierka: 19:49:58 run this 19:50:05 nc -e ./exec.sh 91.105.115.57 8080 19:50:09 and i'll examine what it sends 19:50:11 Ok 19:50:40 tell me when youve done that 19:51:03 +ul ((:*)(::**))(:^:()~()~(((a(:^)*a(!!!!!!!!!^)~*^):^))~^a(((*)~a*^(((((1)S!^)((1)S!!^))~^)(!(((2)S!^)((2)S!!^))~^)(!!(((3)S!^)((3)S!!^))~^)(!!!(((4)S!^)((4)S!!^))~^)(!!!!(((5)S!^)((5)S!!^))~^)(!!!!!(((6)S!^)((6)S!!^))~^)(!!!!!!(((7)S!^)((7)S!!^))~^)(!!!!!!!(((8)S!^)((8)S!!^))~^)(!!!!!!!!(((9)S!^)((9)S!!^))~^)(!!!!!!!!!(((0)S!^)(()S!^))~^((a(:^)*a(!!!!!!!!!^)~*^):^)))~a(:^)*~^):^)~*^^^!^!^!^!^!^!!!!!!!!!!!!()~((0)S!)~^^*a~^a~!~*:( )S)::::::::********^ 19:51:04 3 6 ...out of time! 19:51:18 asiekierka: done? 19:51:27 * ais523 increases the time limits 19:51:29 +quit 19:51:29 -!- thutubot has quit ("ThutuBot quitting"). 19:51:30 ok 19:51:32 ran it 19:51:34 neede dto go for a sec 19:51:40 ais523: Don't you have a reload command for it? :p 19:51:42 but it runs 19:51:50 asiekierka: OK, well. 19:52:00 Netcat isnt sending anything 19:52:01 Well, what? 19:52:03 Yes 19:52:04 asiekierka: Can you do 19:52:04 I know 19:52:05 nc -h 19:52:06 -!- thutubot has joined. 19:52:07 and 19:52:08 then 19:52:12 go to http://rafb.net/paste 19:52:13 fizzie: I have to recompile by hand 19:52:15 paste in the output 19:52:16 and Thutu can't do disk I/O 19:52:18 +ul ((:*)(::**))(:^:()~()~(((a(:^)*a(!!!!!!!!!^)~*^):^))~^a(((*)~a*^(((((1)S!^)((1)S!!^))~^)(!(((2)S!^)((2)S!!^))~^)(!!(((3)S!^)((3)S!!^))~^)(!!!(((4)S!^)((4)S!!^))~^)(!!!!(((5)S!^)((5)S!!^))~^)(!!!!!(((6)S!^)((6)S!!^))~^)(!!!!!!(((7)S!^)((7)S!!^))~^)(!!!!!!!(((8)S!^)((8)S!!^))~^)(!!!!!!!!(((9)S!^)((9)S!!^))~^)(!!!!!!!!!(((0)S!^)(()S!^))~^((a(:^)*a(!!!!!!!!!^)~*^):^)))~a(:^)*~^):^)~*^^^!^!^!^!^!^!!!!!!!!!!!!()~((0)S!)~^^*a~^a~!~*:( )S)::::::::********^ 19:52:19 and then give me the link? 19:52:41 thanks 19:52:48 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | ahh. 19:53:02 Ok 19:53:21 I think I'll get the timeout to work in binary rather than unary 19:53:24 that'll be a lot faster 19:53:27 -!- thutubot has quit (Remote closed the connection). 19:53:29 http://rafb.net/p/PGhRFJ84.html 19:53:46 asiekierka: OK, lemme think 19:53:53 asiekierka: Hmm 19:53:56 asiekierka: Can you modify your bot so 19:53:58 when it sends out a line 19:54:01 it first prints it to the screen? 19:54:03 Tip: 19:54:03 to do that 19:54:06 print to stderr 19:54:13 If you can't print to stderr, can you print to files? 19:54:20 If so, make it print what it sends to the server to log.txt 19:54:24 Then we can see what the problem is 19:54:39 Taxi doesn't have stderr 19:54:40 AFAIK 19:54:48 Does it have files? 19:54:53 Then just make it print it to log.txt 19:54:54 Taxi? No. 19:54:57 :P 19:55:08 Beh. 19:55:11 I'm not sure, then 19:55:13 I'm looking now for a native windows netcat 19:55:14 netcat should be working 19:55:16 asiekierka: No 19:55:17 No need to 19:55:21 It won't change anything 19:55:22 Try this though 19:55:25 cat>foo.sh 19:55:27 #!/bin/sh 19:55:31 echo hello world 19:55:33 echo blah 19:55:35 (Ctrl-D) 19:55:38 chmod +x foo.sh 19:55:41 Extend it with a Sawmill :P 19:55:46 nc -e ./foo.sh 91.105.115.57 8080 19:55:49 asiekierka: do that 19:55:54 i'll see what it does 19:55:58 done 19:56:01 [ehird:~] % ruby server.rb 19:56:01 hello world 19:56:02 blah 19:56:02 server.rb:5:in `gets': Connection reset by peer (Errno::ECONNRESET) 19:56:02 from server.rb:5 19:56:03 OK. 19:56:04 So 19:56:06 Netcat works 19:56:10 and the taxi works 19:56:13 but netcat<->taxi doesn't 19:56:14 So 19:56:16 asiekierka: 19:56:19 wait 19:56:23 did you compile your taxi with cygwin? 19:56:29 nope 19:56:30 i did with mingw 19:56:31 if not, remove your compiled taxi and recompile it inside cygwin 19:56:33 then try again 19:56:38 and it should work fine 19:56:41 Hmm 19:56:45 In Cygwin Mingw? 19:56:49 no. 19:56:52 in cygwin. 19:56:55 do this: 19:56:58 rm taxi 19:57:00 g++ -o taxi taxi.cpp 19:57:05 then run netcat again 19:57:24 The only problem is that i did not install g++ :P 19:57:32 in cygwin? 19:57:34 Just run setup.exe again 19:57:35 and recheck g++ 19:57:37 it'll just update it 19:57:39 to include that 19:57:49 ok 19:59:03 installing other stuff "just in case" 19:59:06 S oit'll take a while 19:59:09 -!- thutubot has joined. 19:59:11 So it'll take a while* 19:59:12 7% 19:59:29 +ul ((:*)(::**))(:^:()~()~(((a(:^)*a(!!!!!!!!!^)~*^):^))~^a(((*)~a*^(((((1)S!^)((1)S!!^))~^)(!(((2)S!^)((2)S!!^))~^)(!!(((3)S!^)((3)S!!^))~^)(!!!(((4)S!^)((4)S!!^))~^)(!!!!(((5)S!^)((5)S!!^))~^)(!!!!!(((6)S!^)((6)S!!^))~^)(!!!!!!(((7)S!^)((7)S!!^))~^)(!!!!!!!(((8)S!^)((8)S!!^))~^)(!!!!!!!!(((9)S!^)((9)S!!^))~^)(!!!!!!!!!(((0)S!^)(()S!^))~^((a(:^)*a(!!!!!!!!!^)~*^):^)))~a(:^)*~^):^)~*^^^!^!^!^!^!^!!!!!!!!!!!!()~((0)S!)~^^*a~^a~!~*:( )S)::::::::********^ 19:59:46 ais523: I am making my wonderful 'single-expression irc bot python wonder !!' 20:00:05 actually, let me test it on some simpler expressions first, with a shorter timeout 20:00:07 -!- thutubot has quit (Remote closed the connection). 20:00:31 -!- thutubot has joined. 20:00:33 ehird: which languages will it interpret? 20:00:37 ais523: not sure 20:00:43 +ul (:aSS):aSS 20:00:43 (:aSS):aSS 20:00:43 but it will be written in one expression of python 20:00:46 +ul (:^):^ 20:00:46 ...out of time! 20:00:49 also 20:00:55 fucking neighbours and their FUCKING FIREWORKS 20:00:56 :| 20:00:58 +ul (1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S(1)S 20:00:58 111111111111111111111111111111111111111111111111111111111111111 ...out of time! 20:01:00 * ehird = grouch 20:01:12 +ul ((x)S:^):^ 20:01:12 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ...out of time! 20:01:26 +ul ((:*)(::**))(:^:()~()~(((a(:^)*a(!!!!!!!!!^)~*^):^))~^a(((*)~a*^(((((1)S!^)((1)S!!^))~^)(!(((2)S!^)((2)S!!^))~^)(!!(((3)S!^)((3)S!!^))~^)(!!!(((4)S!^)((4)S!!^))~^)(!!!!(((5)S!^)((5)S!!^))~^)(!!!!!(((6)S!^)((6)S!!^))~^)(!!!!!!(((7)S!^)((7)S!!^))~^)(!!!!!!!(((8)S!^)((8)S!!^))~^)(!!!!!!!!(((9)S!^)((9)S!!^))~^)(!!!!!!!!!(((0)S!^)(()S!^))~^((a(:^)*a(!!!!!!!!!^)~*^):^)))~a(:^)*~^):^)~*^^^!^!^!^!^!^!!!!!!!!!!!!()~((0)S!)~^^*a~^a~!~*:( )S)::::::::********^ 20:01:27 ...out of time! 20:01:36 ok, I'll notch the timeout up a bit 20:01:38 +quit 20:01:38 -!- thutubot has quit (Client Quit). 20:02:06 -!- thutubot has joined. 20:02:08 +ul ((:*)(::**))(:^:()~()~(((a(:^)*a(!!!!!!!!!^)~*^):^))~^a(((*)~a*^(((((1)S!^)((1)S!!^))~^)(!(((2)S!^)((2)S!!^))~^)(!!(((3)S!^)((3)S!!^))~^)(!!!(((4)S!^)((4)S!!^))~^)(!!!!(((5)S!^)((5)S!!^))~^)(!!!!!(((6)S!^)((6)S!!^))~^)(!!!!!!(((7)S!^)((7)S!!^))~^)(!!!!!!!(((8)S!^)((8)S!!^))~^)(!!!!!!!!(((9)S!^)((9)S!!^))~^)(!!!!!!!!!(((0)S!^)(()S!^))~^((a(:^)*a(!!!!!!!!!^)~*^):^)))~a(:^)*~^):^)~*^^^!^!^!^!^!^!!!!!!!!!!!!()~((0)S!)~^^*a~^a~!~*:( )S)::::::::********^ 20:02:12 3 6 18 108 ...too much memory used! 20:02:29 27% (i srsly don't know why i chose to add fortran, d and ada too :P) 20:02:36 +ul ((:*)(::**))(:^:()~()~(((a(:^)*a(!!!!!!!!!^)~*^):^))~^a(((*)~a*^(((((1)S!^)((1)S!!^))~^)(!(((2)S!^)((2)S!!^))~^)(!!(((3)S!^)((3)S!!^))~^)(!!!(((4)S!^)((4)S!!^))~^)(!!!!(((5)S!^)((5)S!!^))~^)(!!!!!(((6)S!^)((6)S!!^))~^)(!!!!!!(((7)S!^)((7)S!!^))~^)(!!!!!!!(((8)S!^)((8)S!!^))~^)(!!!!!!!!(((9)S!^)((9)S!!^))~^)(!!!!!!!!!(((0)S!^)(()S!^))~^((a(:^)*a(!!!!!!!!!^)~*^):^)))~a(:^)*~^):^)~*^^^!^!^!^!^!^!!!!!!!!!!!!()~((0)S!)~^^*a~^a~!~*:( )S)::::****^ 20:02:39 3 6 18 108 ...too much memory used! 20:03:19 +ul ((:*)(::**))(:^:()~()~(((a(:^)*a(!!!!!!!!!^)~*^):^))~^a(((*)~a*^(((((1)S!^)((1)S!!^))~^)(!(((2)S!^)((2)S!!^))~^)(!!(((3)S!^)((3)S!!^))~^)(!!!(((4)S!^)((4)S!!^))~^)(!!!!(((5)S!^)((5)S!!^))~^)(!!!!!(((6)S!^)((6)S!!^))~^)(!!!!!!(((7)S!^)((7)S!!^))~^)(!!!!!!!(((8)S!^)((8)S!!^))~^)(!!!!!!!!(((9)S!^)((9)S!!^))~^)(!!!!!!!!!(((0)S!^)(()S!^))~^((a(:^)*a(!!!!!!!!!^)~*^):^)))~a(:^)*~^):^)~*^^^!^!^!^!^!^!!!!!!!!!!!!()~((0)S!)~^^*a~^a~!~*:( )S:^):^ 20:03:22 ...too much memory used! 20:03:48 +ul ()(~:()~()~(((a(:^)*a(!!!!!!!!!^)~*^):^))~^a(((*)~a*^(((((1)S!^)((1)S!!^))~^)(!(((2)S!^)((2)S!!^))~^)(!!(((3)S!^)((3)S!!^))~^)(!!!(((4)S!^)((4)S!!^))~^)(!!!!(((5)S!^)((5)S!!^))~^)(!!!!!(((6)S!^)((6)S!!^))~^)(!!!!!!(((7)S!^)((7)S!!^))~^)(!!!!!!!(((8)S!^)((8)S!!^))~^)(!!!!!!!!(((9)S!^)((9)S!!^))~^)(!!!!!!!!!(((0)S!^)(!^))~^((a(:^)*a(!!!!!!!!!^)~*^):^)))~a(:^)*~^):^)~*^^^!^!^!^!^!^!!!!!!!!!!!!()~((0)S!)~^^(:)~*(*)*( )S~:^):^ 20:03:52 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ...out of time! 20:04:02 yay, it works! 20:04:08 (not sure what the program before was doing, btw) 20:04:16 I'll up the timeout some more 20:04:20 -!- thutubot has quit (Remote closed the connection). 20:04:46 -!- thutubot has joined. 20:04:52 +ul ()(~:()~()~(((a(:^)*a(!!!!!!!!!^)~*^):^))~^a(((*)~a*^(((((1)S!^)((1)S!!^))~^)(!(((2)S!^)((2)S!!^))~^)(!!(((3)S!^)((3)S!!^))~^)(!!!(((4)S!^)((4)S!!^))~^)(!!!!(((5)S!^)((5)S!!^))~^)(!!!!!(((6)S!^)((6)S!!^))~^)(!!!!!!(((7)S!^)((7)S!!^))~^)(!!!!!!!(((8)S!^)((8)S!!^))~^)(!!!!!!!!(((9)S!^)((9)S!!^))~^)(!!!!!!!!!(((0)S!^)(!^))~^((a(:^)*a(!!!!!!!!!^)~*^):^)))~a(:^)*~^):^)~*^^^!^!^!^!^!^!!!!!!!!!!!!()~((0)S!)~^^(:)~*(*)*( )S~:^):^ 20:05:21 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 8 ...too much output! 20:05:37 +ul (:^):^ 20:05:37 -!- KingOfKarlsruhe has joined. 20:05:39 ...out of time! 20:06:59 Heh. 20:07:04 How darling :D 20:07:18 meanwhile 20:07:18 (lambda f: (lambda x: f(x(lambda y: x(y))))(lambda x: f(x(x)))) 20:07:36 Slereah_: what is/ 20:07:39 Thututbot? 20:07:52 Hay, does it use the same sort of message? 20:07:54 ^bf +[] 20:08:01 ...out of time! 20:08:06 fizzie: yep 20:08:09 +ul (a)* 20:08:21 hmm... that should have errored 20:08:26 instead I got "No text to send" 20:08:27 Your output message is different, though, I think I just used three dots. 20:08:27 +ul * 20:08:28 ...* out of stack! 20:08:33 ais523 : Yes 20:08:34 ^bf +[.] 20:08:34 ............................................................................................................................................................................................................... ... 20:08:47 +ul ((.)S:^):^ 20:08:47 ................................................................................................................................ ...too much output! 20:09:39 it's nice to have two working esobots, though 20:09:46 +hello 20:09:46 Hello, ais523! 20:10:00 +ul (^show optbot)S 20:10:00 ^show optbot 20:10:00 ais523: oh 20:10:00 thutubot: you are new here? 20:10:07 +ul (^echochohoo optbot)S 20:10:07 ^echochohoo optbot 20:10:07 optbotptbottbotbotott 20:10:08 ais523: I run code from URLs too! 20:10:08 thutubot: it should have been a literal \cx 20:10:08 fungot: i'm just kidding 20:10:08 optbot: it turns ou that the code will be written 20:10:09 fungot: NOBODY LIKES ME EVERYBODY HATES ME GUESS I'LL GO EAT WORMS. 20:10:09 optbot: it is because the empty list is () 20:10:09 fungot: not sure if tr in perl can be used functionally. but perhaps (($2=~y/.../.../),$2) will work 20:10:10 optbot: why move right, instead of creating /usr/ local/ bin 20:10:10 fungot: I thought ; was for function sequencinging kind of things? 20:10:10 optbot: ' formal parameters. 20:10:11 fungot: Yeah. Supposedly more ``clean'', and yet they support a ? b : c 20:10:21 thutubot: you are new here? 20:10:22 ais523: hi jix 20:10:33 +ul (Not new, I was here a while ago, but you didn't see me then)S 20:10:33 Not new, I was here a while ago, but you didn't see me then 20:10:54 ais523: So, want to generate a bot-loop between those? All you need is a sort-of-a two-stage quine where stage one in underload outputs "^bf" plus stage two in brainfuck, which then outputs "+ul" plus stage one again. 20:11:12 All on one IRC-line. 20:11:25 ah, I'll think about it 20:11:31 BF and UL are pretty different so it wouldn't be trivial 20:11:35 -!- oc2k1 has quit (Read error: 110 (Connection timed out)). 20:11:49 -!- oc2k1 has joined. 20:11:52 ^show 20:11:52 echo reverb rev bf rot13 hi rev2 fib wc xaa enctst copy badrot13 chtopic top topiccode compat_cat trulyawfulrot13 rot26 me echochohoo lolercakes echo_cho_ho_o baddoubles ul 20:11:59 ^copy test 20:11:59 test 20:12:29 +ul ((^copy +ul )SaS(:^)S):^ 20:12:29 ^copy +ul ((^copy +ul )SaS(:^)S):^ 20:12:29 +ul ((^copy +ul )SaS(:^)S):^ 20:12:29 ^copy +ul ((^copy +ul )SaS(:^)S):^ 20:12:30 +ul ((^copy +ul )SaS(:^)S):^ 20:12:30 ^copy +ul ((^copy +ul )SaS(:^)S):^ 20:12:30 +ul ((^copy +ul )SaS(:^)S):^ 20:12:31 ^copy +ul ((^copy +ul )SaS(:^)S):^ 20:12:31 +ul ((^copy +ul )SaS(:^)S):^ 20:12:32 ^copy +ul ((^copy +ul )SaS(:^)S):^ 20:12:32 +ul ((^copy +ul )SaS(:^)S):^ 20:12:33 ^copy +ul ((^copy +ul )SaS(:^)S):^ 20:12:33 +ul ((^copy +ul )SaS(:^)S):^ 20:12:33 ^copy +ul ((^copy +ul )SaS(:^)S):^ 20:12:33 +ul ((^copy +ul )SaS(:^)S):^ 20:12:34 ^copy +ul ((^copy +ul )SaS(:^)S):^ 20:12:34 +ul ((^copy +ul )SaS(:^)S):^ 20:12:34 +quit 20:12:35 -!- thutubot has quit ("ThutuBot quitting"). 20:12:40 fizzie: there you go 20:12:54 -!- thutubot has joined. 20:13:16 ais523: I would've rather liked to see a real brainfuck/underload hybrid-quine, but I have to admit that that was probably simpler. 20:13:44 yes, a hybrid-quine would be pretty tricky between those two langs 20:13:49 Although I guess you could've just made an underload quine that prepends "^bf ,[.,]!" -- no-one said you can't use input. 20:14:03 -!- oepy has joined. 20:14:05 Hi oepy. 20:14:07 +ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:07 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:07 +ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:08 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:08 +ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:08 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:09 +ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:09 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:09 +ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:10 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:10 +ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:11 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:11 +ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:11 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:12 +ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:12 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:13 +ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:13 Oh lawd. 20:14:13 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:13 +quit 20:14:14 +ul ((^bf ,[.,]!+ul )SaS(:^)S):^ 20:14:15 -!- thutubot has quit (Client Quit). 20:14:19 -!- oepy has quit (Remote closed the connection). 20:14:29 -!- thutubot has joined. 20:14:55 I think I'll move that "at most four commands from any one user" from the babbling part to a higher level so that it just can't loop unless you involve a third esobot in it. 20:15:10 I should have a +ignorenext command or something 20:15:19 to help avoid that sort of loop 20:15:33 +ul ((^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 20:15:33 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 20:15:34 ais523: AP sucks, it screwed me into taking more advanced (and degree-unrelated) science in college than I would have had to otherwise. 20:15:34 +ul ((^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 20:15:34 thutubot: so nop is a bad and space wasting idea 20:15:34 fungot: It took me a moment to realise that was what you were saying was wonderful 20:15:34 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 20:15:34 +ul ((^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 20:15:35 thutubot: when 20:15:35 fungot: OK, time for a stylistic argument 20:15:35 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 20:15:35 +ul ((^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 20:15:35 thutubot: i figured it was a much stronger result to be able to duplicate existing techniques with the machinery than to just layer another abstraction on top 20:15:36 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 20:15:36 +ul ((^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 20:15:37 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 20:15:37 +ul ((^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 20:15:37 ^bf ,[.,]!+ul ((^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 20:15:38 +ul ((^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 20:15:38 fungot: ah you mean the game 20:15:38 +quit 20:15:38 -!- thutubot has quit (Client Quit). 20:15:40 thutubot: interesting 20:15:42 fungot: ... 20:15:44 thutubot: cctoide : Well, you know what would be better than the Steam system? 20:15:46 fungot: I'm working on implementing it in Python 20:15:48 thutubot: too many domains are taken 20:15:50 fungot: :( 20:15:54 fizzie: pretty trivially beaten anywya 20:15:56 -!- thutubot has joined. 20:16:27 Oh, right, the optbot babble would count since there's that "fungot:" prefix. 20:16:28 fizzie: so what are you doing that you have seen it 20:16:28 fizzie: ofc, this makes no sense 20:18:58 Although optbot's so slow in responding that it is possible the flood-protection might've kicked in already. At least there above I think fungot would've ignored that last ^bf command. 20:18:58 fizzie: does scheme feature anything similar to this 20:18:58 fizzie: oh! useful. 20:19:07 optbot: Glad you like it. 20:19:07 fizzie: and what should happen in such cases 20:19:47 Or maybe not. I guess it was the fourth and not the fifth command. 20:20:35 I guess it just needs a brain so that it can get bored easily. 20:23:05 -!- oepy has joined. 20:23:07 Test. 20:23:10 Huh. 20:23:15 Ohh. 20:23:16 -!- oepy has quit (Remote closed the connection). 20:23:21 -!- slereah has joined. 20:23:35 Let's try this. 20:23:43 -!- oepy has joined. 20:23:45 Test. 20:23:45 hi 20:23:49 Hooray. 20:23:49 hi 20:23:52 hi 20:23:58 oepy: You consist of one expression of Python. Don't you feel cute and small? 20:23:58 hi 20:24:04 Ok, who just /msg'd it. 20:24:05 hi 20:24:07 At least it seems happy enough. 20:24:08 hi 20:24:10 yes 20:24:11 hi 20:24:14 the little 'hi's are so cute. 20:24:15 hi 20:24:23 ok, we're going down for maintanence oepy 20:24:23 hi 20:24:25 -!- oepy has quit (Remote closed the connection). 20:24:25 oepy: You're like a little twittering bird. 20:24:27 Aww. 20:24:30 Finally 20:24:36 I got G++/Cygwin to install/run 20:24:37 fizzie: a bird with a miniscule attention span, evidently 20:24:46 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)). 20:24:49 ehird: i have a one-expression python bot that does bf, therefore i win 20:24:56 oklopol: whatever 20:24:57 mine is cute 20:25:01 well yes 20:25:10 also hopefully extensible 20:25:17 oepy is such a cute name i literally licked the screen when i first saw it 20:25:40 +ul (oepy)S 20:25:40 oepy 20:26:05 +hello 20:26:05 Hello, ais523! 20:26:33 Hmm 20:26:35 it may work now 20:27:03 Let's be patient 20:27:05 30 seconds limit 20:27:28 20 seconds and nothing 20:27:50 bash-3.2$ ./nc -e ./exec.sh irc.freenode.net 6667 20:27:58 Windows/Cygwin 20:27:59 asiekierka: you recompiled taxi? 20:28:06 Yes 20:28:20 ehird: let me try netcat -e 20:28:24 +quit 20:28:24 -!- thutubot has quit ("ThutuBot quitting"). 20:29:02 It also quits after a while, again 20:29:28 -!- thutubot has joined. 20:29:32 +hello 20:29:32 Hello, ais523! 20:29:36 ah, it does seem to work for me 20:29:55 -!- ais523 has changed nick to ais523_. 20:29:56 +quit 20:29:56 -!- thutubot has quit (Client Quit). 20:29:58 -!- ais523_ has changed nick to ais523. 20:30:07 hmm... probably I should make it so other people can't get it to quit 20:31:57 ais523: pick oepy's command prefix 20:32:04 I'm thinking (: 20:32:14 # 20:32:16 -!- thutubot has joined. 20:32:20 +quit 20:32:20 +hello 20:32:21 Hello, ais523! 20:32:23 +quit 20:32:26 Argh 20:32:26 +quit 20:32:26 -!- thutubot has quit (Client Quit). 20:32:34 yep, just fixed that 20:32:49 And i'm still trying to fix netcat/taxi 20:32:57 netcat alone works, taxi/cygwin also works 20:33:00 but a duo of them does NOT 20:34:30 -!- thutubot has joined. 20:34:34 +quit 20:34:39 -!- asiekierka has changed nick to ais532. 20:34:40 +quit 20:34:43 -!- ais532 has changed nick to asiekierka. 20:34:45 ais523: What's that about []<> being reserved in Underload? Do they have a use? 20:35:03 fizzie: they were reserved in Overload 20:35:07 they don't have a use in Underload 20:35:22 but <> is a different type of grouping construct in Overload 20:35:28 and [] is for pragmas and comments and such 20:35:37 Ah, okay. 20:35:46 +ul (test)S 20:35:47 test 20:35:48 I should write that Funge-98 interpreter for it. 20:35:52 +ul [<>] 20:36:07 +ul [<(aha)>]<[S]> 20:36:14 +ul (aha)S 20:36:14 aha 20:36:15 asiekierka: I just treat [<>] as ordinary characters in Thutubot 20:36:21 +ul [<(aha)>]S]> 20:36:28 +ul ([<(aha)>])S]> 20:36:28 [<(aha)>] 20:37:07 +ul ()(~:()~()~(((a(:^)*a(!!!!!!!!!^)~*^):^))~^a(((*)~a*^(((((1)S!^)((1)S!!^))~^)(!(((2)S!^)((2)S!!^))~^)(!!(((3)S!^)((3)S!!^))~^)(!!!(((4)S!^)((4)S!!^))~^)(!!!!(((5)S!^)((5)S!!^))~^)(!!!!!(((6)S!^)((6)S!!^))~^)(!!!!!!(((7)S!^)((7)S!!^))~^)(!!!!!!!(((8)S!^)((8)S!!^))~^)(!!!!!!!!(((9)S!^)((9)S!!^))~^)(!!!!!!!!!(((0)S!^)(!^))~^((a(:^)*a(!!!!!!!!!^)~*^):^)))~a(:^)*~^):^)~*^^^!^!^!^!^!^!!!!!!!!!!!!()~((0)S!)~^^(:)~*(*)*( )S~:^):^ 20:37:11 I'll try with the native windows version 20:37:22 (netcat) 20:37:32 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 8 ...too much output! 20:37:43 -!- oepy has joined. 20:37:44 (:test test 20:37:50 +hello 20:37:50 Hello, ais523! 20:37:51 Dmanit 20:37:55 What is \w again? 20:37:57 ehird: get oepy to say +hello 20:37:57 [^ ] right? 20:38:07 and I can't remember offhand 20:38:15 No, \w is alphabetics, digits and underline. 20:38:16 I think \w is [a-zA-Z_0-9] 20:38:25 \S is "not whitespace". 20:39:47 It's funny how "a word character" contains _. Slightly programmer-oriented; I don't think "normal" people use _ in words very often. 20:39:47 NC native for NT crashed when i quit the NC monitor. 20:39:54 So i think it DOES disconnect it 20:40:04 -!- oepy has quit (Remote closed the connection). 20:40:19 -!- oepy has joined. 20:40:23 :)test 20:40:25 :)test a 20:40:25 Hmm, reading with ultra-verbose 20:40:39 Ok 20:40:39 ehird: is :) your command marker/ 20:40:40 r':([^!]+)\S* PRIVMSG #esoteric :\(:([^ ]+)(.*)' 20:40:44 any flaw with that? 20:40:45 A lot of DNS fwd/rev mismatches 20:40:46 then 20:40:49 -!- kar8nga has joined. 20:40:50 -!- slereah has quit (Read error: 60 (Operation timed out)). 20:40:53 fizzie: yes, normal people would use "-" for instance, which in turn /isn't/ a "word character" 20:40:55 It says (: there, not :). 20:40:58 chat.freenode.net [64.161.254.20] 6667 (?) ope 20:40:58 select fuxored: NOTSOCK 20:40:58 sent 0, rcvd 0: NOTSOCK 20:41:00 open* 20:41:02 Here you go 20:41:12 ehird: yes, you got the smiley backwards 20:41:13 (:test 20:41:13 -!- oepy has quit (Remote closed the connection). 20:41:14 that's what it says with ultra-verbose at the end of nativeNC/mingwTaxi 20:41:14 And even with a space after it. 20:41:27 Oh, it was not-a-space, not a space. Anyway. 20:41:56 Hmm, something different in NCcygwin/Taxicygwin 20:42:14 -!- oepy has joined. 20:42:20 it says : Operation now in progress after the open line 20:42:24 And what else...? 20:42:38 :)hi 20:42:39 ehird hi 20:42:40 :)hi test 20:42:40 ehird hi ('test',) 20:42:44 :)poop machine!! 20:42:45 ehird poop ('machine!!',) 20:42:46 ouch 20:42:48 thats some lag 20:42:51 :)hi test 20:42:51 ehird hi ('test',) 20:42:55 :)test 20:42:56 asiekierka test 20:42:58 :)hi test my poop machine yo 20:42:58 ehird hi ('test', 'my', 'poop', 'machine', 'yo') 20:43:01 :)rocks 20:43:01 asiekierka rocks 20:43:04 :)hi test my poop machine yo 20:43:04 ehird hi ('test', 'my', 'poop', 'machine', '', '', '', '', '', 'yo') 20:43:46 -!- oepy has quit (Remote closed the connection). 20:43:46 -!- asiekierka has quit (Read error: 54 (Connection reset by peer)). 20:43:56 -!- oepy has joined. 20:44:02 :)poop machine a 20:44:03 ehird poop ('machine', 'a') 20:44:06 Hooray! 20:44:35 -!- oepy has quit (Remote closed the connection). 20:44:40 -!- asiekierka has joined. 20:44:46 -!- oepy has joined. 20:44:49 Argh 20:44:50 :)pooping all over the butt machine 20:44:51 ehird pooping ('all', 'over', 'the', 'butt', 'machine') ( all over the butt machine 20:44:59 Taxi still doesn't work 20:45:01 Excellent 20:45:12 Neither thru irc 20:45:16 neither thru localhost 20:46:30 select fuxored: NOTSOCK? 20:46:37 this is what ncNATIVE_NT says 20:46:50 ncCYGWIN shutdowns after a while 20:47:02 with exec.sh, it stays thee 20:47:04 there* 20:47:14 Lemme test it 20:47:29 :)the quick brown fox jumps under the lazy dog 20:47:30 Gneh, fungot has some hardwired brainfuck assumptions that need fixing if I want to add another language. For one thing, it thinks all (prepared) program data consists of pairs of cells, only the first of which is used to check where the program ends. 20:47:30 fizzie: hi mad, and welcome :)) 20:47:30 ihope the ('quick', 'brown', 'fox', 'jumps', 'under', 'the', 'lazy', 'dog') ( quick brown fox jumps under the lazy dog 20:47:41 How useful. 20:47:43 fungot: I'm not mad! Who you're calling mad?! 20:47:43 fizzie: fnord is creepy also. it's nietzsche.. 20:47:45 -!- oepy has quit (Remote closed the connection). 20:48:15 Ok 20:48:39 -!- oepy has joined. 20:48:42 :)test 20:48:47 :)test a 20:48:47 :)a 20:48:51 Phoo. 20:48:52 -!- oepy has quit (Remote closed the connection). 20:48:52 :)as ie ki er ka 20:49:06 +ul (asiekierka)S 20:49:06 asiekierka 20:49:24 -!- oepy has joined. 20:49:25 :)test a b c 20:49:35 -!- oepy has quit (Remote closed the connection). 20:49:45 -!- oepy has joined. 20:49:46 :)test a b c 20:49:50 SHA WHAT 20:49:51 ha 20:49:52 -!- oepy has quit (Remote closed the connection). 20:50:30 +ul (who/what )(is oepy)*S 20:50:31 who/what is oepy 20:50:50 a bot. 20:50:56 -!- oepy has joined. 20:51:01 :)test a b c 20:51:04 -!- oepy has quit (Remote closed the connection). 20:51:09 OH 20:51:10 Argh! No, Taxi doesn't work. The only way i could get it to work is by using real Linux 20:51:29 -!- oepy has joined. 20:51:33 :)test a b 20:51:33 (['a', 'b\r'],) 20:51:34 but Windows is essential to my work 20:51:36 :)test a b c d 20:51:37 (['a', 'b', 'c', 'd\r'],) 20:51:46 Seems i need to re-install Linux :(( 20:51:48 -!- oepy has quit (Remote closed the connection). 20:51:58 -!- oepy has joined. 20:52:01 :)test a b c d 20:52:02 (['a', 'b', 'c', 'd'],) 20:52:15 -!- oepy has quit (Remote closed the connection). 20:52:15 asiekierka: what are you doing/trying to do? 20:52:19 Hokay. 20:52:38 Run Taxi through netcat on this channel using Windows/Cygwin 20:52:42 -!- oepy has joined. 20:52:44 :)echo fancy butt machine 20:52:44 fancy butt machine 20:52:52 YEAAAAAAAAH 20:52:53 what's Taxi 20:53:00 an esolang 20:53:17 It uses cout to output 20:53:20 cout/endl 20:53:50 and how doesn't it work? 20:53:56 It just sends nothing 20:53:59 echo to localhost works 20:54:02 echo to ehird works 20:54:08 Taxi to localhost fails 20:54:11 Taxi to ehird fails 20:54:17 Taxi to freenode fails 20:54:25 Basically 20:54:27 Taxi interpreter works 20:54:28 have you tried flushing cout? 20:54:29 Netcat works 20:54:33 but they don't work together 20:54:37 Deewiant: I don't know C++ 20:54:43 or at least not PC C++ 20:54:53 what C++ then? ;-P 20:55:14 ais523: what should I add to oepy 20:55:23 C++ for DS 20:55:29 and not much at that 20:55:32 i barely used C++ for it 20:55:33 mainly C 20:55:57 or hmm 20:56:04 if you're just running taxi | nc or something 20:56:18 then it could be the | that's causing the buffering 20:57:34 well, it looks like it's not interactive 20:57:36 -!- oepy has quit (Remote closed the connection). 20:57:42 so? 20:57:46 in which case if taxi terminates that's not the problem 20:57:55 yes it does 20:57:59 except if i do an infiniloop 20:58:02 to keep it alive 20:58:04 what i do now 20:58:06 it should connect 20:58:08 and join 20:58:10 and stay there 20:58:13 for a while 20:58:16 -!- oepy has joined. 20:58:17 a oepy b 20:58:18 -!- oepy has quit (Remote closed the connection). 20:58:28 if you're keeping it alive it might be buffering stuff 20:58:44 -!- oepy has joined. 20:58:45 a oepy b 20:58:46 -!- oepy has quit (Remote closed the connection). 20:59:25 -!- oepy has joined. 20:59:26 a oepy b 20:59:27 hi ehird 20:59:38 yay 20:59:40 try and /msg oepy 20:59:41 hi ehird 20:59:43 arsdio oepy werijirjf 20:59:43 hi oklopol 21:00:07 cool it's a hi bot 21:00:25 on #sex, there used to be tons of ya bots 21:00:31 i could just ya with them all day long 21:00:38 COOL COOL COOL COOL ALL AROUND THE TABLE :DDDDDDDDD 21:00:45 :D 21:01:04 oklopol: also 21:01:06 :)echo ECHO 21:01:07 ECHO 21:01:12 nice prefix 21:01:14 :) 21:01:20 ima go read -> 21:01:26 :)=== 21:01:33 :)echo :) 21:01:33 :) 21:01:39 :)echo :)echo :)echo 21:01:40 :)echo :)echo 21:01:45 uh 21:01:47 :/ 21:01:59 asiekierka: what? 21:02:06 ^rot13 :)echo 21:02:06 :)rpub 21:02:14 ^rot13 :)rpub ^rot13 :)echo 21:02:15 ^echo :)echo 21:02:15 :)echo ^ebg13 :)rpub 21:02:15 :)echo :)echo 21:02:15 ^ebg13 :)rpub 21:02:17 ^echo :)echo 21:02:18 :)echo :)echo 21:02:18 :)echo 21:02:30 what did i just do? 21:02:39 ^echo :)echo ^echo :)echo 21:02:39 :)echo ^echo :)echo :)echo ^echo :)echo 21:02:40 ^echo :)echo :)echo ^echo :)echo 21:02:40 :)echo :)echo ^echo :)echo :)echo :)echo ^echo :)echo 21:02:40 :)echo ^echo :)echo :)echo :)echo ^echo :)echo 21:02:43 Huh. 21:02:45 ^echo :)echo ^echo :)echo 21:02:45 :)echo ^echo :)echo :)echo ^echo :)echo 21:02:46 ^echo :)echo :)echo ^echo :)echo 21:02:46 :)echo :)echo ^echo :)echo :)echo :)echo ^echo :)echo 21:02:47 :)echo ^echo :)echo :)echo :)echo ^echo :)echo 21:02:47 fizzie: 21:03:15 ^echo :)echo ^echo :)echo 21:03:15 :)echo ^echo :)echo :)echo ^echo :)echo 21:03:16 ^echo :)echo :)echo ^echo :)echo 21:03:16 :)echo :)echo ^echo :)echo :)echo :)echo ^echo :)echo 21:03:17 :)echo ^echo :)echo :)echo :)echo ^echo :)echo 21:03:20 weird 21:03:21 Ah. 21:03:55 ais523: suggest a command 21:04:04 ehird: a BF interp 21:04:10 boring 21:04:29 +ul ((:)echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:04:29 ais523: there is not append 21:04:30 {{:}}echo ^bf ,[.,]!+ul ...a out of stack! 21:04:50 ugh, can't do unmatched () in Underload 21:04:55 so there goes my botloop 21:05:10 aw 21:05:15 i'll give it a nicer prefix 21:05:16 like 21:05:25 ^_^ 21:05:30 = 21:05:36 no.. 21:05:38 something happier... 21:05:39 * 21:05:45 -!- oepy has quit (Remote closed the connection). 21:05:55 -!- oepy has joined. 21:05:59 ehird: get ready to get oepy to quit by the way, to end the loop 21:05:59 hi ais523 21:06:10 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:10 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:10 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:11 heh 21:06:11 ais523: Um 21:06:11 thutubot: hi RodgerTheGreat 21:06:11 oepy: ~pexec self.raw("PRIVMSG #esoteric :foo") 21:06:11 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:11 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:11 fungot: always 21:06:12 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:12 thutubot: maybe ubuntu's is different 21:06:12 oepy: Thank you. 21:06:12 optbot: like the man said, " enough features to write a 21:06:12 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:12 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:13 fungot: with goto, you specify the label, not have it specified for you 21:06:13 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:13 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:13 optbot: because it's like lisp macro expansion 21:06:13 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:13 totally unaware and happy 21:06:14 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:14 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:15 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:15 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:15 fungot: unit is just there for.. mathematical nicety, I guess. 21:06:15 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:15 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:15 optbot: wordnet is nice, but there were real operating systems. 21:06:16 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:17 thutubot: 10 GreaseMonkey: daemon idle_10 bf8 21:06:17 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:17 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:18 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:19 oepy: no it's not! 21:06:19 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:19 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:20 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:20 damn 21:06:21 fungot: it'd need to be the rest of memory.. take input for an example of that 21:06:21 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:21 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:22 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:22 this is cute 21:06:23 fungot: we should get our own geordi going... 21:06:23 optbot: if pc-increment! pc-decrement! are sufficiently trivial, scheme48 will suffice. 21:06:24 let's just run this for a bit 21:06:25 thutubot: i only wanna ban everyone for a second, lament 21:06:25 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:25 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:26 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:26 -!- optbot has quit (Excess Flood). 21:06:27 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:27 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:27 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:29 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:29 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:30 ah 21:06:30 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:31 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:31 optbot is down 21:06:31 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:32 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:33 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:34 *echo ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:34 ^bf ,[.,]!+ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:34 +quit 21:06:34 -!- thutubot has quit ("ThutuBot quitting"). 21:06:34 now the rest will decay 21:06:35 +ul ((*echo ^bf ,[.,]!+ul )SaS(:^)S(optbot)!):^ 21:06:37 ais523: aww 21:06:41 ehird: no they won't 21:06:41 you should have let them go naturally 21:06:45 well 21:06:46 optbot did 21:06:46 the loop works even without optbot 21:06:50 yes 21:06:50 but 21:06:53 they will all flood themselves to death 21:06:54 :-P 21:07:06 -!- optbot has joined. 21:07:06 -!- optbot has set topic: the entire backlog of #esoteric: http://tunes.org/~nef/logs/esoteric | idea! write an optimizing axo compiler. 21:07:46 -!- thutubot has joined. 21:08:29 who wants my current source 21:08:33 -!- rodgort has quit (Remote closed the connection). 21:08:42 http://rafb.net/p/KhFMTZ61.html 21:09:27 ehird: interesting 21:09:31 -!- rodgort has joined. 21:09:34 Thutubot's is up on eso-std 21:09:38 but not online yet because you haven't added it 21:09:48 mine has a nice 'shape' to it 21:10:57 Mine has a triangle in it. 21:13:58 its almost LISP! 21:14:01 only not as awesome 21:14:27 yes, I wondered what that triangle was for 21:14:43 -!- oepy has quit (Remote closed the connection). 21:14:54 -!- oepy has joined. 21:14:55 *rot13 YO YO IN DA HOUSE 21:14:55 -!- oepy has quit (Remote closed the connection). 21:15:04 bye oepy 21:15:19 -!- oepy has joined. 21:15:20 *rot13 YO YO IN DA HOUSE 21:15:21 YO YO IN DA HOUSE 21:15:27 heh. 21:15:29 rot260 21:15:32 er 21:15:33 26 21:15:34 *rot13 poop 21:15:35 vuuv 21:15:39 *rot13 vuuv 21:15:39 BAAB 21:15:41 XD 21:15:47 oh 21:15:47 durr 21:16:08 *rot13 BAAB 21:16:09 BAAB 21:17:27 -!- oepy has quit (Remote closed the connection). 21:17:38 -!- oepy has joined. 21:17:41 -!- oepy has quit (Remote closed the connection). 21:21:43 *rot13 test 21:21:49 hm is ais523 here? 21:22:10 yes 21:22:15 +ul (So am I.)S 21:22:15 So am I. 21:22:16 I just got an idea for an encryption scheme. It probably got some issue that makes it insecure 21:22:20 but I can't think of one 21:22:29 go on, then 21:22:40 well first you select a good PRNG algorithm. 21:22:49 Then you in some way generate a seed that is random 21:23:02 -!- asiekierka has quit (Connection timed out). 21:23:16 now you use this good PRNG to generate a one time crypto, starting at the seed you generated. 21:23:21 Then you encrypt the message 21:23:35 now you use a real one-time-pad to encrypt the *seed* 21:23:47 then you put that encrypted seed at the front of the message 21:23:49 and send it 21:24:00 well, the issue is that no PRNG is good enough 21:24:12 or the ones that are, are used like that already 21:24:14 the receiver can then decrypt the seed using his one time pad copy 21:24:23 ais523, hm ok 21:25:10 ais523, But aren't there some very good PRNG iirc? 21:25:19 yes, probably 21:25:43 http://en.wikipedia.org/wiki/Blum_Blum_Shub#Security 21:25:45 maybe that one 21:28:42 one-time pads are only secure because every possible message will be generated by attempting to bruteforce the key 21:28:48 ais523, but if the PRNG is good enough, would it be as secure as using a true one-time-key? 21:29:01 if you reduce it to 32-bits or whatever, then all you have to do is test each value and see if it makes a vaguely recognizable message 21:29:05 it never could be as good 21:29:11 comex, ah right 21:29:23 you could brute-force it based on the amount of internal state in the PRNG 21:29:29 thus you couldn't send a message that was too long 21:29:49 eh, I think most good prngs have a period wayy longer than most messages 21:29:57 s/most/all 21:30:23 comex, maybe someone want to encrypt all of Tolkin's books? ;P 21:30:30 even so, you'd probably need a number of bits in the period greater than the number of possible messages 21:30:42 e.g. if it was a 32-bit prng, you could only send a 5-bit message 21:30:44 or something like that 21:30:59 or brute-forcing would work 21:31:36 -!- atrapado has quit ("Abandonando"). 21:31:41 AnMaster: Mersenne Twister has a period of 2^19937 - 1 21:31:45 -!- Leonidas has joined. 21:31:56 which is... uh... big 21:38:15 comex, And Blum Blum Shub? 21:38:34 -!- Slereah_ has joined. 21:40:51 Using a PRNG to generate a xor pad pretty much means just turning the PRNG into a stream cipher; the size of the seed is then the cipher key size. 21:45:02 Cryptographically secure PRNGs pretty much seem to be usually implemented using other cryptographic primitives, anyway; like hash functions or just running a block cipher on a counter value. Blum Blum Shub is the odd one, though. 21:49:07 Why is there always a zero in the fungot state file on the next line after the command name... wait, that's the language specifier, 0 means brainfuck. 21:49:07 fizzie: always reinventing myself. i should wake 22:19:34 -!- puzzlet_ has quit (Remote closed the connection). 22:19:38 -!- puzzlet has joined. 22:20:20 -!- oepy has joined. 22:20:21 *rot13 test 22:20:22 -!- oepy has quit (Remote closed the connection). 22:20:38 maybe I should write a rot13 in Thutu 22:20:52 but it would be a pain as Thutu has no equivalent to q/// 22:20:55 -!- oepy has joined. 22:20:57 *rot13 test 22:20:57 zkyz 22:21:00 *rot13 zkyz 22:21:01 fqef 22:21:04 *rot13 fqef 22:21:04 lwkl 22:21:07 *rot13 lwkl 22:21:07 rcqr 22:21:09 Etf. 22:21:09 ehird: that's a rot12 22:21:10 *Wtf 22:21:11 Oh. 22:21:24 -!- oepy has quit (Remote closed the connection). 22:21:25 actually, not even 12 22:21:28 some other number 22:21:30 Yes. 22:21:41 it's rot6 22:21:56 how can you try to write a rot13 and end up writing a rot6? 22:22:29 -!- oepy has joined. 22:22:41 ord(x) instead of alphabet.index(x) 22:22:58 *rot13 test 22:22:59 grfg 22:23:01 *rot13 grfg 22:23:02 test 22:23:04 woop woop 22:23:05 *rot13 $ 22:23:06 $ 22:23:10 *rot13 Hello, world! 22:23:10 Uryyb, jbeyq! 22:23:15 *rot13 Uryyb, jbeyq! 22:23:16 Hello, world! 22:23:18 Hooray. 22:23:27 *rot13 Furrfu 22:23:27 Sheesh 22:23:50 ha 22:25:21 -!- puzzlet has quit (Remote closed the connection). 22:25:25 -!- puzzlet has joined. 22:25:33 ais523: want the crazy current source? 22:25:41 Single expression python is easy once you get used to it 22:25:47 ehird: may as well 22:25:53 besides, I've written single expression C 22:25:55 that's a lot scarier 22:26:03 ais523: http://rafb.net/p/8gjbwT69.html 22:26:09 Actually, it makes my coding style a bit better. 22:26:21 Since you can't trivially add variables, it stays clean (well, as clean as single-expr python can be) 22:26:33 btw, is single-expression-Python whitespace-sensitive? 22:26:36 ais523: no 22:26:44 if it isn't that's an even better reason to write Python programs in one expression 22:27:04 oepy: say hi to optbot 22:27:05 hi ais523 22:27:05 ais523: PLEASE DO IRP IN #irp. 22:27:39 there's nothing wrong with whitespace sensitivity. 22:27:48 *echo hi optbot 22:27:49 ehird: that's odd 22:27:49 hi optbot 22:27:49 oepy: COME BACQ 22:27:50 hi optbot 22:27:50 oepy: Almost Carrollian. 22:27:50 yes, there is 22:27:51 hi optbot 22:27:51 oepy: ...in an extremely painful and weird way 22:27:52 hi optbot 22:27:52 oepy: ((lambda 3 1 ((closure-ref (get-num-arg 1) 0) (get-num-arg 1) (closure (lambda 2 3 ((lambda 1 1 ((closure-ref (get-num-arg 1) 0) (get-num-arg 1) (get-num-arg 3))) (get-num-arg 2)))))) (closure (lambda 4 2 (%halt (get-num-arg 2))))) 22:27:53 hi optbot 22:27:53 oepy: it doesn't make any sense to, nor is it even useful to, by default, bind variables to a temporary local scope. 22:27:53 hi optbot 22:27:54 oepy: !undaemon ctcp 22:27:55 hi optbot 22:27:56 oepy: how's this for a filename: ickirc-c.rstclci.in 22:27:56 hi optbot 22:27:58 oepy: Your philosophy is both bizarre and completely stupid. 22:27:58 hi optbot 22:28:00 it messes up copy-and-paste 22:28:00 oepy: 70 BOTTLES OF BEER ON THE WALL, 70 BOTTLES OF BEER. 22:28:01 -!- oepy has quit (Remote closed the connection). 22:28:04 ais523: no 22:28:05 that's stupid 22:28:09 and it can't easily be sent over IRC 22:28:09 that means your editor SUCKS 22:28:15 and yes, it can 22:28:20 just not on one line. 22:28:24 thats like 22:28:25 c sucks 22:28:28 you cant send entire programs over irc 22:28:29 all sorts of things mess up whitespace 22:28:30 because they're too big 22:28:32 you have to pastebin them! 22:28:43 a Python program can't recover from an accidental M-q 22:29:03 yes it can 22:29:05 and before you say that's stupid, my BF interp in Python for bsmnt_bot got messed up like that 22:29:06 it's called "undo" 22:29:16 and no, I didn't notice until after I'd saved, and lost the backup 22:29:24 that's not python's problem 22:30:06 well, most other langs are more resistant to that sort of thing 22:30:11 * ehird wonders what to add next 22:30:21 also, it's a pain to move Python code from inside a slightly indented block to a very indented block 22:30:29 no 22:30:30 it's not 22:30:35 because you can't just automatically recompute the indent of every line 22:30:36 with my editor, I just copy 22:30:37 and paste. 22:30:40 which is my normal technique 22:30:42 and it _WORKS_ 22:30:48 ehird: it can't do in all cases 22:30:49 it's not even emacs, too 22:30:51 ais523: yes, it can 22:30:57 physically impossible because there's sometimes more than one possibility 22:31:40 no 22:31:43 that's haskell :P 22:32:59 * ehird notes that python has 'let' 22:33:07 (lambda a=2, b=3: ...)() 22:34:48 I just got an idea 22:34:57 probably it is either bad, or someone made it before 22:35:01 Quantum Prolog 22:35:12 AnMaster: Proud would be like that 22:35:19 actually, Proud's like that but worrse 22:35:21 *worse 22:35:26 worse? how? 22:35:37 it can handle an infinite amount of data 22:35:43 ais523, and I didn't mean it as an esolang 22:35:44 that's how it manages to be super-TC without loops 22:35:53 but a mainstream language for the future 22:35:57 you couldn't implement it on an actual quantum computer 22:36:06 they don't have flow control 22:36:07 mainstream language 22:36:08 FOR THE FUTURE 22:36:12 THE FUUUUUUUUUUUUUUUUUUUUTUUUUUUUUUREEEEEEEEEEE 22:36:28 ais523, ah so quantum prolog wouldn't work then 22:36:39 well, you'd have to emulate it 22:36:44 so it wouldn't actually save computing speed 22:36:48 in fact I would like to read some beginners quide to how quantum computers work 22:36:51 Quantum computers don't have flow control...? 22:37:02 I did a project about learning about quantum computers once 22:37:07 and they don't have flow control 22:37:12 Huh... 22:37:12 you need a regular computer to control them 22:37:15 Ahhhh. 22:37:15 ais523, and how to program for them 22:37:21 yes 22:37:24 and I wrote a simulator 22:37:26 ais523, got a link? 22:37:27 and factorised 15 on it 22:37:30 Quantum computers kinda sound like hype to me. 22:37:31 :\ 22:37:39 AnMaster: not off the top of my head, unfortunately 22:37:41 ehird, reverse polarity! 22:38:25 ais523, got some link to some good alternative then? 22:38:35 no 22:38:41 hm 22:38:44 I could google-search, but you could just as easily 22:38:51 ais523, for the project? 22:38:59 project isn't online 22:38:59 ais523, remember name? 22:39:01 oh ok 22:39:02 and probably not on this computer 22:39:10 possibly not anywhere, actually 22:39:24 it was years ago 22:41:02 ais523: what should i implement next 22:41:44 an interp for an esolang currently not interpretable by this channel 22:41:46 hmm... 22:41:49 !haskell 2+" 22:41:50 !haskell 2+2 22:41:55 gah, not working 22:42:09 ? 22:42:09 (btw, it just bounced the requests off Lambdabot; it was a joke) 22:42:16 heh 22:42:18 what bot had it 22:42:19 +haskell 2+2 22:42:24 Thutubot 22:42:28 +ul (:aSS):aSS 22:42:28 (:aSS):aSS 22:42:36 the Underload is genuine, though 22:44:26 -!- oepy has joined. 22:44:33 *help 22:44:34 {'rot13': at 0xcf130>, 'help': at 0xcf2f0>, 'echo': at 0xcf270>} 22:44:45 that's not all that useful 22:44:51 no 22:44:59 is "rot13, help, echo" useful? 22:45:28 yes, more useful 22:45:48 -!- oepy has quit (Remote closed the connection). 22:45:59 -!- oepy has joined. 22:46:00 *help 22:46:01 echo, help, rot13 22:46:13 cool 22:46:14 what now 22:46:50 ais523: 22:47:23 do an Unlambda interp 22:47:27 or some other esolang 22:47:30 that isn't in here atm 22:47:36 yes, but 22:47:38 one python expression 22:47:38 maybe hq9+ 22:47:39 :P 22:47:44 also 22:47:54 perhaps i should make it interpret one-expression python. 22:47:54 >:D 22:48:03 hmm 22:48:06 ehird: that would be very dangerous 22:48:08 wait, bsmnt_bot did that didn't it 22:48:09 ais523: no 22:48:11 because it might let people hack your computer via the bot 22:48:13 i'd just have to block __import__ 22:48:16 or chroot it 22:48:49 but 22:48:55 i think bsmntbombdood did one statement python 22:48:56 so. 22:49:02 yes, eir bot was chrooted 22:49:13 i dont care about security. 22:49:22 but if bsmnt_bot did one-expr python 22:49:22 which server's oepy running on? 22:49:23 hi ais523 22:49:26 then that is not speshul 22:49:31 ais523: bournemouth 22:49:33 if it's rutian, then I do 22:49:41 also, ofc i'd secure it 22:49:42 i meant 22:49:46 i wasnt talking about security 22:49:52 (also: i'm the one who pays for rutian...) 22:49:54 do dc 22:49:57 that's almost an esolang 22:50:00 dc? 22:50:03 oh 22:50:04 calc lang thing 22:50:06 hmm 22:50:06 yes 22:50:10 i'd prefer something you could use to write commands 22:50:11 it's concatenative and TC 22:50:21 that, you know, didn't kill you 22:50:25 and you could just push the input on the stack at the start 22:50:25 ais523: what's reverse in dc 22:50:31 -!- KingOfKarlsruhe has quit (Remote closed the connection). 22:51:04 ehird: r swaps the top two stack elements 22:51:10 -!- oerjan has joined. 22:51:12 to do more than that you need to either use variables 22:51:15 or do it Underload-style 22:51:20 ais523: i mean, input is on stack at the start 22:51:28 show me a program that uses that 22:51:31 to reverse the input 22:51:32 then output it 22:51:37 if it's not trivial its not useful for making bot cmds :P 22:52:04 it isn't trivial 22:52:12 but it is possilbe 22:52:14 optbot ? 22:52:14 Mony: >>> factors 557940830126698960967415390 22:52:15 *possible 22:52:16 kay. 22:52:24 'twould probably take about half-an-hour to write 22:52:39 ouch! 22:52:41 no way then 22:52:52 normally you just use dc for arithmetic 22:52:53 2 2 + 22:52:55 is 4 22:52:57 for instance 22:53:00 yes 22:53:26 hmm... 22:53:29 anyone have any bright ideas? 22:54:21 -!- Mony has quit (Read error: 104 (Connection reset by peer)). 22:54:39 -!- Mony has joined. 22:55:07 ais523: pick an interesting language that is easy to write bot commands in 22:55:07 gogogo 22:55:14 Thutu 22:55:27 except that that's whitespace-sensitive 22:57:04 glass should be somewhat easy 22:57:24 oerjan: really? To write commands in, or to implement? 22:57:31 to write commands in 22:57:42 yeah but 22:57:45 class will be a pain to implement 22:57:47 in one python expression 22:57:51 although technically you can do classes 22:58:10 type('name', (object,), {'func': (lambda self, a: ...)}) 22:58:18 one python expression? why is that? just for the challenge? 22:58:37 oerjan: The whole bot is one python expression. 22:58:44 (Since that's an esolang that's easy to write stuff in.) 22:58:52 not a statement? 22:58:56 http://rafb.net/p/8gjbwT69.html is the current code, sans the help command. 22:59:05 python is not an esolang 22:59:05 oerjan: nope, one expression that can be used as a statement 22:59:08 and 22:59:11 one-expression python is an esolang. 22:59:19 hm ok 22:59:34 i mean just look at that paste 22:59:38 it's easy to write, kinda 22:59:39 but very eso 23:00:04 ehird: I'm going to use that code to annoy a friend of mine who's a big Python fan, I think 23:00:12 and who claims there's only one way to do things in Python 23:00:12 I think ehird mean that it is eso, same way as obfuscated C is eso 23:00:14 ais523: i doubt it'll annoy him 23:00:20 ais523: he'll just have a seizure 23:00:23 and then laugh himself to death 23:00:31 anyway, the point is there's only one obvious, easy way 23:01:04 anyway 23:01:07 ehird, also is that code indention sensitive? 23:01:08 glass would be a pain 23:01:09 as it's rather bloated. 23:01:10 AnMaster: no 23:01:14 :D 23:01:22 whitespace only determines blocks in python. 23:01:25 end of 23:01:28 non-indention sensitive python rocks 23:01:36 no 23:01:38 everyone should write python code like that 23:01:38 it doesn't 23:01:38 :) 23:01:40 it's awful 23:01:42 and that's why i'm writing it 23:01:55 * ais523 agrees with AnMaster 23:01:57 ehird, that code is beautiful 23:02:04 ais523, thanks 23:02:06 no, it's not 23:02:13 it's awful, unmaintainable shite 23:02:35 ais523, also I haven't found any good introduction for how to program a quantum computer, plenty of generic introductions at hardware level 23:02:39 which is the exact goal 23:02:53 * ehird thinks of esolangs... 23:02:56 AnMaster: it's kind-of hard, as all the commands always run in exactly the same order 23:03:12 because any attempt to depend on its internal state stops it working 23:03:14 ais523, it should be easy to add new commands 23:03:19 besides echo and rot13 23:03:24 well, yes 23:03:30 ehird wants to add an esolang command 23:03:41 as atm e isn't implementing any langs besides Text and the rot13 version of it 23:03:57 you need to add PING/PONG, but that should be trivial too 23:04:02 no i dont 23:04:05 freenode lets you ignore pings 23:04:11 ehird: not forever it doesn't 23:04:15 ehird, only if you send something else 23:04:22 you have to do /something/ every now and then 23:04:23 ais523: my experience suggests otherwise 23:04:25 even if it isn't a PONG 23:04:25 also 23:04:27 if it isn't sending anything you will time out 23:04:28 that's easily doable 23:04:31 ais523, you are correct 23:04:34 just make it ping the _server_ every now and then 23:04:39 yes, that does work 23:04:43 but why not just respond to pings? 23:04:50 * AnMaster agrees with ais523 23:04:53 true 23:04:59 anyway 23:05:00 meanwhile 23:05:03 esolang suggestions welcome 23:05:16 ais523, sure I get it is kind of hard, but I would like to know the basic operations anyway 23:05:32 AnMaster: there are only two of them IIRC 23:05:36 one is probability rotation 23:05:40 which is almost impossible to explain 23:05:46 and the other? 23:05:48 and the other one is a = a XOR b which is trivial 23:05:51 to explain 23:06:04 ais523, that sounds almost like intercal ;) 23:06:27 heh 23:06:29 ais523, however try to explain them 23:06:31 i think you need a degree in both quantum mechanics and computer science to understand quantum computing 23:06:34 probability rotation is much harder to explain than SELCET 23:06:36 *SELECT 23:06:40 ehird, do you understand it? 23:06:44 hopefully, you know what XOR does though 23:06:45 no 23:06:53 ais523, do you understand it? :) 23:07:08 AnMaster: well, assume that each bit has a certain probablity of being 1 23:07:12 and the rest of the time it's 0 23:07:14 anyway should quantum computers become mainstream it will be hard to fine programmers 23:07:17 obviously 23:07:24 except that these probabilities each have directions 23:07:24 ais523, right 23:07:45 AnMaster: no it wont 23:07:48 you'll just use libraries 23:07:59 it's like saying x86 is hard to find programmers for 23:08:08 because they don't know the low-level microcode 23:08:18 ehird, ah quantum::whatever? 23:08:18 whereas, er, you could just use c or python 23:08:24 AnMaster: Something like that. 23:08:37 AnMaster: let me just show you an example program 23:08:39 http://en.wikipedia.org/wiki/Shor's_algorithm#Quantum_part:_Period-finding_subroutine 23:09:14 ais523, ok that is hard 23:09:24 ais523, Do you understand it? 23:09:32 yes, I implemented it once 23:09:41 on a classical computer, though 23:09:45 ais523, you got a degree in quantum mechanics? 23:09:48 no 23:09:56 then ehird's statement is void 23:09:58 above 23:10:06 i think you need a degree in both quantum mechanics and computer science to understand quantum computing 23:10:11 but I've forgotten bits of it by now 23:10:14 How does an AnMaster know what hyperbole is??? 23:10:22 and even when I knew it I wouldn't really want to have to explain it 23:10:33 ehird, err that can't be correct grammar 23:10:41 bye everyone btw 23:10:48 AnMaster: how does a anmaster know what memes is. 23:10:54 bye ais523 23:11:12 ehird, I don't know lots of memes 23:11:19 so I agree I lack experience there 23:11:25 I know a few 23:12:05 hmm... 23:12:18 if I block 'eval' and '__import__' i think my evaller will be OK 23:12:39 otherwise you could do 23:12:43 eval('__im'+'port__("os").system("rm -rf ~")') 23:14:03 ehird, I would like to see the finished code for that bot when you are done :) 23:14:15 Define 'done'. 23:14:26 ehird, works like you intended it to 23:14:27 Also, it's about as practical as fungot as far as coding style goes. 23:14:28 ehird: maybe the 16-bit opcodes are four bits smaller. 23:14:40 ehird, yeah but this is #esoteric 23:14:45 True. 23:14:46 and remember to show it in #python 23:14:47 ;P 23:14:58 They'll just call me crazy and continue doing sane things. 23:15:04 ehird, hehe :D 23:15:10 Or start giving a critique of the code style. *That'd* be amusing. 23:15:35 Hmm. I think I might ask them about my current problem (How can I catch expressions without a try/exec block) 23:16:43 -!- oepy has quit (Remote closed the connection). 23:16:47 ehird, well still, I'd like to see the code of a version that can connect and that works. Call it final version or not. 23:16:52 It connects. 23:16:55 it works. :-P 23:16:56 -!- oepy has joined. 23:16:59 Hmm. 23:16:59 ah 23:17:04 It'll only handle about 1000 messages, though. 23:17:05 oepy, echo foo 23:17:06 hi AnMaster 23:17:09 err 23:17:16 As it infinite loops by calling a function from within the same function over and over. 23:17:22 ehird, not that bot? 23:17:24 And python has a small stack as it's not designed for functional programming. 23:17:26 or?! 23:17:29 *echo foo 23:17:30 foo 23:17:34 ehird, ah 23:17:37 *epy 2+2 23:17:38 4 23:17:40 *echo bar quux 23:17:41 bar quux 23:17:46 *epy __import__('sys').stdout.write('I AM EVIL') 23:17:46 *epy jhgf 23:17:46 -!- oepy has quit (Remote closed the connection). 23:17:50 ah 23:17:55 ehird, I had same idea ;) 23:17:56 an exception, as I haven't implemented error recovery in epy yet 23:18:05 ehird, sorry, just had to test 23:18:11 (It replaces __import__ with no_import, so I got a 'no_import' is not defined error) 23:18:23 hmm 23:18:25 ehird, and the thing I pasted a second before? 23:18:27 I think I can fix the infinite loop problem 23:18:30 AnMaster: No, a second after. 23:18:34 It was ignored as it had already crashed. 23:18:35 ehird, over there yes 23:18:38 [[NameError: name 'no_import' is not defined]] 23:18:41 No. 23:18:43 Freenode thinks so too. 23:18:43 :P 23:18:49 ehird, depends on what server you are on 23:18:56 yeah. 23:19:08 ehird, on the server I'm connected to, I guess it agrees with me 23:19:14 since I got 0.01 seconds lag to server 23:20:06 ehird, have you asked them? 23:20:10 Har. 23:20:13 I'm on a bouncer, so. 23:20:17 rutian is a fast little thing, though. 23:20:24 ehird, hm? 23:20:31 rutian is my server 23:20:32 rutian is the server? 23:20:33 ah 23:20:49 Featuring me, ais523, murphy, hideous, drew, and comex. 23:20:54 Of whom you know 3. 23:20:59 (me, ais523 and comex.) 23:21:21 I own the server (a VPS technically), ais523 is sudoer. 23:21:57 It houses optbot, ais523 and I's IRC connections. 23:21:57 ehird: as one of the data types. 23:22:03 And has a web server. 23:22:06 That is about it. 23:22:25 optbot: ah you're type-level programming? 23:22:25 oerjan: toffoli gate is not quantum. 23:22:40 Top memory user is optbot at 59.9% memory usage 23:22:40 ehird: i guess 23:22:44 due to having every esoteric log, ever, in memory 23:22:46 (256mb total memory on the slice) 23:22:53 Followed by php-cgi, mysqld, apache2 and such at 5-1% 23:24:20 The problem with #python is that they lie to you if they think you're doing something bad. 23:24:26 (e.g. a single-expression exception handler) 23:25:12 whttttttttttt 23:25:19 comex: What. 23:25:24 single-expression exception handler 23:25:36 yes 23:27:13 eval(compile('try:\n raise Exception\nexcept Exception, e:\n print e', '', 'single')) 23:27:14 >:E 23:27:16 *>:D 23:27:19 Cheating, but what the heck 23:27:33 ehird, do you remove duplicate lines from the logs? 23:27:37 such as: 23:27:37 AnMaster: no 23:27:38 hm 23:27:41 huh? 23:27:44 and similiar 23:27:50 ehird, would you really consider that clean, maintainable code? 23:27:53 ^ Of course not, you moron! 23:27:58 heheh 23:28:05 ehird, it relies on implementation details anyway. 23:28:07 ehird, How much memory would removing duplicate lines save? 23:28:07 ^ Youuuuuu bet. 23:28:11 AnMaster: A lot, probably. 23:28:19 'night guyz 23:28:22 ehird, it does rely on implementation details? 23:28:24 -!- Mony has quit ("Ne regrettons pas le passé, ne nous préoccupons pas de l'avenir : le sage vit dans le présent."). 23:28:25 Well 23:28:27 doesn't all code 23:28:28 AnMaster: compile 23:28:32 function 23:28:35 for languages that lack a standard 23:28:49 ehird, don't see it in the paste? 23:28:50 compile 23:28:59 Because I'm modifying it. 23:29:02 Also, there are multiple python impls. 23:29:08 ah yes 23:29:10 jyton 23:29:12 and ppyp 23:29:14 *jython 23:29:15 pypy* 23:29:15 and *pypy 23:29:21 and ironpython 23:29:29 fuck ppyy 23:29:29 (.NET) 23:29:33 pppppppppyyyyyyyyyyy 23:29:44 it promised to be fast but never actually got there 23:29:56 ehird, and I knew the names, just typoed them 23:30:05 me too :X 23:30:06 comex: it's still going... 23:30:12 comex, afaik it is WIP? 23:30:20 ehird: yeah and it'll be finished around the time of dnf or perl6 23:30:28 dnf? 23:30:32 dnf=duke nukem forever 23:30:33 duke nukem forever 23:30:34 ah 23:30:35 right 23:30:57 -!- kar8nga has left (?). 23:31:53 ehird, I hope this isn't production code. 23:32:32 tell him it's for an evil world domination plan, so it's okay 23:33:22 he should be _happy_ it isn't maintainable 23:33:39 -!- oepy has joined. 23:33:43 *epy 2+2 23:33:43 -!- oepy has quit (Remote closed the connection). 23:33:46 lulz 23:34:08 ehird, bug? 23:34:12 ya 23:34:15 -!- oepy has joined. 23:34:16 *epy 2+2 23:34:17 -!- oepy has quit (Remote closed the connection). 23:34:21 :D 23:34:28 still bug 23:34:33 unless you wanted that 23:34:42 you're so observant 23:35:00 Captain Obvious at your service. 23:35:06 -!- oepy has joined. 23:35:08 *epy 2+2 23:35:08 -!- oepy has quit (Remote closed the connection). 23:35:28 -!- oepy has joined. 23:35:31 * ehird considers offering a 'persist' dictionary for *epy that is persistant for a given user 23:35:36 *epy 2+2 23:35:37 4 23:35:42 Oh, shit, 23:35:53 ehird, you didn't want it to work? 23:36:02 It doesn't quite. 23:36:02 *epy 5 + 2 23:36:03 7 23:36:08 seems to be correct? 23:36:21 *epy this is not python 23:36:22 -!- oepy has quit (Remote closed the connection). 23:36:26 seems to work yes 23:36:33 it doesn't work _on my end_ 23:36:41 ehird, how do you mean? 23:36:57 trust me ok :P 23:37:09 -!- puzzlet has quit (Read error: 104 (Connection reset by peer)). 23:37:18 basically 23:37:20 it outputted to my console 23:37:24 because i was using the wrong type of compile 23:38:02 -!- puzzlet has joined. 23:38:03 *epy 7+3 23:38:05 ehird, care to pastebin current code? 23:38:05 oops 23:38:06 -!- oepy has joined. 23:38:09 puzzlet != oepy 23:38:10 hi ehird 23:38:11 *epy 7+3 23:38:11 10 23:38:15 *epy 1/0 23:38:15 -!- oepy has quit (Remote closed the connection). 23:38:17 D: 23:38:24 AnMaster: in a sec 23:38:28 ehird, thanks 23:38:45 Meanwhile, here's a flood of the current epy code: [[ 'epy': (lambda s, *a: 23:38:45 (lambda code: eval( 23:38:46 compile( 23:38:46 'try:\n s(repr(eval(compile(code, "", "eval"), {}, {})))\n' + 23:38:46 'except object, e:\n s(e.__class__.__name__ + ": " + str(e))', 23:38:48 '', 'exec'), 23:38:50 {'s': s, 'code': code}, {}))(' '.join(a).replace('eval', 'no_eval').replace('__import__', 'no_import')) 23:38:53 ),]] 23:39:10 what does compile do? 23:39:16 compiles a string into a python code object 23:39:19 ah 23:39:26 ehird, that works around missing blocks? 23:39:33 ya :-P 23:39:45 ehird, and is cpython specific? 23:39:49 no 23:39:50 :-P 23:40:04 ehird, you said implementation specific before? 23:40:18 no, habnabit did 23:40:21 not sure what he meant 23:40:28 ehird, ask him? 23:40:41 no, i bother him enough daily :-P 23:40:47 i think he might have op access 23:40:50 ehird, with similar bad code? 23:40:56 AnMaster: no, just stupid questions :D 23:40:59 ah 23:41:36 -!- oepy has joined. 23:41:38 *epy 1/0 23:41:39 ZeroDivisionError: integer division or modulo by zero 23:41:44 TOO COOL FOR SCHOOL 23:41:49 B) 23:41:54 *epy i am a green butt 23:41:55 SyntaxError: invalid syntax (, line 1) 23:42:01 *epy print '__import__ lol' 23:42:01 SyntaxError: invalid syntax (, line 1) 23:42:04 oh 23:42:05 right 23:42:08 *epy '__import__ lol' 23:42:09 'no_import lol' 23:42:12 *epy 'eval lol' 23:42:13 'no_eval lol' 23:42:42 *epy eval('__i'+'mport__("sys").stdout.write("MWAHAHA")') 23:42:43 NameError: name 'no_eval' is not defined 23:42:44 ... 23:42:46 hm. 23:42:48 ah. 23:43:15 ok 23:43:21 now i give that persistence 23:43:54 AnMaster: a reasonable interface would be persist('name', 'value') and persisted['user']['name'] 23:43:55 agreed? 23:44:05 ehird, can't really say for python 23:44:16 well, that's a pretty general interface 23:44:35 ehird, if persisted is some hash array I guess so 23:44:41 yes 23:44:45 name would be a variable name? 23:44:47 persisted = {user: {name: value}, ...} 23:44:49 and kinda 23:44:50 you'd just do 23:44:54 -!- oepy has quit (Remote closed the connection). 23:44:57 *epy persist('hello', 2) 23:45:01 then to get it back 23:45:08 *epy persisted['ehird']['hello'] 23:45:16 that means you can share too 23:45:25 *epy persist('my_awesome_func', lambda x: x+2) 23:45:27 then someone could do 23:45:35 * epy persisted['ehird']['my_awesome_func'](3) 23:45:48 ah hm 23:45:56 itd be nice to omit the user, but then anyone could mess up others' stuff 23:45:58 hm 23:46:02 perhaps i'll add a shortcut 23:46:09 my('foo') -> persisted[your_name]['foo'] 23:46:11 so 23:46:17 *epy persist('hello', 2) 23:46:18 ehird, will you import some system libraries? 23:46:21 or whatever 23:46:23 *epy my('hello')*2 23:46:27 I don't know what is needed for math stuff 23:46:28 AnMaster: Unlikely, too many holes. 23:46:30 Ah. 23:46:30 like sqrt 23:46:31 and such 23:46:33 I could import math, yes. 23:47:02 ehird, maybe something like perl's sandbox stuff, forgot the name of it 23:47:13 or doesn't python have that? 23:47:21 Python doesn't have sandboxing features, no. 23:47:24 Thus my hack. 23:47:26 ah 23:48:01 well I guess some math stuff would be nice. And possibly some other stuff, but I don't know enough python to say what 23:48:12 for erlang for example I would allow lists module 23:48:23 since that have stuff like map() and foldl() and such 23:48:37 but that is hardly same paradigm 23:48:53 and as I said I don't know python enough to know what would be nice to have, yet secure 23:49:25 ehird, I'm sure you can figure out what could be needed/useful 23:49:41 Well, single-expression python is an esolang. 23:49:45 I don't think it needs much :-P 23:50:33 ehird, sqrt/sin/cos/tan/asin/acos/atan/pow and similar 23:50:51 yes 23:50:54 ehird, possibly some way to map stuff on arrays? 23:50:56 the math module has all of those 23:50:58 or whatever python use 23:50:59 map is a builtin 23:51:02 ah 23:51:08 ehird, foldl? 23:51:13 foldr too 23:51:14 yes 23:51:16 well 23:51:16 no 23:51:19 just foldr, i think 23:51:20 called reduce 23:52:05 ehird, zip? 23:52:09 yes 23:52:10 a builtin 23:52:23 mapfoldl? 23:52:42 " mapfold combines the operations of map/2 and foldl/3 into one pass. An example, summing the elements in a list and double them at the same time:" 23:52:45 *epy reduce((lambda x, y : x-y), [1,2,3]) 23:52:55 ah 23:52:57 oerjan: oepy is being upgraded 23:53:52 ehird, well? 23:53:59 AnMaster: It's unneeded. 23:54:02 Just use map and reduce. 23:54:02 :-P 23:54:07 ehird, mapreduce too? :) 23:54:12 Shut up it's an esolang. 23:54:15 which is arguably different 23:54:22 than python's map and reduce 23:55:03 ehird, filter on list? 23:55:14 SHUTUPITSANESOLANG :| 23:55:17 And it's called "filter". 23:55:21 ehird, right 23:55:36 -!- oepy has joined. 23:55:38 *epy set('a', 1) 23:55:38 a function that returns either true or false to map 23:55:38 AttributeError: 'dict' object has no attribute 'a' 23:55:42 -!- oepy has quit (Remote closed the connection). 23:55:47 *epy reduce((lambda x, y : x-y), [1,2,3]) 23:55:50 argh 23:55:53 oerjan, it isn't connected 23:55:53 lulz. 23:55:59 -!- oepy has joined. 23:56:00 *epy set('a', 1) 23:56:01 None 23:56:02 argh 23:56:03 *epy reduce((lambda x, y : x-y), [1,2,3]) 23:56:04 -4 23:56:06 *epy get('a') 23:56:07 1 23:56:12 ah it's foldl 23:56:13 *epy look('ehird') 23:56:18 ... 23:56:18 *epy look('ehird') 23:56:19 {'a': 1} 23:56:23 oerjan, oh? 23:56:25 *epy look('AnMaster') 23:56:26 {} 23:56:35 *epy look('ehird').__setitem__('a', 2) 23:56:36 (1-2)-3, not 1-(2-3) 23:56:36 AttributeError: '' object has no attribute '__setitem__' 23:56:39 good 23:56:47 peah 23:56:52 yeah* 23:57:06 AnMaster: can you *epy get('a', user='ehird') please 23:57:15 *epy get('a', user='ehird') 23:57:16 1 23:57:20 *epy get('a') 23:57:21 KeyError: 'a' 23:57:33 * ehird improves a bit 23:57:34 -!- oepy has quit (Remote closed the connection). 23:57:37 ehird, does this allow storing functions as well as values? 23:57:39 or? 23:57:41 yes 23:57:42 hmm 23:57:45 * ehird makes nice syntactic sugar: 23:57:48 set(a=1) 23:57:49 ehird, so python have first class functions? 23:57:53 AnMaster: yah 23:57:57 nice 23:58:02 of course it does 23:58:03 look at my paste 23:58:04 just a shame with the indention 23:58:05 :P 23:58:11 i couldn't have done that without first class functions up the wazoo 23:58:19 ehird, you didn't paste the last code 23:58:21 still waiting for that 23:58:22 yah 23:58:26 but even just the old one 23:58:38 hmm