00:00:28 -!- puzzlet_ has quit (Read error: 110 (Connection timed out)). 00:01:06 -!- timotiis has quit (Read error: 110 (Connection timed out)). 00:05:09 -!- Corun has joined. 00:14:22 ZOOOOOP 00:24:36 -!- immibis has quit ("Hi Im a qit msg virus. Pls rplce ur old qit msg wit tis 1 & hlp me tk ovr th wrld of IRC. and dlte ur files. and email ths to). 01:01:11 -!- tusho has quit. 01:13:04 -!- oklopol has joined. 01:13:05 10 points to anybody who can guess what this fractal is: http://www.nonlogic.org/dump/images/1215562214-fractal.png 01:15:10 i can tell how it's generated 01:15:23 i don't know what you mean by "is" otherwise 01:15:38 ok, that'll do 01:17:08 Looks vaguely like the Sierpinski Triangle. 01:17:38 *Very* vaguely 01:17:40 pikhq: yeah, the structure this represents has some similarities to the sierpinski carpet 01:18:23 (split a square into 9 sections, then continue iteratively; omit the bottom left subsquare of the main square, and in each child, omit all those squares omitted in the parents, plus the subsquare that's related spatially to the child the same way that the child is related to its parent. Alternate red and blue for division lines) 01:18:45 not a true fractal since you stop very quickly 01:19:01 that's mostly accurate, but you're missing what this represents. It's a meaningful system. 01:19:29 it could represent a bunch of things... 01:19:41 tic-tac-toe game trees? 01:20:05 -!- poiuy_qwert has quit (Read error: 110 (Connection timed out)). 01:20:19 lament: bingo! 01:20:32 here's my source, if anyone's curious: http://www.nonlogic.org/dump/text/1215562712.html 01:21:01 shame on me for not noticing right away, and shame on you for not starting one iteration above 01:21:47 * RodgerTheGreat shrugs 01:22:17 looks neat though, eh? 01:22:58 -!- puzzlet has joined. 01:23:00 sure, now do the same for chess 01:23:22 or at least go 01:24:06 lament: buy me more ram and a couple of crays and I'll get right on it 01:24:15 RodgerTheGreat: weak 01:24:28 you only need to handle as much of the game tree as the output resolution allows 01:24:32 and by "more ram" I mean "enough ram to enumerate 2^54 (or whatever) states" 01:24:34 should be doable 01:24:40 oh, hm. 01:24:44 that's a good point 01:24:51 people draw mandelbrots despite them being infinite, after all 01:24:59 (s/infinite/actually fractal) 01:25:05 I imagine both chess and go would look pretty boring within visible range, though 01:25:08 true 01:25:16 but if you can zoom in and out 01:25:23 like in a fractal viewer 01:25:35 ...and "bookmark" specific places 01:25:48 corresponding to specific go or chess games... 01:25:59 hehehe 01:26:05 (nah, it'd still be pretty boring) 01:26:10 this looks like a job for something vaguely resembling seadragon 01:26:18 GO MICROSOFT GOONS GO 01:26:40 haha 01:27:16 i have worked on some seadragon stuff actually 01:27:26 oh, really? nifty stuff 01:27:37 i am not impressed 01:27:59 well, the TED demo was pretty cool 01:28:12 a lot of it is just eye-candy, but it's well-executed eye candy 01:29:16 have you seen deep zoom composer? 01:29:32 nope 01:30:06 (seadragon is now called deep zoom) 01:30:18 oh 01:34:12 but really 01:34:28 microsoft sucks and will screw everything up 01:34:52 -!- puzzlet__ has quit (Read error: 110 (Connection timed out)). 01:52:37 -!- augur has joined. 01:52:39 :O 01:52:55 WHATVE I MISSED 01:54:28 augur: a cool visualization of Tic-Tac-Toe: http://www.nonlogic.org/dump/images/1215562214-fractal.png 02:32:06 -!- augur has quit (Read error: 110 (Connection timed out)). 03:09:35 -!- puzzlet_ has joined. 03:18:59 -!- Corun has quit ("This computer has gone to sleep"). 03:22:16 -!- puzzlet has quit (Read error: 110 (Connection timed out)). 05:15:03 -!- cherez has quit ("Leaving."). 05:15:14 -!- cherez has joined. 05:22:10 -!- pikhq has quit ("leaving"). 07:15:51 -!- Polar has quit (clarke.freenode.net irc.freenode.net). 07:16:49 -!- Polar has joined. 07:17:37 -!- Polar| has joined. 07:18:28 -!- Polar has quit (Connection reset by peer). 07:56:55 -!- nokmar has joined. 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:52:21 -!- Hiato has joined. 09:17:00 -!- Hiato has quit ("Leaving."). 09:30:34 -!- Slereah_ has joined. 09:30:38 Dudes. 09:30:51 I tried to reinstall Windows XP. 09:31:00 Then my DVD player fucking ATE THE CD 09:31:06 Holy shit 09:46:26 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)). 09:48:50 -!- Polar| has quit (clarke.freenode.net irc.freenode.net). 09:53:23 -!- Polar| has joined. 09:54:34 -!- Polar| has quit (No route to host). 09:54:59 -!- Polar has joined. 09:55:49 -!- nokmar has quit ("insert quit message here"). 09:56:38 -!- Slereah_ has joined. 09:58:16 -!- GregorR has quit (Read error: 110 (Connection timed out)). 10:01:47 -!- Polar has quit (clarke.freenode.net irc.freenode.net). 10:07:30 http://membres.lycos.fr/bewulf/Divers4/Om%20nom%20nom.jpg 10:07:31 http://membres.lycos.fr/bewulf/Divers4/Om%20nom%20nom%20XP.jpg 10:07:34 OM NOM NOM 10:15:54 -!- Polar has joined. 10:17:29 -!- Polar has quit (Network is unreachable). 10:19:52 -!- Polar has joined. 11:19:02 -!- Slereah__ has joined. 11:19:02 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)). 11:52:10 -!- puzzlet_ has quit (Remote closed the connection). 11:52:22 -!- puzzlet has joined. 11:56:59 -!- Slereah_ has joined. 11:56:59 -!- Slereah__ has quit (Read error: 104 (Connection reset by peer)). 12:03:07 -!- Corun has joined. 12:14:37 -!- augur has joined. 12:24:22 -!- Hiato has joined. 12:40:08 -!- timotiis has joined. 12:49:07 -!- sebbu has joined. 12:59:41 -!- sebbu2 has quit (No route to host). 13:07:53 -!- Hiato has quit ("Leaving."). 13:11:55 -!- Sgeo has joined. 13:12:52 -!- Corun has quit ("This computer has gone to sleep"). 13:20:03 how is that tic tac toe visualization done actually? 13:20:07 i mean 13:20:18 what do the colors represent exactly? 13:20:24 victories and losses 13:20:38 how come every bottom-left one is black? 13:20:43 shouldn't it be symmetric? 13:21:20 because this displays from the second iteration probably because I didn't unroll my recursion properly 13:21:32 it was a quick hack 13:22:39 so one move has already been made there? 13:22:58 yes 13:23:41 what was that move? 13:24:27 bottom left, clearly 13:24:41 oh, right xD 13:25:02 didn't actually give it absolutely any thought 13:30:02 I think I'm going to try rewriting it so that you can zoom through the entire fractal 13:30:20 the game tree itself should only take up a few megabytes 13:30:45 -!- Hiato has joined. 13:30:58 and I can precalculate it in about two seconds, so the only limiting factor is drawing speed 14:04:12 -!- Hiato has quit (Read error: 110 (Connection timed out)). 14:09:29 -!- RedDak has joined. 14:16:52 -!- pikhq has joined. 14:28:54 -!- RedDak has quit (Read error: 110 (Connection timed out)). 14:37:35 -!- Corun has joined. 15:08:09 -!- timotiis has quit (Read error: 110 (Connection timed out)). 15:09:45 -!- ais523 has joined. 15:14:42 -!- Sgeo has quit (Read error: 110 (Connection timed out)). 15:33:37 -!- ais523 has quit (Read error: 104 (Connection reset by peer)). 15:36:23 -!- ais523 has joined. 16:13:14 -!- Slereah_ has quit (Read error: 110 (Connection timed out)). 16:19:13 -!- Slereah_ has joined. 17:00:42 -!- Slereah__ has joined. 17:01:15 -!- tusho has joined. 17:01:26 hi ais523 17:01:30 hi tusho 17:01:35 i won 17:01:43 pretty sure 17:01:50 tusho: well, if you're going to join after me and have the text on the clipboard, there's no point in playing really 17:01:57 that's true. 17:02:01 i'll stop clipboarding it 17:02:13 I reckon you'll still win then, but it'll make it fairer 17:02:23 the point is that I don't really have to react 17:02:24 you do 17:03:40 anyway, I'll only be here for another 2 hours or so 17:03:59 ah, ok why? 17:04:03 you weren't here yesterday too 17:04:07 have to get home by 8 17:04:12 OK 17:04:13 and yesterday I didn't get to sleep until 10am 17:04:23 not because I was doing anything, just because my sleep patterns went haywire 17:04:33 and this meant that I didn't wake up until pretty late 17:04:48 :) 17:06:17 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)). 17:06:34 -!- Slereah_ has joined. 17:14:36 ais523: regarding intercal lessons, i'm a taker. 17:14:47 oklopol: sounds good 17:15:36 do you have an INTERCAL compiler or interpreter on you? 17:15:47 ais523: he meant real-life ones, actually 17:15:51 :) 17:15:57 (remembered from yesterday/few days ago) 17:16:11 tusho: I remembered that too, but isn't it possible that oklopol's happy to learn either way? 17:16:15 possibly, yes 17:16:16 :P 17:16:24 i'd so go to take INTERCAL lessons from ais523, though 17:16:28 i'm happy with either way 17:16:38 well, over IRC's likely easier to organise 17:16:43 and saves on plane fares 17:16:43 and no, i don't have anything intercal related on this comp 17:16:50 ais523: i don't need a plane! 17:16:52 also i don't have anything unix related on this comp 17:16:55 oklopol: what OS does it run? 17:16:58 is that a prob? 17:16:59 win 17:17:00 dows 17:17:06 oklopol: not necessarily a problem 17:17:16 I do maintain C-INTERCAL on Windows 17:17:25 but you have to compile from sources 17:17:27 which is a pain 17:17:37 I can step you through that if you like, though 17:18:00 you probably will have to, in case you want me to get it 17:18:32 i'm more the plug-n-play type 17:18:33 yes, it'll be hard to learn INTERCAL with no way to run it 17:18:37 indeed 17:18:51 well, you need to install a C compiler first 17:18:53 do you have one already? 17:19:15 not sure 17:19:19 i'll check 17:19:37 try opening up a command prompt (start|run then type cmd and return) and typing in the command gcc 17:19:52 i don't have gcc 17:20:13 well, I used the DJGPP version, available from http://www.delorie.com/djgpp/zip-picker.html 17:20:35 Though personally, I'd recommend Mingw or Cygwin. 17:20:47 pikhq: yes, I know they're better 17:20:52 I should get around to installing cygwin some time 17:20:53 pikhq: c-intercal can run natively 17:20:53 so. 17:20:55 hmm 17:20:59 also, cygwin is like slow as hell 17:21:00 i have cygwin 17:21:00 mingw is good 17:21:09 -!- Slereah__ has quit (Read error: 110 (Connection timed out)). 17:21:10 oklopol: probably best to do it natively 17:21:11 I'd say 17:21:16 oklopol: try opening up a cygwin prompt and typing gcc in that 17:21:37 bash: gcc: command not foudn 17:21:45 it typoed, silly prompt. 17:21:46 yeah, just install djgpp 17:22:59 oklopol: I suggest you use the defaults for everything on the webpage I linked 17:23:32 FTP Site: ftp://ftp.delorie.com/pub/djgpp/current/ <<< so, help the retard, i click this shiny link, right? 17:23:38 no 17:23:40 scroll down 17:23:46 and you'll see links to a bunch of zipfiles 17:23:46 heh, okay 17:23:52 unzip them all into the same directory 17:23:54 it doesn't matter where 17:23:59 except it can't be called /dev 17:24:00 oh, i see. 17:25:25 incidentally, what version of Windows are you running? 17:25:34 vista 17:25:43 ah, could be interesting 17:25:45 hmm.... 17:25:48 but I think it'll work 17:25:55 as long as you put everything into your documents area 17:25:58 i wonder if the default was xp/2000 or smth 17:26:02 so it doesn't trigger UAC every 5 minutes 17:26:10 oklopol: DJGPP was never officially ported to Vista 17:26:23 but it works, I think, as long as you avoid certain filenames 17:26:30 such as patch.exe doesn't work unless renamed to something else 17:26:40 because Vista assumes it's an installer, and so forgets its command-line arguments 17:27:08 because Vista assumes it's an installer, and so forgets its command-line arguments 17:27:08 WJW 17:27:21 tusho: what's that an abbrev for? 17:27:24 Wow Just Wow 17:29:07 oklopol: unzipped yet? 17:29:34 -!- Slereah__ has joined. 17:30:13 just the first two 17:30:28 the rest of this one, and then 5 to go 17:30:31 ok 17:31:09 i'm a bit sceptic, in my experience things don't work unless you can install them with a oneliner or a double-click 17:31:16 but we'll see 17:31:29 oklopol: in my experience the things that need double-clicks are the things that normally fail 17:31:36 at least with the big mess installs they can be fixed by hand 17:31:44 -!- puzzlet has quit (Remote closed the connection). 17:31:49 -!- puzzlet has joined. 17:32:20 never met an msi that didn't manage to install the program correctly 17:32:43 oklopol: no, but I /have/ met msis that messed up all the other programs on my computer at the time 17:33:20 well, you've probably installed about ten times more stuff than me. 17:33:32 probably written about infinity times more installers than you, too 17:33:37 :D 17:33:48 i've made a few installers in vb! 17:34:15 wow 17:34:17 that means ... 17:34:23 i think installing is an ugly concept 17:34:23 ais523 has made INFINITE installers! 17:34:26 :D 17:34:31 well, "written" 17:34:38 in vb, you click "make installer" 17:34:49 and there's a wizard 17:36:24 now 4 to go 17:36:24 In GNU-land, it's implicit when you use Autotools. 17:36:24 :) 17:36:26 well, arguably they are the installer 17:36:30 in python land, you don't install 17:36:33 -!- spxza has joined. 17:36:34 you just run 17:36:44 -!- Slereah__ has quit (Read error: 104 (Connection reset by peer)). 17:37:14 -!- Slereah__ has joined. 17:37:47 well, yes, that's pretty much how DJGPP works, except you have to set a couple of environment variables first, then you can just run 17:37:51 except there are a lot of binaries involved 17:38:01 because it has to pretend to be UNIX sufficiently well that gcc will run 17:39:18 after a minute i should have everything 17:39:40 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)). 17:40:34 okay, i think i have them all 17:40:48 oklopol: ok 17:41:00 everything unzipped into the same directory? 17:41:05 i.e. you have one bin subdirectory 17:41:14 yeah 17:41:19 ok 17:41:33 now you need to set two environment variables 17:41:48 Version information is in manifest/*.ver within each zip. Contents 17:41:48 are in manifest/*.mft in each zip. 17:41:53 probably making a shortcut's easiest 17:41:54 whaat 17:41:55 hmm 17:41:56 okay 17:41:59 -!- Slereah__ has quit (Read error: 104 (Connection reset by peer)). 17:41:59 what are those? 17:42:14 oklopol: basically they're like system-wide variables that tell your computer how to do things 17:42:19 ais523: i mean 17:42:23 what vars? 17:42:25 what's the name of the dir you installed into? 17:42:29 oklopol: PATH and DJDIR 17:42:35 wugupol. hoped you wouldn't ask 17:42:52 hmmhmm 17:42:52 oklopol: you need the full path, starting with c:\ 17:43:03 i thought this would be a temporary store 17:43:14 oklopol: well, you can move it anywhere you like 17:43:18 well okay, i'll add, djdir is what exactly? 17:43:29 djdir points to the djgpp.env file 17:43:34 whereever it unpacked to 17:43:45 and you need to add the bin subdir to PATH 17:44:14 -!- tritonio_ has joined. 17:44:31 oklopol: done? 17:44:37 hello 17:44:44 hi tritonio_ 17:44:48 no, just got to the environment variables thingie 17:45:03 ok, I forgot how inaccessible it was in Windows for a while, it's probably even harder to find in Vista 17:45:13 i need to add to PATH the dir i unzipped the stuff to? 17:45:21 -!- tritonio_ has quit (Remote closed the connection). 17:45:23 oklopol: no, its bin subdirectory 17:45:28 ah, right 17:45:40 -!- Slereah__ has joined. 17:45:42 that's basically the standard UNIX trick, you have a subdir called bin and put everything there to avoid having to change the PATH 17:45:43 okay, done 17:45:58 oki 17:45:59 oklopol: ok, try opening up a command prompt and running the command go32-v2 17:46:08 if it works, then the install worked 17:46:18 it should do nothing but print out a few lines of information and exit 17:46:26 worked 17:46:27 and the information's irrelevant unless it's "bad command or filename" 17:46:39 oklopol: great! Now let's see if the C-INTERCAL install works 17:46:53 okay 17:47:02 awaiting orders. 17:47:09 http://www.intercal.ukfsn.org/download/ick-0-28.tgz 17:47:19 download that, again anywhere you like 17:47:47 done 17:48:06 you need to extract it 17:48:09 done 17:48:17 ok, then open up a command prompt 17:48:20 done 17:48:20 and cd into the resulting directory 17:48:30 done 17:48:38 then makeick.bat 17:48:49 hmm... that's the first time anyone's tried to run that script except me 17:48:51 I hope it works... 17:48:57 oh 17:49:08 oklopol: is it working? 17:49:10 gcc.exe: environment variable DJGPP not defined 17:49:10 gcc.exe: environment variable DJGPP not defined 17:49:10 gcc.exe: environment variable DJGPP not defined 17:49:10 gcc.exe: environment variable DJGPP not defined 17:49:13 ... 17:49:22 ugh 17:49:35 i didn't add djdir either 17:49:36 it's set it to the same thing as DJDIR 17:49:42 s/it's// 17:49:44 so... that might be the prob 17:49:48 yep 17:50:03 i'll add, wait a mo 17:51:10 djdir didn't actually exist before, should it have? 17:51:14 no 17:51:28 gives same errors 17:51:40 did you add DJGPP as well? 17:51:41 do i add the env var djgpp or smth? 17:51:43 nope. 17:51:49 yes, same target as DJDIR 17:52:34 about a million more errors now :P 17:52:41 ugh 17:52:43 what are the first few? 17:52:56 it sounds like I may have to do a few fixes to the Windows build system... 17:53:00 too many to see, unless you tell me how to limit how much results it shows. 17:53:15 i can give a few from the middle 17:53:19 ok 17:53:25 I may be able to guess based on those 17:53:34 feh2.c:1919: warning: comparison between pointer and integer 17:53:37 feh2.c:1919: warning: comparison between pointer and integer 17:53:40 feh2.c:1936: error: 'SUB' undeclared (first use in this function) 17:53:41 -!- timotiis has joined. 17:53:43 feh2.c:1936: warning: comparison between pointer and integer 17:53:44 hmm... maybe a missing header-file 17:53:52 hmm 17:54:01 try hitting pause just after you start 17:54:05 hmm 17:54:05 it's a rarely-used key on the ketboard 17:54:06 k 17:54:10 that might get the first few 17:55:01 Trying to build parsers and lexers (if this fails, e.g. if you do not 17:55:04 have bison/flex, this will produce errors but the compiler will build 17:55:07 anyway using prebuilt versions)... 17:55:08 those ones are fine 17:55:10 'bison' is not recognized as an internal or external command, 17:55:11 oh 17:55:15 then you should get a couple of errors 17:55:17 about bison and flex 17:55:19 those are fine 17:55:20 -!- Slereah_ has joined. 17:55:21 yeah 17:55:31 -!- Slereah__ has quit (Read error: 104 (Connection reset by peer)). 17:55:45 then what? 17:55:57 you can unpause by pressing a key other than pause and then repause by pressing pause again 17:56:15 idiotism.c:11:20: error: parser.h: No such file or directory (ENOENT) 17:56:18 idiotism.c: In function 'optimize_pass1': 17:56:21 idiotism.c:39: error: 'MINGLE' undeclared (first use in this function) 17:56:24 idiotism.c:39: error: (Each undeclared identifier is reported only once 17:56:26 ok, that's what's causing the problems 17:56:27 idiotism.c:39: error: for each function it appears in.) 17:56:32 let me think how to fix it 17:56:37 okily dokily. 17:56:57 oklopol: open up makeick.bat in an editor 17:57:17 and at the end of the set CFLAGS= line, write 17:57:21 -I./src 17:57:23 done 17:57:28 i mean 17:57:30 the opening. 17:57:31 then try running again 17:57:40 that's a capital I by the way 17:58:21 yeah i have a good font 17:58:45 erroooooors 17:58:56 ok, first few this time? 17:58:57 the same? 17:59:29 i failed the pause. wait a mo.. 17:59:54 idiotism.c:11:20: error: parser.h: No such file or directory (ENOENT) 17:59:56 idiotism.c: In function 'optimize_pass1': 17:59:58 same ones 17:59:59 idiotism.c:39: error: 'MINGLE' undeclared (first use in this function) 18:00:04 oklopol: ah, try -I ./../src 18:00:19 actually, wait 18:00:25 how many files are in the temp subdir 18:00:28 of the INTERCAL directory? 18:00:32 does it have the .h files in? 18:00:36 hmm 18:00:45 temp has a lot of stuff 18:00:48 it should do 18:00:52 does it have parser.h? 18:01:15 no 18:01:21 parser.c and parser.o, but no .h 18:01:33 also .y is there 18:01:38 i don't even know what that is 18:01:48 how did the .h not end up there? 18:01:57 http://code.eso-std.org/c-intercal/temp/parser.h 18:01:58 quite hard to say 18:02:27 try downloading that and putting it there 18:02:30 and then trying again 18:02:40 -!- Corun has quit ("This computer has gone to sleep"). 18:02:46 yeah, wait a bit 18:03:14 cc1.exe: out of memory allocating 1448 bytes after a total of 25243592 bytes 18:03:14 lex.yy.c:2350: warning: 'yyunput' defined but not used 18:03:18 are these okay? 18:03:35 Not the first one... 18:03:48 doesn't sound like it, no 18:04:01 the second one's ok 18:04:10 the first one is pretty mysterious, though 18:04:22 was that when it was compiling idiotism.c, by any chance? 18:04:40 right after "Compiling..." 18:04:47 ah, of course 18:04:49 it only happened once? 18:04:53 then i paused 18:05:00 ah, unpause then 18:05:16 I think I know how to fix the out-of-memory by simplifying stuff 18:05:35 cc1.exe: out of memory allocating 1448 bytes after a total of 25243592 bytes 18:05:38 lex.yy.c:2350: warning: 'yyunput' defined but not used 18:05:41 cesspool.c: In function 'ick_pin': 18:05:44 cesspool.c:153: warning: the address of 'buf' will never be NULL 18:05:47 gcc.exe: CFLAGS$: No such file or directory (ENOENT) 18:05:50 cset-l.c:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' t 18:05:53 oken 18:05:56 gcc.exe: idiotism.o: No such file or directory (ENOENT) 18:05:59 The system cannot find the file specified. 18:06:02 1 file(s) copied. 18:06:05 Compiling..., then this, then the copy messages 18:06:12 and it ends 18:06:29 try backing up src/idiotism.oil, then deleting most of the lines in it and trying again 18:06:29 that's a file full of optimiser idioms, so you can delete any of the lines in it and it'll still work 18:06:29 -!- ais523 has quit (Remote closed the connection). 18:06:46 -!- ais523 has joined. 18:07:12 sorry, connection trouble 18:07:16 [Wed Jul 9 2008] [18:05:15] I think I know how to fix the out-of-memory by simplifying stuff 18:07:18 [Wed Jul 9 2008] [18:05:47] try backing up src/idiotism.oil, then deleting most of the lines in it and trying again 18:07:21 [Wed Jul 9 2008] [18:06:02] that's a file full of optimiser idioms, so you can delete any of the lines in it and it'll still work 18:07:39 except you probably want to put [oklopol] or something like that at the start so it has at least one section 18:08:15 or the compiler'll get confused 18:08:15 -!- ais523 has quit (Remote closed the connection). 18:08:19 can i just scrape it? 18:08:20 hmm 18:08:22 bye bye 18:08:27 he'll be back. 18:08:31 -!- ais523 has joined. 18:08:31 o rly 18:08:37 can i just scrape the whole file? 18:08:45 empty it 18:08:57 and put [oklopol] in the beginning 18:08:59 oklopol: I think it may get confused if it doesn't have at least one line 18:09:03 try just one section line and one idiom 18:09:23 [minglefold] 18:09:23 (#{1}1$#{1}2)->(#{mingle(x1,x2)}0) 18:09:28 there, that's a minimal OIL file 18:09:34 I picked the most useful idiom from it, too 18:09:40 [oritself] 18:09:40 (_1|_1)->(_1) 18:09:45 this is the contents now 18:09:48 is that k? 18:09:49 oklopol: that one's less useful, but will work too 18:09:53 that's fine 18:09:56 now try recompiling 18:09:57 okay 18:10:09 the next version of C-INTERCAL will have an automatic workaround for that sort of thing, by the way 18:10:14 Debian reported the out-of-memory to me 18:10:27 apparently one of their build machines doesn't have enough memory to process idiotism.c by default 18:10:31 it says "I'm confused, idiotism.oil seems a bit empty." now, and fails to install 18:10:38 really? 18:10:42 well no 18:10:43 I don't remember writing that message anywhere 18:10:46 :P 18:10:55 just joking to pass the time 18:11:01 hmm 18:11:02 almost 18:11:07 not outta mem, but 18:11:09 ais523: C-INTERCAL should have a 'modern messages' mode 18:11:13 where all error messages are of the form: 18:11:16 I'm confused, X. 18:11:25 cesspool.c: In function 'ick_pin': 18:11:28 cesspool.c:153: warning: the address of 'buf' will never be NULL 18:11:29 "I'm confused, you seem to have a COME FROM where I didn't expect one..." 18:11:31 gcc.exe: CFLAGS$: No such file or directory (ENOENT) 18:11:34 cset-l.c:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' t 18:11:37 oken 18:11:40 eroror. 18:12:00 the CFLAGS$ thing is really confusing 18:12:15 as for the cesspool.c warning, I've never seen that one 18:12:31 but I can understand that it may just be there because they improved the compiler 18:12:51 oklopol: heh, there's a typo in makeick.bat 18:12:53 so... err... what do i do? 18:12:58 is that so 18:13:02 where it says FLAGS$ change that to FLAGS% 18:13:06 okay 18:13:30 (Konversation stripped the %C at the start of each of those) 18:13:37 -!- Slereah__ has joined. 18:13:47 -!- Slereah_ has quit (Connection reset by peer). 18:13:57 oklopol: and the other error is another typo 18:14:09 ick-clc_cset_latin1 should be ick_clc_set_latin1 18:14:13 hmm... I thought I tested this file 18:14:23 maybe some last minute changes snuck in after I tested it... 18:14:31 -!- spxza has quit (Read error: 113 (No route to host)). 18:14:49 same error 18:14:55 which one? 18:14:56 oklopol: change it to %CFLAGS^ 18:14:57 err 18:15:00 %CFLAGS% 18:15:02 %CFLAGS% 18:15:11 instead of %CFLAGS$ 18:15:23 it's exactly as the lines before and after it now 18:15:27 good 18:15:32 the never be null warning isn't a problem, I think 18:15:37 unless it was the last one, hard to say as they're all identical now 18:15:39 hmm 18:16:36 heh, the never-be-null warning is warning me that my assert is always true 18:16:58 errors this time? 18:19:32 err 18:19:41 20:14… oklopol: same error 18:19:46 which one? 18:19:50 you haven't given me instructions after that 18:19:52 err 18:20:04 20:11… oklopol: cset-l.c:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' t 18:20:04 20:11… oklopol: oken 18:20:24 oklopol: did you fix "ick-clc_cset_latin1 should be ick_clc_set_latin1" 18:20:26 it's another typo 18:20:36 in makeick.bat 18:21:10 well no i didn't 18:21:11 so wait 18:21:30 oklopol: you'll get credit for finding the bugs in the next release... 18:21:39 although I was planning to write a script to generate makeick.bat automatically 18:21:46 so I don't have to do it by hand every time and make typos 18:22:08 "ick-clc_cset_latin1 should be ick_clc_set_latin1" 18:22:09 hmm 18:22:12 set or cset? 18:22:15 cset 18:22:17 sorry 18:22:55 i think it worked 18:23:06 oklopol: try running bin/ick -@ 18:23:16 if that produces a usage message, it worked 18:23:32 it did 18:23:37 yay! 18:23:43 now on to the actual INTERCAL 18:23:44 so i have intercal now? 18:23:48 oh :) 18:23:49 yep 18:23:55 i do, so cool 18:24:03 probably best to start with a NOP 18:24:06 how do the lessons work, were you leaving soon? 18:24:11 oklopol: I am leaving soon 18:24:15 how soon? 18:24:16 so I'll just start until I have to leave 18:24:21 oklopol: about 20 minutes 18:24:25 okay. 18:24:30 let's see... 18:24:38 INTERCAL's an imperative language 18:24:39 do you lessonize on #eso? 18:24:43 i know that much 18:24:49 oklopol: I was going to 18:24:54 although I can start a new channel if you like 18:25:01 do it here 18:25:04 i'd like to dig it up in the logs 18:25:07 yes 18:25:20 ok, so you write all the commands in sequence 18:25:20 yeah here is good 18:25:25 which is already more normal than befunge 18:25:35 all statements start with a "statement identifier" 18:25:47 okay 18:25:48 that marks where one statement starts and the previous statement ends 18:25:51 sort of like a semicolon in C 18:25:58 the most common statement identifier is DO 18:26:02 you can use PLEASE as well 18:26:12 and you need to have about one PLEASE for every three DOs on average 18:26:17 or the program won't compile 18:26:18 okay 18:26:30 the GIVE UP command ends the program 18:26:38 so DO GIVE UP is the shortest non-erroring INTERCAL program 18:26:41 actually DOGIVEUP 18:26:47 because the spaces are optional 18:26:49 * oklopol tries 18:26:55 ...how do i compile? 18:27:00 the file will need to have a .i extension so it's treated as INTERCAL 18:27:06 then just ick filename.i 18:27:19 where you need to give the path to ick, either that or add it to your PATH 18:27:23 is it case sensitive? 18:27:28 oklopol: not on Windows 18:27:35 i mean 18:27:36 oh, INTERCAL itself is 18:27:38 do give up 18:27:43 it has to be allcaps 18:27:55 there's only one lowercase letter in INTERCAL, and it's part of an operator 18:28:13 ick nop.i seems to crash 18:28:18 in what way? 18:28:22 hangs 18:28:27 so doesn't really crash 18:28:29 ok, that's strange 18:28:36 try unhanging it with control-C 18:28:41 and if that fails, control-break 18:28:44 actually, do control-break first 18:28:52 because sometimes on windows control-C exits your DOS prompt 18:29:09 also, check to see if it's hanging because a UAC prompt popped up behind the window you're in 18:29:22 ctrl-c is fine 18:29:22 that shouldn't have triggered one, but you never know... 18:29:34 didn't trigger one 18:29:51 try ick -o nop.i 18:29:55 that dumps the output to stdout 18:29:59 so you can see where it hangs 18:30:06 hangs. 18:30:11 ugh 18:30:14 try ick -d nop.i 18:30:19 :P 18:30:21 that should spurt out debug info from the parser 18:30:26 see if it reaches that stage 18:30:33 or if anything makes ick hang 18:30:37 infloops at parsing i think 18:30:45 what, after or before the parse? 18:30:46 lotsa output 18:30:52 pages after pages of stuff 18:30:55 -d 18:30:56 that's wrong 18:31:05 oklopol: try putting a newline at the end of your program 18:31:12 you may have hit a known bug I forgot about 18:31:17 i think i have already 18:31:50 ok, then two newlines 18:32:41 Entering state 1 18:32:44 Reading a token: lexer: returning token 292 18:32:47 Next token is token PLEASE () 18:32:50 Shifting token error () 18:32:53 Entering state 3 18:32:56 Reducing stack by rule 7 (line 189): 18:32:59 $1 = token error () 18:33:02 lexer: returning token 292 18:33:05 -> $$ = nterm command () 18:33:07 Stack now 0 1 18:33:11 Entering state 7 18:33:14 Reducing stack by rule 2 (line 169): 18:33:17 $1 = nterm program () 18:33:20 $2 = nterm command () 18:33:23 -> $$ = nterm program () 18:33:26 Stack now 0 18:33:27 this repeats, no matter how many newlines. 18:33:32 ok 18:33:49 your program is just PLEASE GIVE UP 18:34:00 DO GIVE UP actually 18:34:07 ok, let me see if it works over here 18:34:19 nope, infiniloop for me too... 18:34:19 k 18:34:30 actually no, it worked 18:34:31 it was just slow 18:34:35 oh. 18:34:55 oklopol: ah, did you write your program in Notepad? 18:35:06 edit.exe actually 18:35:12 i don't have a hex editor 18:35:17 I was wondering if it had a BOM that was screwing things up 18:35:23 BOM? 18:35:37 oklopol: binary at the start of a text file that Notepad adds to say what format a file's in 18:35:46 notepad does no such thing 18:36:01 yes it does 18:36:06 it's just invisible 18:36:07 err, no it does not. 18:36:12 invisible? 18:36:21 yep, because it encodes a zero-width space 18:36:38 so if you load the file as a text file, you can't see the difference 18:36:40 let's call your assertion 18:36:44 * oklopol opens python 18:36:59 make sure there's at least one non-ASCII character in the file 18:37:18 oklopol: python handles it 18:37:18 I believe 18:37:23 so that won't help 18:37:31 >>> open("C:\\Users\\oklopol\\intercool\\ick-0.28\\bin\\nop.i","rb").read() 18:37:31 'PLEASE GIVE UP' 18:37:32 PHP doesn't, and that screwed up MediaWiki once 18:37:38 oklopol: python handles it 18:37:49 the trick is to compare the file's size as reported by dir with a count of the characters 18:37:57 wtf, doesn't show weird space chard in __repr__? 18:38:02 hmm... let me add a BOM by hand to my nop.i and see what happens 18:38:05 if so, i'm switching off python 18:38:15 *characters 18:38:17 oklopol: it does, 18:38:21 but python's file reading handles it 18:38:23 i believe 18:38:28 anyway 18:38:28 that's retarded 18:38:29 you used edit.com 18:38:30 so. 18:38:32 and no, it's not 18:38:35 it's called 18:38:37 "HANDLING UNICODE PROPERLY" 18:38:48 how do i actually open a file then? 18:38:56 that is opening a file. 18:39:00 unicode support is a feature 18:39:01 sheesh 18:39:15 :| 18:39:26 well, my BOM by hand went and printed out (null) in a comment where it should have printed out the source code 18:39:47 which means that a null-pointer's being derefed somewhere 18:40:01 not sure if a BOM's the problem, though 18:40:03 probably it isn't 18:40:07 oklopol: try one of the example programs 18:40:13 e.g. ick pit/primes.i 18:40:29 does that work or does it infiniloop? 18:40:46 yeah infoops 18:40:56 same parser error 18:41:12 * ais523 wonders why the parser's doing that 18:41:31 Reading a token: lexer: returning token 292 18:41:34 tusho: is there any way to open a file without it having been preprocessed? 18:41:36 does it say that inside the infinite loop? 18:41:38 or just before it? 18:41:41 i mean, get the binary data 18:41:43 oklopol: i don't think you understand 18:41:48 unicode support is a good thing 18:41:49 oklopol! 18:41:51 im in europe! 18:41:59 wanting to turn it off is, well 18:41:59 you don't 18:42:01 ais523: says it all the time 18:42:05 lets get together and make out 18:42:22 so the lexer's returning an infinite number of token 292 for some reason 18:42:28 augur: i'll think about it 18:42:40 :3 18:42:44 augur: where in europe 18:42:49 tusho: no, it's not a good thing 18:42:57 * ais523 looks up what 292 means 18:42:58 nuremberg. i was in london last week 18:42:59 oklopol: #python 18:43:08 why tusho? did you want me to come up and make you a man? :p 18:43:17 augur: just curious, sheesh 18:43:17 :p 18:43:18 tusho: i want to see if there's a BOM, that thing prevents me from doing that 18:43:18 DO, apparently 18:43:21 PLEASE is 293 18:43:22 (And not in a bi-curious sense) 18:43:26 oklopol: #python 18:43:29 why? 18:43:29 -!- Slereah__ has quit (Connection timed out). 18:43:30 oklopol: you know that parser.h was missing? 18:43:35 ::makes tusho a man:: 18:43:40 ais523: wha? 18:43:44 oklopol: #python is generally a better channel for python than #esoteric 18:43:44 try downloading http://code.eso-std.org/c-intercal/temp/parser.c too 18:43:56 maybe the versions of parser.c and parser.h you got don't match for some bizarre reason 18:44:02 yes, that's what happend 18:44:03 tusho: i'm sure they'll agree with you, i don't see the point. 18:44:11 you got parser.c from C-INTERCAL 0.28 18:44:15 oklopol: actually pythoners generally disagree with me 18:44:16 so that's bull 18:44:19 but I gave you parser.h from C-INTERCAL 0.29 by mistake 18:44:21 i believe it's good to have unicode support that can't be turned off for some reason. 18:44:28 so all the tokens are wrong... 18:44:29 oklopol: #python 18:44:37 tusho: nah. 18:44:40 so whats be goin on since i vanished a few days ago? anything interesting? 18:44:44 oklopol: ok then stop whining about it 18:44:51 augur: well, I'm teaching oklopol INTERCAL 18:44:58 oh joy 18:45:01 tusho: no. 18:45:03 and teaching myself how it's a good thing if the header file matches the file it's referencing 18:45:21 oklopol: actually, I'll dig out the C-INTERCAL 0.28 version of parser.h 18:45:28 okay. 18:45:30 probably easier than it mismatching everything else in 0.29 18:46:49 http://pastebin.ca/raw/1066874 18:47:25 i'll just paste that in parser.h and retry makeick? 18:47:39 yep 18:48:31 that has PLEASE=292 like it should be 18:49:13 yay 18:49:16 it did nothing! 18:49:32 so 18:49:36 seems to work now 18:49:37 what, it compiled, and you ran the result, and nothing happened? 18:49:47 I have to go very soon 18:49:55 but as another test try writing DO READ OUT #123 18:49:59 before the DO GIVE UP line 18:50:12 and running the result of that 18:50:14 you should get some output 18:51:02 okay 18:51:39 * ais523 has to go in about 3 minutes 18:51:51 CXXIII 18:51:52 ICL633I PROGRAM FELL OFF THE EDGE 18:51:52 ON THE WAY TO THE NEW WORLD 18:51:52 CORRECT SOURCE AND RESUBNIT 18:52:00 oklopol: that means you missed the GIVE UP line 18:52:00 resubnit 18:52:05 anyway, that's the correct output 18:52:07 what does that mean 18:52:17 it's a typo for resubmit that was originally made in 1972 18:52:21 and has been preserved ever since 18:52:24 heh :P 18:52:34 anyway, I'll continue this some other time 18:52:37 maybe tomorrow? 18:52:44 I should be able to stay longer then, too 18:52:48 perhaps. 18:52:52 ok, bye 18:52:56 -!- ais523 has quit ("(1) DO COME FROM ".2~.2"~#1 WHILE :1 <- "'?.1$.2'~'"':1/.1$.2'~#0"$#65535'"$"'"'&.1$.2'~'#0$#65535'"$#0'~#32767$#1""). 18:52:57 i should be available pretty much 24/7 18:52:59 bye 18:54:48 so, tusho, in the unicode world, you don't store arbitrary raw binary data anymore, but only unicode stuff? 18:54:53 even with stuff like pictures 18:55:22 fine by me, although i don't see the point; still i'd say it's quite weird not letting you at least *read* arbitrary data. 18:57:39 -!- GregorR has joined. 18:57:42 i don't really know anything about unicode, and i don't really care at all, so no need to answer. 19:05:17 -!- Corun has joined. 19:06:28 -!- Corun has quit (Success). 19:06:36 -!- Corun_ has joined. 19:06:44 -!- Corun_ has quit (Remote closed the connection). 19:07:58 lalala 19:09:15 lololol 19:11:18 -!- Corun has joined. 19:21:34 -!- puzzlet_ has joined. 19:22:41 -!- Slereah_ has joined. 19:26:02 -!- puzzlet has quit (Read error: 110 (Connection timed out)). 19:32:39 -!- puzzlet_ has quit (Remote closed the connection). 19:32:43 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)). 19:32:43 -!- puzzlet has joined. 19:32:56 -!- Slereah_ has joined. 19:34:57 -!- Slereah__ has joined. 19:35:00 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)). 19:35:32 back 19:36:46 -!- timotiis has quit (Read error: 104 (Connection reset by peer)). 19:37:33 -!- timotiis has joined. 19:41:10 -!- Slereah__ has quit (Read error: 104 (Connection reset by peer)). 19:44:37 -!- oerjan has joined. 19:46:52 -!- Slereah__ has joined. 19:50:47 -!- Slereah__ has quit (Read error: 104 (Connection reset by peer)). 19:52:28 -!- Slereah__ has joined. 19:54:36 ::rapes tusho:: 19:54:42 -!- tusho has quit (Remote closed the connection). 19:59:01 -!- Corun_ has joined. 19:59:11 -!- Corun has quit (Read error: 104 (Connection reset by peer)). 20:00:40 augur is such a bad dood 20:00:43 -!- Slereah__ has quit (Read error: 104 (Connection reset by peer)). 20:00:55 im so bad 20:00:59 oh man am i bad 20:01:22 i just type-raped a 13 year old. thats how bad i am. oh yes. 20:01:51 imaginary rape is the baddest thing on all the internets. im so bad ive done the baddest thing on all the internets! 20:02:12 -!- Slereah_ has joined. 20:03:01 -!- Slereah__ has joined. 20:03:01 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)). 20:03:47 o yeah i' is. 20:05:45 -!- Slereah_ has joined. 20:05:45 -!- Slereah__ has quit (Read error: 104 (Connection reset by peer)). 20:25:23 -!- Corun_ has quit ("This computer has gone to sleep"). 20:35:38 -!- puzzlet_ has joined. 20:36:24 -!- puzzlet has quit (Remote closed the connection). 20:45:34 -!- Corun_ has joined. 21:08:58 -!- pikhq has quit (Read error: 110 (Connection timed out)). 21:56:17 -!- oerjan has quit ("Good night"). 21:59:41 -!- atrapado has joined. 22:12:34 -!- Slereah_ has quit (Read error: 104 (Connection reset by peer)). 22:13:43 -!- Slereah_ has joined. 22:31:17 -!- tusho has joined. 22:31:27 what i miss. 22:32:21 rape 22:32:37 lament: by augur? 22:32:52 ofcourse. 22:32:55 i raped you. 22:33:02 you missed it because i drugged you to make you more complacent. 22:33:11 roofies mess with your memory 22:33:34 augur: no, but there were people in the room and it highlighted it in a box 22:33:41 i don't want someone to see ::rapes tusho::, strangely 22:33:52 that's why I disconnected 22:33:53 :p 22:33:59 ::rapes you again:: 22:34:23 12:01:22 i just type-raped a 13 year old. thats how bad i am. oh yes. 22:34:24 12 22:34:35 awesome. 22:34:40 im even badder. 22:34:46 ::really bad:: 22:35:25 -!- atrapado has quit ("Abandonando"). 22:59:07 ::rapes augur:: 22:59:10 JUST GOTTA BE DIFFERENt 22:59:12 ALWAYS REINVENTING MYSELF 22:59:17 ::enjoys it: 22:59:39 o 22:59:55 klpl. 23:01:12 augur: do you want to look at the rather nifty objective-c-and-smalltalk-and-ruby inspired language I'm cooking up 23:01:15 it's not esoteric but it's rather nice. 23:01:24 sure! 23:01:24 i can only give you a few samples, though 23:01:28 anything for the children 23:01:29 :p 23:01:36 I can write the code natively, but can't tell you the rules that dictate it :p 23:01:55 well you give me samples and ill write up a grammar, hows that? 23:01:58 and a semantics if you want 23:02:00 it uses indentation-based syntax so if you don't like that beware 23:02:08 and I think I can grammar-ize it 23:02:09 oh god 23:02:09 nevermind 23:02:10 just tell me about it 23:02:12 but it's not finalized yet 23:02:17 augur: http://pastebin.ca/raw/1067226 23:02:26 that's just an extremely basic sample 23:02:31 cooked it up in like 2 seconds 23:02:47 might need a 4 space indent 23:02:48 not sure 23:02:59 to look good I mean 23:03:06 i take it you're providing imaginary hooks for Cocoa? :P 23:03:14 augur: its object system is Objective-C's 23:03:26 no layer or binding or hooks 23:03:30 it IS the obj-c object system 23:03:48 no i mean you're providing the ability to run Cocoa stuff 23:03:57 augur: well yeah, the interp will be in obj-c 23:03:58 :) 23:04:04 ok. 23:04:14 it does seem to look a bit better with 4-space indents 23:04:28 but yeah, it's basically - take the objective-c language, make the syntax smalltalky, and take some hints from ruby 23:04:33 add some of my own stuff. 23:04:39 oh, and those type declarations it has are optional 23:04:41 you could do 23:04:43 initWithName: name 23:04:44 i think 23:04:48 not finalized that yet 23:04:50 but probably 23:04:56 (it wouldn't be inferred, though, just dynamic) 23:04:59 i can see the inspiration 23:05:16 well 23:05:27 in my opinion 23:05:34 (Shouter initWithName: ...) is wrong 23:05:42 oh, you're right 23:05:43 heh 23:05:45 it'd be 23:05:52 Shouter withName: ... 23:05:58 or 23:06:14 (Shouter new) initWithName: ... 23:06:22 yes 23:06:27 it'd be (Shouter alloc) initWithName:... 23:06:31 as is objective-c 23:06:44 its interpreted, dont use allocs. :P 23:06:47 no memory management! 23:06:50 make it fully interpreted! 23:07:22 augur: dude, it's the objective-c system 23:07:27 'alloc' just means 'create object' 23:07:28 that's not mine 23:07:31 that's what objective-c does 23:07:33 don't think you understand - 23:07:35 when you say 'class' 23:07:38 alloc doesnt mean "create object" 23:07:39 that actually makes an objective-c class 23:07:44 well yes I know 23:07:46 but the point is 23:07:48 NSString is the real nsstring 23:07:51 no layers or anything 23:07:57 when you send messages to it, you really send messages to it directly 23:08:17 does RubyCocoa use alloc messages and stuff? 23:08:36 yes 23:08:40 it has a layer for .new 23:08:41 huh. 23:08:45 but Objective-C has 'new' anyway 23:08:50 it's just [alloc] init, I think 23:08:58 but, you know. rarely do you just want to use 'init' 23:09:03 augur: you could also write this as 23:09:05 why are we talking about objective c 23:09:10 ((Shouter new) name:'joe') 23:09:14 which is ... nicer 23:09:15 ::rapes lament:: 23:09:24 and you can remove initWithName 23:09:26 tusho: that makes no sense. 23:09:26 don't rape me :( 23:09:26 so yeah 23:09:34 the new: message should not return the object itself. 23:09:37 augur: it does. 23:09:40 why? 23:09:45 it doesnt in ObjC 23:09:46 because that is what it does in objective-c. 23:09:51 (Class new) returns a new Class. 23:09:56 yes. 23:10:05 but setName: @"Joe" doesn't 23:10:17 hmph, okay 23:10:19 i'll revise it 23:10:29 in smalltalk, it probably would 23:10:30 so you cant do (((Shouter new) name:"Joe") sayName) 23:10:37 lament: yeah 23:10:40 in smalltalk it's standard practice to have otherwise void functions return self 23:10:42 but this is the objective-c system 23:10:48 so, it inherits its quirks 23:10:50 because ((Shouter new) name:"Joe") is undefined 23:11:22 yes 23:11:23 oky 23:11:24 *okay 23:11:25 :P 23:11:32 hmm 23:11:36 what syntax for class-methods.... 23:11:50 +- 23:11:55 augur: i mean in my language 23:12:04 so do i. 23:12:05 use +- 23:12:12 that's not smalltalky 23:12:15 i'd like to keep smalltalky _syntax_ 23:12:19 but it is ObjC-y 23:12:26 yes, but syntax-wise, I'm going for smalltalk 23:12:37 hm 23:12:50 augur: considering just having a forClass seperator 23:12:50 like 23:12:52 method 23:12:53 foo 23:12:55 forClass 23:12:59 [all methods here are class-side] 23:13:02 eh. 23:13:14 augur: how about 23:13:17 + and - 23:13:20 but - is implicitly assumed 23:13:25 and you don't really ever need to specify it 23:13:26 whatever. 23:13:29 its your language :P 23:14:05 augur: version two: 23:14:12 http://pastebin.ca/raw/1067241 23:14:21 oh, and look at the first line of talker, it's actually some neat magic 23:14:40 yes, clearly very Ruby-ish 23:14:45 yeah 23:14:48 @ basically means: 23:14:54 run this code in the context of the class I'm making 23:14:55 so it runs 23:15:01 Talker attr: #name is: NSString 23:15:03 why not just get rid of the @? 23:15:08 which defines some accessors and stuff 23:15:14 augur: because it's ambiguous with message defs 23:15:21 and instead just use method names instad 23:15:25 attr: ... 23:15:33 that'd define a method called attr in the class 23:15:33 its not ambiguous since it lacks a type definition 23:15:43 no it wouldnt 23:15:44 augur: they're not required 23:15:45 like I said 23:15:48 oh. 23:15:56 then self attr: ... 23:16:08 could work 23:16:29 to be consistent with self-directed message passing style 23:16:48 augur: OK, yes, it just seemed nice to have an explicit marker 23:16:51 but i agree 23:17:04 well, its explicit in that its a method call. :P 23:17:33 also, "self new"? 23:17:35 that makes no sense 23:17:40 self is the class, augur 23:17:42 it's a class method 23:17:48 oh wait yes 23:17:50 nevermind :p 23:17:58 http://pastebin.ca/raw/1067246 <-- a version with and without type declarations 23:18:01 of course you can mix and match 23:18:12 i forget, in ObjC, are classes objects too? 23:18:27 augur: even if they aren't, my language will reify them into objects 23:18:28 :) 23:18:47 will work fine either way 23:19:45 in objc, classes are fucked-up pseudo-objects without instance variables 23:19:55 err, "class" variables :) 23:19:59 lament: then i'll make a reified version with class variables :-p 23:20:01 uh 23:20:10 i think classes have class variables in objC 23:20:19 it's basically aiming to be smalltalk, but the obj-c object system is more useful because it can interact with all of cocoa 23:20:34 'cause, you know, getting all that stuff for free is nice 23:20:40 all of cocoa is in objc so it'd better be able to interact with cocoa. :P 23:21:06 augur: yes, but it's more elegant to just use the obj-c object system 23:21:11 and thus not having to 'interact' with it - it Just Works 23:21:14 because that's all the language knows 23:21:17 no, there're no class variables in objc 23:21:21 saves me implementing an object system, you know :p 23:21:51 which leads to all sorts of problems 23:21:54 there must be lament 23:22:01 and yet, there aren't 23:22:10 even if there isn't, I can wrap around a class and implement them without any real trouble 23:22:11 so i'm happy 23:22:31 and yet lots of cocoa classes have class variables.. 23:22:31 no, they don't 23:22:34 yes, they do. 23:22:36 because there're no class variables in objc 23:22:46 augur: name a class? 23:22:48 'cause, you know 23:22:50 or something that works just the same. 23:22:52 this discussion is unproductive 23:22:56 augur: yes, it's something that works just the same 23:23:02 namely, plain old global variables from C 23:23:10 except of course they don't work just the same 23:23:11 heh 23:23:11 then its a class variable. 23:23:20 how its implemented is irrelevant, its a class variable. 23:23:22 no, it's a global variable 23:23:26 it has global scope 23:23:31 its not treated like one. 23:23:36 um 23:23:37 its accessed via the class. 23:23:42 yeah, um, augur 23:23:44 that's a pretty bad argument 23:23:46 you can access it from everywhere else in the program, too 23:23:47 you can treat C as OOP too 23:23:51 doesn't mean it has objects and methods 23:23:56 what's worse 23:24:04 suppose you have a method initialize 23:24:06 for your class 23:24:06 Objective C is just a layer on top of C. 23:24:11 and it initializes a "class variable" 23:24:15 which is just a global variable 23:24:21 and then, you have a subclass 23:24:26 this subclass dosen't have an initialize method 23:24:33 so its parent's initialize is called instead 23:24:41 and the "class variable" gets initialized a second time 23:24:53 if you didn't put in a check that initialization already happened, you may well be screwed 23:24:57 you know that objective c classes do get initialized, right? 23:25:12 lament: yeah, i agree that that's bad, so I'll layer proper variables then :p 23:25:22 augur: ...isn't that exactly what i was describing on the past ~5 lines? 23:25:25 anyway, the point is, objective c has what amounts to class variables. 23:25:31 no, it does not. 23:25:36 it doesn't 23:25:36 yes it does. 23:25:36 :\ 23:25:45 you show me how you can access these supposed globals. 23:25:45 augur: objective c has global variables. 23:25:54 they're not supposed globals 23:25:57 they're just globals 23:26:00 like any other global in C 23:26:01 then show me how you access them. 23:26:06 they ARE supposed 23:26:08 like you would access any other global 23:26:11 because you're supposing they're globals. 23:26:15 augur: dude 23:26:16 lament means 23:26:19 they are literall 23:26:20 y 23:26:22 at the top scope 23:26:26 'int MyClass_global;' 23:26:30 and then as a class method 23:26:32 they're at the top scope of the respective .m file 23:26:34 or 23:26:38 anywhere else where you wish to put them 23:26:39 + (int)global { return MyClass_global; } 23:26:40 or whatever 23:26:43 show me how to access [NSColor redColor] 23:26:44 and THAT's how cocoa classes do it 23:26:52 augur: step 1. find out what global name they used step 2. use it 23:26:58 or [NSNotificationCenter defaultCenter] 23:26:58 augur: that's a method, not a variable. 23:27:05 tusho: prove there IS a global name. 23:27:06 those are methods 23:27:09 yes its a method lament 23:27:13 augur: implement a class method without it 23:27:14 go on 23:27:16 it's just NOT in the spec 23:27:21 but there are other methods for setting values returned by class methods 23:27:23 but [NSColor redColor] probably constructs an NSColor anyway 23:27:27 augur: yes 23:27:29 which does 23:27:37 + (void)setGlobal:(int)newone { MyClass_global = newone; } 23:27:40 show me that its actually a global. 23:28:01 augur: link us to the part of the objective c spec that gives you another way to implement a class variables 23:28:03 I'll wait here. 23:28:13 i dont have to because im not claiming it ISNT global 23:28:21 i dont know how its implemented. 23:28:22 show me that its actually a global. 23:28:26 im not making a positive claim. 23:28:33 uh, tusho, thats not a claim 23:28:38 thats a demand for evidence. 23:28:42 i don't know how [NSColor redColor] is implemented, but it has nothing to do with class variables anyway 23:28:48 you might not know the difference, let me find you a dictionary definition 23:29:24 but [NSColor redColor] == [NSColor redColor] 23:29:36 augur: yes, it's a method returning a constant value 23:29:40 how's a constant a variable? 23:30:18 indeed, its body probably simply constructs the NSColor object 23:30:26 by creating it with specific red, blue and green components 23:30:26 lament: that's not true 23:30:28 since its == 23:30:29 so same object 23:30:30 oh 23:30:34 still 23:30:35 durr. 23:30:37 way to go lament. 23:30:53 i suppose it's stored in a global variable, then, after all :) 23:30:56 lament doesnt even know what == means or what its implications are. 23:31:01 you suppose 23:31:02 lol @ augur 23:31:03 and yet its not supposed? 23:31:10 ? 23:31:13 lament, you're pulling this out of your ass. 23:31:20 you said earlier its not a supposed global variable 23:31:24 "AHA! Because you are not COMPLETELY STATING without ONE SHADOW OF A DOUBT that it's a global-- You're wrong. Therefore, I am right.@ 23:31:26 and now you just said you suppose it is a global variable 23:31:34 stop trolling 23:31:37 tusho, im not claiming anything 23:31:39 so i cant be "right" 23:31:42 im asking for proof. 23:31:47 lament is refusing to provide any. 23:31:48 Proof. With SCIENCE! 23:31:56 augur: As a counter - how else could you make a class variable? 23:31:56 15:31 you said earlier its not a supposed global variable 23:32:00 15:31 and now you just said you suppose it is a global variable 23:32:04 either learn to read english, or stop trolling 23:32:09 Tell us one way. Otherwise, obviously, since a global will work, it's the only way, if there's no other way. 23:32:18 tusho: the same way you make instance variables instance variables 23:32:23 augur: which is? 23:32:34 having some struct in memory representing the class variables. 23:32:49 augur: show us an example 23:32:51 that actually runs 23:32:52 augur: objc has instance variables because there's language-level support for them. 23:33:00 there's no langugae-level support for class variables. 23:33:04 so you say 23:33:12 yep 23:33:16 and yet you show no proof that these things are global 23:33:19 ugh 23:33:32 hey, im just asking you to show me that this is the case 23:33:40 here watch, i'll be you, but not you 23:33:41 augur: Show us a runnable example. Now. 23:33:51 please, just go read an objective c reference - that part of it that says "objective c does not have class variables" 23:33:51 Either that or you have no case. 23:33:58 actually they're not global variables 23:33:59 As, if there isn't any other way to do it, it has to be the one way that you _can_ do it. 23:34:06 they're really is language level support 23:34:09 there* 23:34:11 augur: show us 23:34:16 show us. show us. show us. show us. 23:34:23 if you say 'i don't have to', you have no leg to stand on 23:34:27 ill show you as much as lament shows. 23:34:33 troll 23:34:33 troll 23:34:33 troll 23:34:51 im doing nothing more than lament 23:35:02 you're proving your point! In a totally EDGY way. 23:35:04 You go, man! 23:35:05 ofcourse im doing it for irony 23:35:12 theres no point to prove 23:35:13 Irony fuck yeah! You rock! 23:35:15 Show it to the man./ 23:35:19 ... 23:35:23 tusho stop being an idiot 23:35:31 augur: what you're doing is destroying your credibility as somebody worth talking to 23:35:49 not your credibility in terms of how much you know or don't know objective c, that's not the point 23:35:54 how? by demanding you show me? 23:35:59 by being an asshole 23:36:06 im not being an asshole 23:36:09 im asking you to just show me 23:36:10 and you wont 23:36:12 just 23:36:13 fucking 23:36:15 show 23:36:16 me 23:36:24 otherwise you're full of shit 23:36:44 and its your credibility thats been destroyed 23:36:54 because you're now logged as making claims without backing them upo 23:37:00 Unfortunately, augur tends to think everything that is not exactly what he personally thinks (whether backed up by evidence or not) is completely wrong, and since we are not providing 100% scientific proof, we are obviously wrong, he is obviously right, and because you're not providing perfect and utter proof (even if you are), he does not have to back up his opinions whatsoever. 23:37:09 tusho stop being a child. 23:37:18 ive said multiple times that i dont know how its done 23:37:23 okay, this is from the apple objc reference: "For all the instances of a class to share data, you must define an external variable of some sort." 23:37:23 hence why im asking for evidence 23:37:36 link. 23:37:43 google 23:37:50 augur: you are accusing lament of fabricating a quote from apple's objective c reference 23:37:51 you obviously have the link 23:37:52 are you fucking kidding 23:38:04 he obviously has the link 23:38:06 no, i obviously have the document stored locally on my computer because i need to refer to it 23:38:09 and yet he wont copy and paste it 23:38:11 ok. 23:38:16 because i program in objective c for work 23:38:33 googled, verified, and accepted. 23:38:37 you suck. 23:38:40 finally! 23:38:41 jeez 23:38:56 tusho: you're 12. you're an idiot. go away. 23:39:03 you know. at the start of writing that long message. 23:39:07 I considered saying 23:39:13 'and now watch augur bring up my age because he's out of arguments' 23:39:15 i thought 23:39:18 'no, that'll just inflame him' 23:39:22 'he hasn't done that since forever.' 23:39:27 so. fucking. typical 23:39:36 im not the only one who's noticed that you act like a child. 23:39:50 you're making a fool of yourself, augur 23:39:50 but others have been kind to you and not mentioned in in public. 23:40:06 and you're still an idiot who thinks i was making an argument that trying to prove somthing 23:40:09 yes, they've obviously had intense discussions in #omg-tusho-is-12 23:40:13 giggling behind my backs 23:40:16 obviously. 23:40:18 *back 23:40:41 hey, you've gotta make shit up to argue. 23:40:45 not me. 23:40:55 augur: so what, how do you know people have noticed it? do they confide in you? 23:40:58 im not the one going around making up things to attack. 23:40:58 are you a priest or something? 23:41:08 shall i quote them to you? 23:41:10 sure. 23:41:11 go ahead. 23:41:52 augur: come on. 23:41:56 this is the first time i see personal insults between channel regulars 23:42:10 lament: i'd like to know what these people have had to say. 23:42:11 let him quote. 23:42:16 you know, forget it, im not playing your game tusho. 23:42:30 augur: quote it, or you're fabricating evidence to scare me or something 23:42:36 it's not a game, I'm intrigued. 23:42:54 because you're trolling, and by responding to your childishness i've already lost to it. 23:43:00 augur: i'll stop trolling. 23:43:02 just quote. 23:43:04 augur: you keep insulting him. 23:43:13 yep, im fabrication evidence. 23:43:18 lament: just let him quote. i'm interested. 23:43:23 or rumored evidence. 23:43:29 augur: tell. 23:43:31 as the case may be. 23:43:36 tell. 23:44:04 augur: come on.. 23:44:36 ask rodger the great. 23:44:44 he's stated that in public, actually 23:44:49 did he? 23:44:50 but do show your non-public quotes 23:44:52 oh well nevermind then. 23:44:55 i'd love to see them 23:45:44 ok im off to bed. 23:45:58 augur: quote 23:46:17 night lament, thank you for (frustratingly) enlightening me to how ObjC handles "class variables" 23:46:40 lament: he pulled it out of his arse, didn't he. 23:46:57 probably 23:47:44 aw tusho are you really that eager to see rodger say you act like a child? 23:47:51 sure. 23:48:10 oh but how do you know i didn't just make it up with my magical typing skills? 23:48:20 i don't. so show me. 23:48:39 RodgerTheGreat: Tusho needs to die in a fire. 23:48:52 * RodgerTheGreat nods 23:49:08 actually i made that up but hey, what he said. 23:49:24 you're retarded, augur. :) 23:49:34 oh, I thought you were just making a statement to me 23:49:38 you claimed that I was the one who needed to fabricate stuff for my arguments 23:49:39 how ironic 23:49:51 i do like RodgerTheGreat's implicit attack, though 23:49:52 very smooth. 23:49:53 i dont, it was another attempt to make a point 23:49:57 one that flew over your head. 23:50:05 woooooosh! 23:50:17 btw, fuck you RodgerTheGreat :) 23:50:24 if i quoted something to you, you'd just come back and say that i made it up 23:50:31 fuck you too, you little pest 23:50:49 that its just text in a log file on my computer and i have no proof rodger ever said it 23:51:04 so theres no point in even quote it at all. 23:51:17 there's a reason people don't take youngsters seriously on the internet, and you, tusho, are a shining example of this. 23:51:20 because you dont want to see the quote, you just want to call me a liar. 23:51:21 :) 23:51:40 RodgerTheGreat: I note that, pre anyone knowing anything about my age, people used to use reasoned arguments in here. 23:51:43 Crazy, isn't it? 23:51:52 reasoned arguments? 23:51:56 http://bash.org/?14207 23:51:58 you mean like the one you used earlier against me? 23:52:08 the one where im trying to prove some point 23:52:15 when all i was doing was asking for evidence 23:52:15 ? 23:52:19 that reasoned argument? 23:52:25 RodgerTheGreat: Everything can be backed up by bash.org! 23:52:34 (Especially when it's totally irrelevant) 23:52:43 tusho 23:52:51 what hes saying is that we didnt need to find out you were 12 23:52:53 we could tell 23:52:55 because you act like it 23:53:12 I don't recall anyone saying anything like that in the past, ever, actually 23:53:19 ofcourse you dont 23:53:20 If you have secret logs of that too I'd enjoy seeing them. 23:53:24 tusho: reading comprehension, dude 23:54:34 you need to fucking chill, tusho. and learn how to argue. you make shit up, and thats bad form. 23:54:57 augur: i am pretty chill right now, actually - you're the one who said 'tusho needs to die in a fire', then RodgerTheGreat called me a little pest 23:55:02 thank god, while tusho is a stupid 12-year old, the rest of us are mature and reasonable 23:55:11 perhaps some chilling might be warranted on both of your parts. 23:55:12 as exemplified by " tusho: you're 12. you're an idiot. go away." 23:55:17 actually i said that as a fake quote to prove a point 23:55:24 you're doing well with your point-proving 23:55:26 you still dont get that. 23:55:27 keep it up 23:55:49 you're 12, i should know better to expect you to be smart enough to grasp these things 23:56:11 this is a lovely ridiculous conversation, it's quite fun. 23:56:33 lament: nevermind the fact that i was talking to you and he was being childish and distracting? please. 23:57:26 i was asking you for evidence, and he was being noise, screaming his head off in typical childlike fashion. what i said valid and relevant. 23:57:38 and if you dont grasp why, you're an idiot too, and you should go away. 23:57:57 augur: you just told the chanop that he's an idiot and he should go away 23:57:58 grats 23:58:28 well, for one 23:58:41 tusho actually said exactly how you can do globals in objc 23:58:45 with code examples 23:58:54 before i bothered to quote the reference 23:58:57 saying that you can is not evidence of how its done 23:59:04 first of all. 23:59:14 you claimed it was done with globals and all i did was ask you to show me how it was done. 23:59:20 all he did after that point was troll. 23:59:40 you claim i was trolling but he was the one contributing nothing to the conversation at all, other than noise.