00:02:22 hm and both are unique representations? 00:03:28 Every representation has exactly one corresponding number. Every number has exactly one corresponding canonical representation. 00:03:39 ic 00:03:56 Where "canonical representation" is a representation in which 0, 1 and 2 are represented as themselves, and "number" means "non-negative integer". 00:04:26 i am sort of guessing that the nested lists are just representations of numbers other than 0,1,2 00:04:31 Anyway, 1,000,002 is [0,0,2,[1,0],[1,0],[1,0],[1,2,1],[1,1,[1,0]]]. 00:05:22 they don't seem to have much in common... let me try a bit 00:05:34 Given this, you should be able to figure out how the representation works. 00:07:05 -!- MizardX has quit (Read error: 104 (Connection reset by peer)). 00:07:08 -!- MizardX has joined. 00:07:42 For some values of "should". 00:14:51 * oerjan gets an idea 00:21:39 -!- Gracenotes has joined. 00:25:35 Main> Repr 1000002 00:25:35 [0,0,2,[1,0],[1,0],[1,0],[1,2,1],[1,1,[1,0]]] :: Repr 00:26:29 Main> Repr 123456789 00:26:29 [1,0,[0,1],1,[1,2],1,1,[0,2,[0,1]],[1,2,1]] :: Repr 00:41:38 So, what's your idea? 00:42:10 I'm doing all these by hand, and I'd rather check your idea than your representation. :-P 00:42:34 I guess i've left out part of the "canonical representation" thing. The other part is that all lists be as short as possible. 00:45:00 yeah i figured 00:45:28 anyway, modulus with the list of primes, take until no smaller number gives the same list 00:46:30 equivalently, until the product of the primes so far > the number 00:47:34 * oerjan handily already has primes = ... in his haskell scratch file 00:51:08 * kerlo nods 01:11:27 -!- olsner has quit ("Leaving"). 01:16:10 -!- Taejo has quit ("Leaving"). 01:45:01 -!- psygnisfive has joined. 01:55:53 Main> toInteger [0,0,2,[1,0],[1,0],[1,0],[1,2,1],[1,1,[1,0]]] 01:55:53 1000002 :: Integer 01:55:58 * oerjan cackles evilly 01:56:14 kerlo: ^ 01:57:38 i don't get it 01:57:52 hideous type class abuse 01:58:00 That does sound hideous. 01:58:13 Is toInteger entirely of your own invention, not a class function? 01:58:15 to make numerals give lists 01:58:24 no, toInteger is a class function 01:58:36 Of Integral? 01:58:38 yes 01:59:16 So [something] is an instance of Num... 01:59:30 and Real, Enum, and Integral 01:59:32 And it looks like something = [something]. 01:59:44 yeah 01:59:54 That's possible? type Something = [Something]? 01:59:58 no 02:00:13 it's just the typed representation that is equal 02:00:16 You can't even use synonyms in instance declarations, can you. 02:00:27 So what is something, here? 02:00:30 not in pure Haskell 98 anyway 02:01:03 kerlo: because i only use standard typeclasses, defaulting makes sure that the bottom level becomes Integer automatically 02:01:20 so that is [[[Integer]]] up there 02:01:24 Cruel. 02:01:44 So you must have something like instance Num a => Num [a]. 02:02:02 and also Real, Enum, and Integral 02:02:12 only fromInteger and toInteger are actually defined 02:03:51 fromInteger n = [n',n'] where n' = fromInteger n, so it doesn't really work beyond 5 i think 02:04:47 i could "fix" that easily though 02:05:06 and toInteger = unrepr . map toInteger 02:05:17 where unrepr is the function doing the actual work 02:22:37 -!- Corun_ has changed nick to Corun. 02:26:28 Why can't you use whatever you used in Show Repr for fromInteger? 02:27:22 because that recursed on the parts, but i could extract the relevant bit 02:32:45 now it works 02:36:48 -!- Corun has quit ("Leaving..."). 03:14:18 -!- psygnisfive has quit (Read error: 113 (No route to host)). 03:16:58 -!- psygnisfive has joined. 03:32:39 -!- sebbu has joined. 03:47:16 -!- sebbu2 has quit (Read error: 110 (Connection timed out)). 04:07:15 -!- oerjan has quit ("leaving"). 04:58:45 -!- Patashu has joined. 05:38:27 -!- bsmntbombdood has quit (Read error: 113 (No route to host)). 05:42:32 -!- bsmntbombdood has joined. 06:22:00 Do you know where your towel is? 06:22:26 it's in my bathroom 06:25:37 Patashu: Wrong answer. 06:25:49 Be a hoopy frood. 06:58:34 i have a towel 07:00:36 NO EXCEPTIONS! 07:04:41 -!- psygnisfive has quit ("Leaving..."). 07:48:36 -!- coppro has quit (Read error: 110 (Connection timed out)). 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:28:46 -!- asiekierka has joined. 08:28:48 hi 08:28:58 what's red...dit? 08:29:20 ^style 08:29:20 Available: agora alice c64 darwin discworld europarl ff7 fisher ic irc* jargon lovecraft nethack pa speeches ss wp youtube 08:29:25 ^style youtube 08:29:25 Selected style: youtube (Some YouTube comments) 08:29:28 fungot: Are you a jerk? 08:29:29 asiekierka: i think the lizzard one was on thr rright approach to land...someone decided to roll up all my pennies tonight because as everyone seems to be the right ball park however, this was at and all. 08:29:44 fungot: What pennies? 08:29:44 asiekierka: the poor people....did any1 survive? 08:29:52 fungot: Yeah, but that's not the point. 08:29:53 asiekierka: omg! he sounds like woman xd and ew to the ground.he lost site of the air bus... spicy!! wtf? 08:30:04 fungot: What? Women? 08:30:05 asiekierka: i believe they disrespected bob dylan and a longer runway. i'd like to hear him sing something rock-ish but i loved max payne 3 ( true that jaybedwetter, smoznijism and lamewaring are still down) the whole incident by removing the flight the autopilot master control would probably grow ten fold. 08:30:11 fungot: *sigh* 08:31:04 fungot sounds like it should be the name of an esolang 08:31:04 bsmntbombdood: krazybrit- liscenced? most pilots learn to spell and that was sikk crash, fucking please! 08:31:21 that was far too fast to be typed 08:36:45 -!- lereah_ has joined. 08:40:24 fizzie: 08:40:28 fungot: 08:40:28 bsmntbombdood: check out the notes bang on, let alone stomp anything. 08:40:32 ... 08:52:43 I made the youtube style 08:52:50 by pasting a LOT of YouTube comments 08:52:51 :) 08:52:53 ^style 08:52:53 Available: agora alice c64 darwin discworld europarl ff7 fisher ic irc jargon lovecraft nethack pa speeches ss wp youtube* 08:52:57 Select your own :) 08:53:04 in which you want to chat 09:29:56 I plan to make a few mods to my C64 09:30:41 Mod 1: S-Video/Audio outs (2 cables) 09:40:30 and probably that's all 09:40:32 so not a few mods 09:40:34 but a single mod 09:40:41 to GREATLY improve the quality of the video 09:40:59 (Comparing RF to S-Video is like comparing Composite to HDMI. They can't be compared.) 10:28:07 -!- tombom has joined. 11:26:48 augh, no, i can't 11:32:43 -!- Slereah has quit (Read error: 60 (Operation timed out)). 11:36:03 -!- Slereah has joined. 11:54:17 LOL 11:54:27 I asked WolframAlpha: say "Hello!" 11:54:36 and it replied: Computation timed out. 11:55:37 enter any computer architecture: the same 11:56:24 I at least hope "enter any integer" works... no it does NOT! 11:56:48 oh 11:56:56 i see 12:03:32 -!- jix has joined. 13:27:10 CrazyTalk+Clay=WIN 13:43:32 -!- MizardX has quit ("Proclamation of invalidity!"). 13:46:40 -!- asiekierka has quit. 14:00:21 -!- impomatic has joined. 14:02:38 -!- MizardX has joined. 14:17:31 -!- Gracenotes has quit (Connection timed out). 14:29:43 -!- Corun has joined. 14:35:41 -!- BeholdMyGlory has joined. 15:12:00 -!- lereah_ has quit ("Leaving"). 15:24:02 -!- FireFly has joined. 15:26:44 -!- Patashu has quit ("Patashu/SteampunkX - MSN = Patashu@hotmail.com , AIM = Patashu0 , YIM = Patashu2 , Googletalk = Patashu0@gmail.com ."). 15:33:24 -!- Slereah_ has joined. 15:43:56 -!- Slereah has quit (Read error: 110 (Connection timed out)). 15:46:44 -!- MizardX has quit (Read error: 60 (Operation timed out)). 15:57:09 -!- pikhq has quit (Read error: 104 (Connection reset by peer)). 16:13:13 -!- Corun has changed nick to Corun|away. 16:26:59 -!- Corun|away has changed nick to Corun. 16:27:54 -!- pikhq has joined. 16:33:33 http://www.underfoule.net/lhc/res/54.html 16:33:33 :3 16:44:50 -!- tombom_ has joined. 16:57:29 -!- asiekierka has joined. 16:58:36 Hi 16:58:48 Someone emulated a Commodore 65 on a Commodore 64 17:01:47 -!- tombom has quit (Read error: 110 (Connection timed out)). 17:05:52 -!- tombom_ has quit (Read error: 110 (Connection timed out)). 17:08:36 -!- oerjan has joined. 17:22:43 -!- ais523 has joined. 17:24:18 hi ais523! 17:24:25 hi 17:28:37 Is there any microcomputer architecture to emulate on the C64? 17:28:46 I wonder if an old Atari would be fun to do... 17:28:54 ...because in Poland C64s and Ataris were competing 17:29:08 -!- pikhq has quit (Read error: 104 (Connection reset by peer)). 17:41:05 -!- oerjan has quit ("leaving"). 17:52:29 -!- Corun has changed nick to Corun|away. 17:57:20 -!- zzo38 has joined. 17:57:39 My Cygwin doesn't have gcc do you know why? 17:58:35 -!- zzo38 has left (?). 18:10:44 -!- Corun|away has changed nick to Corun. 18:20:00 -!- Taejo has joined. 18:20:58 !bfjoust taejo_simplexity (>->+)*5[[-]>-] 18:21:00 Score for taejo_simplexity: -3 (maximum 11) 18:22:21 hmm... has the hill been fixed yet/ 18:22:25 or is it still upside-down? 18:23:00 dunno 18:23:14 submit something and we'll see who gets knocked out 18:23:36 !bfjoust ais523_attack1 [>[-]+] 18:23:38 Score for ais523_attack1: -4 (maximum 11) 18:24:07 ais523: still upside down 18:24:08 still upside-down 18:24:15 your good program has been pushed off the top 18:24:17 and suicide's still there 18:24:31 who runs the hill? 18:24:36 GregorR does 18:24:51 I wrote the interpreter, the rest of the code was a copy of his 18:24:55 and he's modified it a bit since 18:25:03 I want to write my own, but it's exam time 18:25:08 but he accidentally got the hill the wrong way up 18:25:15 and I have a BF Joust interp that you can base the hill on 18:25:43 I wouldn't mind writing my own 18:27:01 I GOT !@#$% RICKROLLED 18:27:04 ON A !@#$% C64 18:27:09 heh 18:27:23 at least the cover is nice 18:27:24 :) 18:27:26 SID rox! 18:27:38 He didn't even change it after April Fools! 18:29:26 !bfjoust taejo_simplexity_2 (>-->++)*5[[-]>-] 18:29:28 Score for taejo_simplexity_2: -3 (maximum 11) 18:29:30 :( 18:29:56 asiekierka: hill is upside down 18:32:09 I plan to add 2 mods to my C64 tomorrow: S-Video and noise reduction 18:32:20 um, nah 18:32:23 no noise reduction 18:33:44 watching "I Love Ascii 6" (the C64 demo) 18:34:05 it did (accidentally?) show the polish flag for a while 18:34:16 but the demo rocks 18:34:24 shows how much you can do with ASCII 18:34:28 or charsets 18:40:08 Also, I want to do a 8086 emulator :) 18:42:53 well, there IS a 8085 emulator 18:44:29 Nah, I want to just do some emulator 18:45:34 do an OISC emulater 18:45:47 hmm 18:45:48 good idea 18:46:17 I think I will have memory from $1000 to $D000 to use 18:46:34 -!- jix_ has joined. 18:47:06 which is 48KB 18:47:08 Quite a lot, eh? 18:47:27 This allows for 24000 words 18:47:34 no, even 24576 words 18:47:53 Therefore 8192 commands 18:48:47 Isn't that a LOT? 18:49:00 I could get a bit more but that'd lag it as hell 18:49:15 I think, if I could hide the I/O variables, I could get to $E000 18:49:36 which will get 2048 more words = 682 more commands 18:54:49 -!- pikhq has joined. 18:56:53 oh <-- maybe it was overloaded... 18:59:02 -!- jix has quit (Read error: 110 (Connection timed out)). 19:00:04 -!- impomatic has left (?). 19:12:00 -!- pikhq has quit (Read error: 54 (Connection reset by peer)). 19:14:32 -!- pikhq has joined. 19:32:41 -!- olsner has joined. 19:49:46 -!- kar8nga has joined. 20:14:36 -!- asiekierka has quit (Read error: 60 (Operation timed out)). 20:18:10 -!- MizardX has joined. 20:35:08 -!- KingOfKarlsruhe has joined. 21:04:54 -!- kar8nga has quit (Remote closed the connection). 21:35:44 -!- Corun has changed nick to Corun|away. 21:37:08 -!- Corun|away has changed nick to Corun. 21:56:20 yeah, my first C-program is finished, a snusp interpreter 22:01:40 -!- Sgeo has joined. 22:05:23 -!- pikhq has quit (Read error: 54 (Connection reset by peer)). 22:09:33 -!- pikhq has joined. 22:15:11 -!- pikhq has quit (Read error: 104 (Connection reset by peer)). 22:43:10 -!- pikhq has joined. 22:53:34 -!- jix_ has quit ("night"). 23:08:39 -!- oerjan has joined. 23:09:00 -!- pikhq has quit (Read error: 104 (Connection reset by peer)). 23:09:42 -!- FireFly has quit ("Later"). 23:09:58 ais523: i noticed a possible error in the eodermdrome spec 23:10:09 ah, whay is it? 23:10:19 *what 23:10:47 you can have two open nodes that have edges between them in the internal state graph but not the match graph 23:10:53 -!- BeholdMyGlory has quit (Remote closed the connection). 23:11:02 and by the description, those edges are removed 23:11:43 hmm... I don't think they're meant to be in that situation 23:11:50 it's a wiki, do you want to fix it? 23:11:59 i'll try 23:17:04 changing 23:17:04 Deletes all nodes from the internal state graph that correspond to closed nodes in the match subgraph, and all arcs connecting to them 23:17:08 Deletes all arcs in the internal state graph between two nodes that both correspond to open nodes in the match subgraph 23:17:13 into 23:17:18 -!- KingOfKarlsruhe has quit (Remote closed the connection). 23:17:20 # Deletes all arcs in the internal state graph corresponding to arcs in the match subgraph 23:17:24 # Deletes all nodes from the internal state graph that correspond to closed nodes in the match subgraph 23:21:11 oh wait now there is another problem 23:21:23 what if that edge _does_ exist in the replacement subgraph 23:22:17 ais523: ^ 23:22:42 hmm... I don't know 23:22:59 given that redundant edges can't otherwise exist in Eodermdrome, I imagine that the two edges consolidate 23:23:37 hm ok 23:23:51 i guess that's the implicit conclusion 23:24:03 -!- pikhq has joined. 23:25:57 and then the wiki died again 23:38:09 -!- Sgeo has quit (Read error: 104 (Connection reset by peer)). 23:43:05 -!- ais523 has quit (Remote closed the connection). 23:43:51 -!- Taejo has quit ("Leaving"). 23:45:14 -!- pikhq has quit (Read error: 54 (Connection reset by peer)). 23:46:27 -!- olsner has quit ("Leaving"). 23:49:01 -!- pikhq has joined. 23:54:51 -!- pikhq has quit (Read error: 104 (Connection reset by peer)).