00:12:19 <lament> what's with the retarded comments?
00:13:36 <calamari> that's how they are in the original game
00:13:52 <lament> i remember playing a clone of the original
00:13:54 <calamari> although I cahnged some to lowercase letters
00:14:30 <calamari> I ported the original source code to Linguine
00:14:45 <calamari> I did change a couple thigs.. like "No." to "Number"
00:15:06 <calamari> and added a few periods because I needed to print everything on one line
00:15:52 <calamari> and added an arrow bug, somewhere :)
00:18:40 <calamari> lament: http://www.atariarchives.org/bcc1/showpage.php?page=247
00:20:51 <calamari> and http://www.atariarchives.org/morebasicgames/showpage.php?page=178
00:23:21 <calamari> hmm, they are slightly different
00:23:37 <calamari> (although the phrases are the same :)
00:33:43 -!- Keymaker has left (?).
01:50:48 <calamari> !daemon wumpus linguine http://lilly.csoft.net/~jeffryj/compilers/linguine/wumpus.lng
01:51:01 <EgoBot> Bats nearby! You are in room 2. Tunnels lead to 1, 3, 10. (S)hoot, (M)ove, or (Q)uit?
01:52:37 <EgoBot> ZAP--Super Bat snatch! Elsewhereville for you! You are in room 20. Tunnels lead to 13, 16, 19. (S)hoot, (M)ove, or (Q)uit?
01:53:39 <EgoBot> I smell a wumpus! You are in room 13. Tunnels lead to 12, 14, 20. (S)hoot, (M)ove, or (Q)uit?
01:54:41 <EgoBot> Number of rooms (1-5)?
01:55:01 <EgoBot> AHA! You got the Wumpus! HEE HEE HEE - The Wumpus'll getcha next time!!
01:55:23 <EgoBot> I feel a draft. Bats nearby! You are in room 18. Tunnels lead to 9, 17, 19. (S)hoot, (M)ove, or (Q)uit?
01:55:51 <EgoBot> You are in room 15. Tunnels lead to 6, 14, 16. (S)hoot, (M)ove, or (Q)uit?
01:56:31 <EgoBot> Number of rooms (1-5)?
01:56:35 <EgoBot> Number of rooms (1-5)?
01:56:43 <EgoBot> Missed. I smell a wumpus! You are in room 15. Tunnels lead to 6, 14, 16. (S)hoot, (M)ove, or (Q)uit?
01:57:29 <EgoBot> I feel a draft. You are in room 6. Tunnels lead to 5, 7, 15. (S)hoot, (M)ove, or (Q)uit?
01:57:39 <EgoBot> YYYIIIIEEEE . . . fell in pit. HA HA HA - You lose!
02:02:08 <GregorR> Not you falling in a pit ;)
02:03:51 <calamari> hehe yeah, was really killing the conversation ;)
02:05:55 -!- Sgeo has quit.
02:17:02 <calamari> !daemon wumpus linguine http://lilly.csoft.net/~jeffryj/compilers/linguine/wumpus.lng
02:17:21 <EgoBot> [W:3 P:18 P:14 B:12 B:4] I feel a draft. You are in room 17. Tunnels lead to 7, 16, 18. (S)hoot, (M)ove, or (Q)uit?
02:18:03 <EgoBot> [W:3 P:18 P:14 B:12 B:4] You are in room 7. Tunnels lead to 6, 8, 17. (S)hoot, (M)ove, or (Q)uit?
02:18:35 <EgoBot> Number of rooms (1-5)?
02:18:59 <EgoBot> Missed. [W:2 P:18 P:14 B:12 B:4] You are in room 7. Tunnels lead to 6, 8, 17. (S)hoot, (M)ove, or (Q)uit?
02:19:13 <EgoBot> Number of rooms (1-5)?
02:19:45 <EgoBot> AHA! You got the Wumpus! HEE HEE HEE - The Wumpus'll getcha next time!!
02:19:53 <EgoBot> [W:9 P:19 P:3 B:11 B:8] I feel a draft. You are in room 2. Tunnels lead to 1, 3, 10. (S)hoot, (M)ove, or (Q)uit?
02:20:17 <EgoBot> [W:9 P:19 P:3 B:11 B:8] I smell a wumpus! Bats nearby! You are in room 10. Tunnels lead to 2, 9, 11. (S)hoot, (M)ove, or (Q)uit?
02:20:45 <EgoBot> Number of rooms (1-5)?
02:21:43 <EgoBot> Arrows aren't that crooked - try another room. Room #?
02:22:17 <EgoBot> Ouch! Arrow got you! HA HA HA - You lose!
02:23:50 <calamari> !daemon wumpus linguine http://lilly.csoft.net/~jeffryj/compilers/linguine/wumpus.lng
02:24:14 <calamari> !daemon hangman glass file://glass/hangman.glass
02:24:17 <EgoBot> Hangman started! Type /msg EgoBot '!hangman <lcase-word>' to start a game!
02:32:08 <calamari> !daemon wumpus linguine http://lilly.csoft.net/~jeffryj/compilers/linguine/wumpus.lng
02:32:17 <EgoBot> ** Hunt the Wumpus ** Type `!wumpus' to start a game!
02:38:09 <EgoBot> ________ | '!hangman <lcase-guess>' to guess a letter!
02:42:55 -!- lirthy has quit ("you should feel more feel you should take more take").
02:43:15 -!- lirthy has joined.
02:43:34 <calamari> GregorR: is it possible for a daemon program to send a private message?
02:50:33 <EgoBot> help ps kill i eof flush show ls bf_txtgen usertrig daemon undaemon
02:50:35 <EgoBot> 1l 2l adjust axo befunge bch bf{8,[16],32,64} glass glypho kipple lambda lazyk linguine malbolge pbrain rail sadol sceql trigger udage01 unlambda
02:50:52 <calamari> each player could send a password, then the cards dealt could be encrypted and sent back.. then each player would run a usertrig that decodes
02:56:58 <GregorR> That would be far more fitting of #esoteric.
03:59:25 -!- lirthy has quit ("you should feel more feel you should take more take").
05:16:37 <calamari> !usertrig encode linguine http://lilly.csoft.net/~jeffryj/compilers/linguine/encode.lng
05:16:51 <EgoBot> Use: usertrig <command> <trig-command> Function: manage user triggers. <command> may be add, del, list or show.
05:17:09 <calamari> !usertrig encode !linguine http://lilly.csoft.net/~jeffryj/compilers/linguine/encode.lng
05:17:33 <calamari> !usertrig add encode linguine http://lilly.csoft.net/~jeffryj/compilers/linguine/encode.lng
05:17:35 <EgoBot> Trigger added (encode)!
05:17:45 <calamari> !usertrig add decode linguine http://lilly.csoft.net/~jeffryj/compilers/linguine/decode.lng
05:17:47 <EgoBot> Trigger added (decode)!
05:19:49 <calamari> of course the decoding should be done via private message :)
05:21:45 <GregorR> And the whole thing should be written in Glass ^_^
05:25:18 <calamari> this is why never to write your own encryption routines :)
05:42:18 <calamari> !decode calamari 1137994865 jhjcphehgj
05:43:33 <EgoBot> /bin/ls: ./files/linguine/*code*: No such file or directory
05:43:42 <GregorR> Pfft, apparently it doesn't work that way :)
05:43:48 <GregorR> Anyway, they're there now ;)
05:43:53 <calamari> one min.. I think I'd like to change the space to a dash
05:44:09 <calamari> so it'd be 1137994921-ibpmpmipnp
05:46:37 <calamari> !decode calamari 1137995146-caiboanobd
05:47:54 * calamari would like to note that if you use this thing for anything serious, you're crazy :)
05:49:13 <EgoBot> Trigger removed (encode)!
05:49:27 <calamari> !usertrig add encode linguine file://linguine/encode.lng
05:49:31 <EgoBot> Trigger added (encode)!
05:50:09 <calamari> GregorR: can you please copy em again? thanks
05:50:47 <EgoBot> Trigger removed (decode)!
05:50:51 <calamari> !usertrig add decode linguine file://linguine/decode.lng
05:50:53 <EgoBot> Trigger added (decode)!
05:52:04 <calamari> will you also please add http://lilly.csoft.net/~jeffryj/compilers/linguine/wumpus.lng ?
05:55:35 <calamari> okay, now to choose a card game.. hehe
05:57:07 <GregorR> http://www.codu.org/crackpipe/
05:57:19 <EgoBot> /bin/ls: ./files/linguine/wumpus: No such file or directory
05:57:38 <GregorR> I'm terrible at trying to show that the file is there.
05:58:25 <calamari> !daemon wumpus linguine file://linguine/wumpus.lng
05:58:27 <EgoBot> ** Hunt the Wumpus ** Type `!wumpus' to start a game!
05:59:03 <EgoBot> 1 calamari: daemon wumpus linguine
05:59:05 <EgoBot> 2 calamari: daemon hangman glass
05:59:27 <GregorR> You wouldn't happen to have a pseudocode on that encryption algo? :)
06:01:04 <calamari> you're skill going to need to decode the random number generator
06:02:12 <GregorR> !glass {M[m(_d)(Debug)!"Rand""rand"(_d)(fc).?]}
06:02:12 <calamari> the password is turned into a seed by multiplying each ascii char by 53 and adding it
06:02:15 <EgoBot> (_a)A!ss*<1103515245>(_a)m.?<4294967295>(_a)(mod).?<12345>(_a)a.?=s*<65535>(_a)d.?<32768>(_a)(mod).?
06:02:25 <calamari> right, but you need this particular rng
06:02:47 <calamari> then the timestamp is added (the numbers)
06:04:27 <calamari> each 2 chars of the message are converted into one byte, by subtracting 97 , then multiplying the first by 16 and adding the second
06:05:05 <calamari> each char of the message is xor'd with 8 bits from the rng
06:05:13 <calamari> then split into 2 in the reverse of the above :)
06:05:43 <GregorR> It occurs to me that my apathy is greater than my desire to show off Glass' prowess.
06:07:05 <calamari> is that another way of saying you can't decode the linguine code?
06:08:25 <calamari> it's probably not too complicated, since it's mostly nands
06:09:19 <GregorR> Ahhh, apathy. I don't care enough to excercise, but I don't care enough to care about being out of shape :P
06:10:39 <calamari> although I do get a bit when I park off campus and ride my bike in (since I don't feel like paying over $300 per semester to NOT be guaranteed a spot in the parking garages)
06:11:13 <GregorR> Same reason my apt complex is a 15 min walk from school :P
06:13:43 <calamari> btw which university are you attending
06:17:07 <GregorR> Oh yeah, well we host freedesktop.org >_>
06:17:35 <calamari> hehe .. well UofA generally sux. but whatever
06:18:17 <calamari> UofA does a lot of astronom stuff tho
06:18:22 <GregorR> PSU is actually a pretty good school for a Free Software hacker *shrugs*
06:18:39 <calamari> then M$ can recruit you to redmond
06:19:31 <calamari> I already sold out to M$ once.. worked Windows tech support
06:19:48 <GregorR> Worst I've done is Intel :P
06:19:57 <GregorR> And I was working exclusively on UNIX and GNU/Linux there.
06:20:49 <calamari> my first job was in high school writing assembly language code for $4.14 an hour.. <--- id10t
06:21:49 <GregorR> Hmm, if I cross-reference that by the minimum wage in Arizona, I can guess your age.
06:21:58 <calamari> but m$ wasn't too bad.. paid the bills, and I could secretly hate them on the side
06:22:35 <GregorR> That took all the fun out of that.
06:22:44 <calamari> I'm not sure if Arizona has a minimum wage tho.. I think we just follow the federal
06:23:02 <GregorR> Oregon has a minimum wage structure set up that follows inflation every year.
06:23:11 <calamari> and I think I might have been a bit above
06:23:42 <calamari> new jersey was that way (with the gas)
06:23:52 <GregorR> Didn't that go south recently?
06:23:56 <GregorR> IIRC, Oregon is all that's left now.
06:24:44 * GregorR tries to figure out what to look for on Wikipedia to find out >_>
06:24:45 <calamari> one thing I did notice was that the gas was more expensive in philly, and you had to pump it yourself
06:25:55 <GregorR> All stations in New Jersey and Oregon, however, are mini-service; attendants are required to pump gas because customers are explicitly barred by statutes in both states from pumping their own gas. Both states prohibited self service back in the 1940s due to fears that foolish customers would handle gasoline improperly. Oregon's Department of Environmental Quality has also ordered a ban on self service gasoline due to inexperienced pumpers being a signifi
06:26:04 <GregorR> So we have about three bans on self-service gas :P
06:46:14 -!- CXI has quit (Read error: 110 (Connection timed out)).
07:19:55 <calamari> I started reading wikipedia and forgot about decoding the program.. ahh well
07:20:05 -!- calamari has quit ("Leaving").
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
11:43:00 -!- CXI has joined.
11:55:49 -!- Sgeo has joined.
12:12:50 -!- lirtzy has joined.
14:43:06 -!- jix has joined.
16:12:04 -!- helios24 has joined.
16:12:09 -!- helios24 has left (?).
16:25:36 -!- Keymaker has joined.
16:33:47 <EgoBot> I feel a draft. You are in room 17. Tunnels lead to 7, 16, 18. (S)hoot, (M)ove, or (Q)uit?
16:34:15 <EgoBot> You are in room 16. Tunnels lead to 15, 17, 20. (S)hoot, (M)ove, or (Q)uit?
16:34:43 <EgoBot> You are in room 15. Tunnels lead to 6, 14, 16. (S)hoot, (M)ove, or (Q)uit?
16:35:13 <EgoBot> You are in room 6. Tunnels lead to 5, 7, 15. (S)hoot, (M)ove, or (Q)uit?
16:35:35 <EgoBot> Bats nearby! Bats nearby! You are in room 5. Tunnels lead to 1, 4, 6. (S)hoot, (M)ove, or (Q)uit?
16:35:57 <EgoBot> ZAP--Super Bat snatch! Elsewhereville for you! You are in room 12. Tunnels lead to 3, 11, 13. (S)hoot, (M)ove, or (Q)uit?
16:36:11 <EgoBot> I feel a draft. You are in room 11. Tunnels lead to 10, 12, 19. (S)hoot, (M)ove, or (Q)uit?
16:36:31 <EgoBot> I smell a wumpus! You are in room 10. Tunnels lead to 2, 9, 11. (S)hoot, (M)ove, or (Q)uit?
16:36:36 <SimonRC> Keymaker: check out the brush on slashdot.com ! That is *sooo* cool.
16:37:07 <SimonRC> http://compsoc.dur.ac.uk/~sc/iobrush_mpeg_medium.mpg
16:37:26 <SimonRC> http://it.slashdot.org/it/06/01/23/1519207.shtml
16:38:03 <Keymaker> i'm slowly trying to go there.. connection slow..
16:41:41 <EgoBot> Number of rooms (1-5)?
16:41:57 <SimonRC> Maybe my mirror *would* be easier.
16:42:41 <Keymaker> hmm, i don't know how this works..
16:42:55 <EgoBot> AHA! You got the Wumpus! HEE HEE HEE - The Wumpus'll getcha next time!!
16:43:35 <Keymaker> simonrc: i haven't seen the video yet (still downloading), but i heard about this thing from a science magazine
16:48:41 <Keymaker> every kid will want one of those :)
17:20:59 -!- CXI has quit (Read error: 104 (Connection reset by peer)).
17:21:38 -!- CXI has joined.
17:28:09 -!- calamari has joined.
17:40:33 <calamari> 1138037999-lgnlmhecnmcfhenphefbjgiofjeajp
17:41:37 <calamari> !decode test 1138037999-lgnlmhecnmcfhenphefbjgiofjeajp
17:42:18 <calamari> wow, that just needs to be rewritten :)
17:44:26 <calamari> if I use 0-9 A-Z a-z . - I get 64 chars, so 6 bits of information
17:45:40 <calamari> for the message 15 chars in = 15 * 8 = 120 bits / 6 = 20 chars out.. vs 30
17:46:04 <SimonRC> why not usea a standard base-64 encoding?
17:46:07 <calamari> for the numbers, I can convert base 10 to base 64
17:46:46 <calamari> if there are many, it's not a standard :)
17:47:56 <calamari> I thought it only used uppercase letters
17:48:48 -!- Keymaker has left (?).
17:50:48 <calamari> ahh, base64 seems very similar.. it just uses + and /
17:50:51 <SimonRC> calamari: it uses *lots* of punctuation
17:52:22 <calamari> that seems appropriate, I'll go with that
17:52:57 <calamari> but I'll still do a base conversion for the number 10 -> 64
17:55:48 <calamari> cool, that'll chop the number nearly in half so hopefully
17:56:13 <calamari> 1138037999-lgnlmhecnmcfhenphefbjgiofjeajp
17:57:02 <calamari> still not wonderful, but a little better anyways
17:59:04 <calamari> I think this will only be useable on games where the secret information doesn't need to change constantly. Last night I mentioned Uno, but that's a bad game for this because cards are being changed all the time.. something like 5 card draw poker is better (although that game bores me) because there is less card changing
18:03:20 <GregorR> Hmm, I'll exchange all of my cards.
18:06:19 <GregorR> Even if it hands me a royal straight flush.
18:16:50 <calamari> of course, getting rid of the seed offset thing saves 6 chars right there
18:29:09 <calamari> hmm.. some of that is wasted tho, as we'll only need to encode ascii 32-126
18:30:52 <EgoBot> 1138041025-emckfgomhjofhfpeghjf
18:31:00 <calamari> !decode test 1138041025-emckfgomhjofhfpeghjf
18:33:18 <EgoBot> 1138041172-lkmckecklkdghbdnfodkbgjk
18:33:29 <calamari> !decode test 1138041172-lkmckecklkdghbdnfodkbgjk
18:34:08 <calamari> does the heart look different to anyone else?
18:34:41 <fizzie> They look exactly identical here.
18:35:08 <calamari> cool.. so I'll need to keep 0-255 then :)
18:35:57 <calamari> does mIRC color still work? been ages since I've messed with that
18:36:22 <fizzie> If you're encoding UTF-8, you don't really need 254 and 255.
18:37:02 <fizzie> If you don't care about the characters, then no.
18:38:39 <calamari> well, I mean will they be used in UTF-8 characters?
18:38:53 <fizzie> Only to encode the corresponding ASCII characters.
18:39:19 <fizzie> All multibyte utf-8 characters have the highest bit set to 1 in each byte.
18:39:47 <calamari> might be able to work with that then
18:40:22 <calamari> not even sure what of 0-31 can be sent over irc anyhow
18:41:08 <fizzie> My guess is all of them, except CR, LF and possibly NUL. But it's been a while since I last read the RFC.
18:41:34 <fizzie> <trailing> ::= <Any, possibly *empty*, sequence of octets not including NUL or CR or LF>
18:42:38 -!- nooga has joined.
18:45:09 <calamari> hmm.. colors don't seem to survive the encoding/decoding process
18:45:28 <nooga> what are you doing?
18:45:40 <nooga> implementing that thingy with color delta?
18:46:19 <calamari> for a card game, or other games, implemented in tan esolang and run on the EgoBot
18:47:08 <calamari> egobot doesn't send private messages, so secret info would need to be encoded and sent to the channel, then decoded privately
18:49:42 <calamari> !decode a 1138042137-cmkphlggadlakj
18:50:02 <calamari> it was my fault.. was interpreting the 8 as a color command
18:50:12 <nooga> shouldn't it be easier to enable privs in egobot?
18:50:17 <calamari> adding the space seems to help
18:50:31 <calamari> nooga: that would open up egobot to irc spamming
18:51:31 <calamari> some kind of registration system could be added.. but that's a lot of work
18:52:00 <calamari> besides, it's fun devising ways to work around the restriction
18:52:43 <nooga> or code it in ruby
18:53:06 <EgoBot> help ps kill i eof flush show ls bf_txtgen usertrig daemon undaemon
18:53:08 <EgoBot> 1l 2l adjust axo befunge bch bf{8,[16],32,64} glass glypho kipple lambda lazyk linguine malbolge pbrain rail sadol sceql trigger udage01 unlambda
18:53:53 <nooga> ruby is not eso lool
18:56:01 <calamari> privmsg does have a lot of advantages tho.. because multiline games would be possible, and more secret data could be shared without the decoding
18:56:49 <calamari> and it wouldn't have to spam the channel at all once the game begins
18:57:23 <calamari> anyhow, afk to go eat something
19:01:24 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht").
19:16:52 -!- calamari has quit ("Leaving").
19:28:39 <EgoBot> (Kipple note) Since kipple buffers input, you will have to send all of the input and then an EOF command. See !help eof
19:31:05 <EgoBot> (Kipple note) Since kipple buffers input, you will have to send all of the input and then an EOF command. See !help eof
19:31:11 <EgoBot> (Kipple note) Since kipple buffers input, you will have to send all of the input and then an EOF command. See !help eof
19:58:13 -!- calamari has joined.
20:02:49 -!- nooga has quit.
20:37:58 <calamari> http://en.wikipedia.org/wiki/XTEA
20:38:54 <calamari> I think I'll use that for the new encoder
20:39:26 <calamari> so I won't be using a random number generator
20:45:45 <calamari> and the URL (*-) variation of base64 http://en.wikipedia.org/wiki/Base64#URL_Applications
20:46:32 <calamari> haven't found an established way to construct a key from the password yet
21:00:36 -!- calamari has quit ("Leaving").
21:05:32 -!- lindi- has joined.
22:13:18 -!- calamari has joined.
23:06:13 <GregorR> Man, I knew I was out of shape.
23:06:54 <GregorR> Six laps and I'm down for the count.
23:08:15 <calamari> btw gregor.. does glass give you some kind of timer facility?
23:08:55 <GregorR> An internal class could probably be added *shrugs*
23:09:07 <GregorR> But right now I'm in no mood to write one :P
23:09:54 <calamari> just thought I'd mention that, since you'd need it for a RNG
23:10:20 <GregorR> If you're talking about a REAL RNG, you'd need much more than a timer *heheh*
23:10:33 <GregorR> If you're talking about a PRNG, then yes, getting the clock time sure helps.
23:15:02 <calamari> did you see my notes? XTEA looks good
23:15:34 <calamari> so we could implement that for the crypto