< 1207271182 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :http://www.codu.org/jsmips/ // now with a non-working example! < 1207271328 0 :ais523|busy!unknown@unknown.invalid PRIVMSG #esoteric :+quit < 1207271329 0 :thutubot!unknown@unknown.invalid QUIT :"ThutuBot quitting" < 1207271330 0 :ais523|busy!unknown@unknown.invalid QUIT :"(1) DO COME FROM ".2~.2"~#1 WHILE :1 <- "'?.1$.2'~'"':1/.1$.2'~#0"$#65535'"$"'"'&.1$.2'~'#0$#65535'"$#0'~#32767$#1"" < 1207271344 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Alright < 1207271349 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :lovely mips < 1207271376 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :What is it supposed to do? < 1207271384 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Print Hello, 3!\n < 1207271391 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Instead, it just prints Hello, 3 < 1207271396 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :And then dies a horrible death. < 1207271451 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :and what, exactly, is mips? < 1207271460 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :A processor [family] < 1207271477 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Oh < 1207271502 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Right, the one the bunny was named after < 1207271512 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :One that Gregor is implementing in Javascript for no good reason. < 1207271520 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Well, its nice < 1207271522 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :For one GREAT reason: VIM IN MY BROWSER < 1207271538 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Might I recommend MMIX instead? < 1207271554 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :I already tried MMIX - intolerably slow at 64 bits. < 1207271563 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Fair 'nough. < 1207271570 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :x86? :p < 1207271580 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Also, MMIX is practically CISC compared to MIPS. < 1207271614 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :vim in your browser eh? < 1207271623 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :You know, writing an OS is trivial if you don't run more than one program on it. :p < 1207271625 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Vim is nice, I suppose. A browser variant could be.. helpful? < 1207271646 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Really, all you need is the ability to load executables. ;p < 1207271648 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :OK, so right now I can BARELY do "Hello, world", but still, I'm on my way to vim :P < 1207271669 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :(and, arguably, drivers.) < 1207271670 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :osdev.org is a fun site about OS development < 1207271677 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :wildhalcyon: Well aware. < 1207271683 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Drivers are the bane of my existance < 1207271684 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Pretty sure everyone is :P < 1207271688 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :(my kernel courtesy of docs from osdev.org) < 1207271699 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :well, I wasn't aware until quite recently < 1207271722 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :and I've had a fantastic time with it. < 1207271732 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :I'm taking an OS class in a few months... < 1207271840 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Whereas I, in a few months, am entering college. < 1207271851 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :congrats pikhq < 1207271867 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :I, in a few months, am entering grad school. < 1207271872 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Bastard. < 1207271880 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Of course, oerjan has all of us beat. < 1207271886 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Mr. Ph.D. . . :p < 1207271892 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :lol < 1207271902 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :You mean DOCTOR Ph.D. < 1207271932 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :GregorR: I thought 'Mr. Foo, Ph.D.' as acceptable, as was 'Dr. Foo'? < 1207271945 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Yeah, I'm just making a joke X-P < 1207271951 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Mmkay. < 1207271962 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :When (if) I get my Ph.D, I'll change my nickname to DrGregor :P < 1207271970 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :LMAO < 1207271986 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :I suppose mine would have to become DrPikhq. < 1207272014 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Of course, I could get a (non-accredited) Ph.D. tonight. < 1207272015 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :I'm gonna change mine to Bill < 1207272025 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Hahah < 1207272030 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Hey, if Gene Gray can declare himself a Doctor of Cubic, then so can I. < 1207272031 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric ::p < 1207272034 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :I could get a non-accredited Ph.D - HEY, I just did! < 1207272051 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :;) < 1207272068 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Ah, but I have a doctorate in doctoral studies! < 1207272072 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :ACTION scribbles "Ph.D. IN AWESOMEOSITISM" on a cocktail napkin and nails it to the wall. < 1207272084 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Kickass. < 1207272091 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Its "Awesomology" < 1207272098 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :any REAL student of awesomology knows that. < 1207272115 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :wildhalcyon: Yes, and it's the New Reformed Judaic Front. < 1207272116 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric ::p < 1207272118 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Awesomeology is to Awesomeositism as Astrology is to Astronomy < 1207272119 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :But awesomologists are also notorious spellers < 1207272128 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :burn < 1207272143 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :sorry then. How about we compromise on awesomonomy? < 1207272159 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :ACTION scribbles "Ph.D. IN AWESOMONOMY" on a cocktail napkin and nails it to the wall. < 1207272177 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :ACTION scribbles 'Ph.D. in 1337' on the wall < 1207272204 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Or should I say, '|>|-|.|) 1|\| 1337'? < 1207272204 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :ACTION scribbles "Ph.D. in 1337, granted 1337" on a cocktail napkin. < 1207272321 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Goddamn lament is fucking right... >:( < 1207272331 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :I should just program in smalltalk < 1207272347 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :ouch! that really sucks! < 1207272360 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Its just really frustrating < 1207272377 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :every time I come up with some freakin' language idea, it turns out its part of smalltalk. < 1207272377 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :oklopol claims to have invented smalltalk, too. < 1207272395 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :i think i'm the only person here who hasn't invented smalltalk. < 1207272404 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :well, except that one time... < 1207272420 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :lament, we're not concerned with drunken smalltalk inventing < 1207272452 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :That happens to everyone < 1207272463 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :seriously though, smalltalk is brilliant < 1207272468 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :yes < 1207272473 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :it really is < 1207272501 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :it has stability issues due to everything being so open < 1207272515 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :I've been working on creating a dynamic language, and they really got most of it incredibly right < 1207272519 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :which alan kay considers to be a plus ("nobody's a user, everybody's a programmer") < 1207272531 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :wildhalcyon: alan kay is a genius < 1207272536 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :i suggest you read stuff by him < 1207272557 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :I've been reading everything I can about the language. I'll try to look up some stuff by him < 1207272570 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :he's mostly interested in education < 1207272574 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :these days, at least < 1207272602 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :this is interesting: http://www.vpri.org/pdf/Pisa_RN_2007_007_a.pdf < 1207272611 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :I think there's areas where smalltalk could be improved (and I'm not talking about syntax now...) < 1207272635 0 :oklopol!unknown@unknown.invalid PRIVMSG #esoteric :lament: well, i still don't know much about smalltalk < 1207272642 0 :oklopol!unknown@unknown.invalid PRIVMSG #esoteric :so i *may* have invented it < 1207272717 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :actually, instead, http://www.vpri.org/pdf/human_condition.pdf < 1207272723 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :"on human condition" < 1207273069 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :he also said "Actually I made up the term "object-oriented", and I can tell you I did not have C++ in mind." < 1207273178 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :I saw that quote < 1207273181 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :and it made me like him < 1207273208 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :he must be quite disappointed < 1207273235 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :he and the team he was with developed OO, modern GUI, wysiwig word processor, laptop ~40 years ago < 1207273255 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :he expected the world to be in much better shape by this point < 1207273259 0 :boily!n=boily@bas2-quebec14-1177930924.dsl.bell.ca JOIN :#esoteric < 1207273369 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :ACTION needs to play with squeak more < 1207273443 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :ACTION needs to code his kernel more < 1207273452 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :wildhalcyon needs to think more < 1207273478 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :That goes without saying. < 1207273513 0 :olsner!unknown@unknown.invalid PRIVMSG #esoteric :was that intentional or do you not know the secret of /me? < 1207273534 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :I know the secret.. I just wasn't thinking < 1207273553 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :alan kay also said about smalltalk that it was only interesting in the 70s < 1207273562 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :why did he say that? < 1207273564 0 :olsner!unknown@unknown.invalid PRIVMSG #esoteric :I see < 1207273622 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :wildhalcyon: he doesn't think it's good enough < 1207273629 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :hence the whole reinventing computing project < 1207273639 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Well, its not good enough, but its still better than C++ < 1207273669 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :pretty much everything is better than C++ < 1207273675 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :why is that even a "but" < 1207273691 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :of course it's better than c++, but it's not good enough < 1207273702 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :sorry, had it backwards ;-) < 1207273748 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Consider that C itself is better than C++ for most intents and purposes. < 1207273750 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric ::p < 1207273769 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :(if you need objects, though, don't use C. . . GObject *will* give you nightmares.) < 1207273791 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :If I needed objects I'd just fake it with structs < 1207273833 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :why not just use... python or something < 1207273841 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :well, I'm saying if I was forced to use C < 1207273853 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :which has happened, recently < 1207273866 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :If I were forced to use C, I'd make whoever forced me into it regret it. < 1207273875 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :And use the asm keyword. < 1207273891 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :haha, nice < 1207273898 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Exclusively. < 1207273939 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :int main(){volatile asm ("; program code here.");} < 1207273999 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :int main(){malbolge(...);} < 1207274024 0 :boily!unknown@unknown.invalid PRIVMSG #esoteric :pardon my C ignorance, but whate is the meaning of volatile? < 1207274027 0 :boily!unknown@unknown.invalid PRIVMSG #esoteric :s/whate/what/ < 1207274064 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :boily: In GNU C, it indicates that any optimisation surrounding that asm keyword is a Bad Idea(TM). < 1207274118 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Common cases where it should be used include anything fiddling with the IDT, the GDT, the page table, the address size, etc. < 1207274138 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :(although anyone fiddling with those from C deserves to be shot. :p) < 1207274170 0 :boily!unknown@unknown.invalid PRIVMSG #esoteric :thanks! a very interesting keyword indeed. < 1207274194 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Its used in multi-process environments too < 1207274210 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :(to prevent it from caching the result) < 1207274326 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Sorry, I should explain that better. The keyword can be used to prevent caching of variables that might be accessed by multiple processes to ensure they always get the current, accurate content. < 1207274414 0 :boily!unknown@unknown.invalid PRIVMSG #esoteric :hence, they are volatile. am I correct? < 1207274502 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :exactly < 1207275089 0 :Judofyr!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1207275121 0 :Judofyr!n=Judofyr@cE699BF51.dhcp.bluecom.no JOIN :#esoteric < 1207275309 0 :boily!unknown@unknown.invalid QUIT :"Schtroumpf!" < 1207275640 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :ACTION nods < 1207276364 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :right then < 1207276790 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :s/In GNU C/In C/ < 1207276811 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :It means it could change at ANY MOMENT ZOMG, so you can't cache it etc. < 1207277040 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :GregorR: Ah. < 1207277052 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Fine. volatile, as it applies to the asm keyword. ;p < 1207277072 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Oh, I assumed you meant volatile on a variable. < 1207277090 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Right, volatile on asm is the same idea - either way, it prevents optimizations. < 1207277128 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :As I explained, and someone else explained in slightly more detail. < 1207277141 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :I again don't know why JSMIPS isn't working >_< < 1207277144 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Stupid "Hello, 3" < 1207277146 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :it hates you < 1207277150 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :I have another interpretation that I thought of. . . < 1207277159 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :volatile = "You can't touch this". < 1207277159 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric ::p < 1207277171 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Uhhh, that's just plain incorrect. < 1207277175 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :I know. < 1207277178 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :const = "You can't touch this" :P < 1207277182 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :But that song's stuck in my head. < 1207277247 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :It depends on who "you" is in the context. For pikhq's version, "you" would be the optimizer < 1207277262 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :for gregorR's version, "you" is the programmer, or.. anyone else. < 1207277309 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :In my version (that is, volatile on variables), you CAN modify it - it's just saying that it could ALSO be modified by forces unknown. < 1207277314 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :for MC Hammer's version, "you" would be anyone attempting to touch whatever the hell he was talking about it. < 1207277335 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :you can't modify consts < 1207278328 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Learning smalltalk has really taught me how much I don't know about the history of computer science < 1207278362 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :wildhalcyon: Which is what I was thinking. < 1207278389 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :BTW, I prefer thinking about how much I *do* know. < 1207278396 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :pikhq: That I didn't know anything about computer science? < 1207278397 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :And, meanwhile, I WANT A RELAY MACHINE!!! < 1207278403 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Oh. That sucks. < 1207278423 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :wildhalcyon: My version of 'you can't touch this' is what you described. < 1207278503 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :See? Everyone's right < 1207278566 0 :Tritonio_!n=Tritonio@150.140.229.252 JOIN :#esoteric < 1207278589 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :'Cept for MC Hammer. < 1207278653 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :Yeah, those pants were wrong < 1207279811 0 :adu!n=andrew@pool-71-178-14-80.washdc.fios.verizon.net JOIN :#esoteric < 1207280718 0 :wildhalcyon!unknown@unknown.invalid PRIVMSG #esoteric :alright, I'm out < 1207280733 0 :wildhalcyon!unknown@unknown.invalid PART #esoteric :? < 1207282124 0 :GregorR-L!n=gregor@71.237.179.105 JOIN :#esoteric < 1207282140 0 :GregorR-L!unknown@unknown.invalid PRIVMSG #esoteric : 4005fc: 27bdfa70 addiu sp,sp,-1424 < 1207282140 0 :GregorR-L!unknown@unknown.invalid PRIVMSG #esoteric :... < 1207282140 0 :GregorR-L!unknown@unknown.invalid PRIVMSG #esoteric : 400628: afa50594 sw a1,1428(sp) < 1207282146 0 :GregorR-L!unknown@unknown.invalid PRIVMSG #esoteric :This cannot POSSIBLY be right. < 1207282235 0 :GregorR-L!unknown@unknown.invalid PRIVMSG #esoteric :Does anyone else agree here? < 1207282361 0 :Sgeo!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1207282469 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :experimental comics time! < 1207282470 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :http://www.nonlogic.org/dump/images/1207278828-walls.png < 1207282484 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :I'd really like to hear what people have to say about this idea. < 1207282548 0 :Sgeo!n=Sgeo@ool-18bf68ca.dyn.optonline.net JOIN :#esoteric < 1207282658 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :GregorR-L? < 1207282688 0 :GregorR-L!unknown@unknown.invalid PRIVMSG #esoteric :It's reserving 1424 bytes, then storing to 1428. < 1207282705 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :I understand MIPS assembly. I was asking for your opinion. < 1207282720 0 :GregorR-L!unknown@unknown.invalid PRIVMSG #esoteric :Oh, I hadn't read it, I'm on #mipslinux hoping for some help with that X-P < 1207282790 0 :GregorR-L!unknown@unknown.invalid PRIVMSG #esoteric :I'm confused. < 1207282800 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :it's kinda "arty" < 1207282808 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :hence "experimental comics time" < 1207282842 0 :GregorR-L!unknown@unknown.invalid PRIVMSG #esoteric :Unfortunately, I'm generally incapable of appreciating art >_> < 1207282850 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :http://193.33.156.5/Database/Filestore/allyouneedislove.jpg < 1207283204 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :I guess if I was going to define my "statement", the idea came to me from looking at a lot of pictures of graffiti. People carrying conversations and shouting out their proclamations to the world without saying a word, and for all the pain, hatred and suffering, there is still joy and optimisim. < 1207283258 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :"there is beauty here, if you know how to see it." < 1207284020 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :RodgerTheGreat: i like it < 1207284027 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :thanks, lament < 1207284047 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :what did you come away from it with? < 1207284049 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :also, cool photo :D < 1207284147 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :i can't say i come away from it with much... i just like it < 1207284159 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :(that's also true of all the great masterpieces, don't feel bad) < 1207284169 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :yeah, it's all good < 1207284180 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :your sig is weird < 1207284201 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :it's a stylized "JE" < 1207284282 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :ah < 1207284298 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :what did it look like to you? < 1207284352 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :either an i ching pattern, or a little like the chinese character for rain < 1207284359 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :but clearly something asian :) < 1207284364 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :haha- cool < 1207284383 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :can you link me to an image of the "rain" character? < 1207284409 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :http://z.about.com/d/chineseculture/1/0/v/Y/rain.gif < 1207284427 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :I like it < 1207284436 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :chinese characters in general are amazingly cool < 1207284495 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :of all the things for my signature to resemble... rain. fitting. < 1207284802 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :yes, very. Why? < 1207285002 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :I like rain. For so many people it seems to represent sadness, but I find joy in the rain. I want to live under the grey skies of my home state again. < 1207285088 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :i like rain, but i don't like grey skies. < 1207285299 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :學 < 1207285326 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :that's a traditional chinese character meaning "education" < 1207285333 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :the bottom half is a child < 1207285347 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :the top half is stuff falling into the child's open head < 1207285349 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :sick < 1207285359 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :poetic < 1207285371 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :same thing :) < 1207286729 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :haha < 1207286731 0 :GreaseMonkey!n=saru@122-57-226-168.jetstream.xtra.co.nz JOIN :#esoteric < 1207286737 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :hey, GreaseMonkey < 1207286746 0 :GreaseMonkey!unknown@unknown.invalid PRIVMSG #esoteric :'lo < 1207288342 0 :GregorR-L!unknown@unknown.invalid PRIVMSG #esoteric :l < 1207288633 0 :RodgerTheGreat!unknown@unknown.invalid PRIVMSG #esoteric :good night everyone < 1207288643 0 :RodgerTheGreat!unknown@unknown.invalid QUIT : < 1207290661 0 :Sgeo!unknown@unknown.invalid QUIT :"Ex-Chat" < 1207290665 0 :GregorR-L!unknown@unknown.invalid QUIT :"Leaving" < 1207290768 0 :atsampson!unknown@unknown.invalid QUIT :Read error: 113 (No route to host) < 1207294478 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Well, I got a little bit farther with JSMIPS ... and now I'm having the malloc problem again (y'know, the problem I fixed) < 1207294546 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :ARGH - damn it. My "fix" to malloc, I've just realized, was actually a bug I inadvertently introduced while trying to fix something else. Now I've fixed that bug X_X < 1207295653 0 :Iskr!n=i@host44-20-dynamic.56-82-r.retail.telecomitalia.it JOIN :#esoteric < 1207295999 0 :clog!unknown@unknown.invalid QUIT :ended < 1207296000 0 :clog!unknown@unknown.invalid JOIN :#esoteric < 1207298025 0 :atsampson!n=ats@7hw.poik.net JOIN :#esoteric < 1207298236 0 :ais523!n=ais523@147.188.254.202 JOIN :#esoteric < 1207298267 0 :thutubot!n=thutubot@147.188.254.202 JOIN :#esoteric < 1207299389 0 :adu!unknown@unknown.invalid QUIT :"Bye" < 1207300064 0 :atsampson!unknown@unknown.invalid QUIT :Read error: 113 (No route to host) < 1207301626 0 :atsampson!n=ats@7hw.poik.net JOIN :#esoteric < 1207302553 0 :GreaseMonkey!unknown@unknown.invalid QUIT :"zzz" < 1207303674 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :OMFG O_O < 1207303678 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :newlib was actually broken O_O < 1207303700 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :It was trying to mark bins as used or unused, but it expected 'unsigned long' to be 64 bits, so it could mark 64 bins. < 1207303716 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :unsigned long is 32-bits on ... uh, just about everything, including the default MIPS ABI. < 1207303729 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :So it was shifting off the edge >_< < 1207304172 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :http://www.codu.org/jsmips/ YAY < 1207304177 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :OK, next step ... fibonacci? < 1207304732 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :OK, can't print numbers greater than 9 X-D < 1207305113 0 :Iskr!unknown@unknown.invalid PRIVMSG #esoteric :ahahahah < 1207305127 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :GregorR: why not? < 1207305131 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :is it a problem in printf? < 1207305692 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Haven't diagnosed it yet. < 1207305706 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :It's going into a perhaps-infinite loop in memchr < 1207306233 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :+quit < 1207306234 0 :thutubot!unknown@unknown.invalid QUIT :"ThutuBot quitting" < 1207306238 0 :ais523!unknown@unknown.invalid QUIT :"food, will be back later" < 1207307472 0 :ais523!n=ais523@147.188.254.202 JOIN :#esoteric < 1207307476 0 :thutubot!n=thutubot@147.188.254.202 JOIN :#esoteric < 1207308092 0 :thutubot!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1207308248 0 :ais523!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1207309356 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :Deewiant, I tried to build cfunge on windows using MSVC++ Express, it didn't hit a POSIX issue, it failed to find stdint.h and that is C99................... < 1207309411 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :AnMaster: VC doesn't support C99 < 1207309436 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :AnMaster: and in any case, the windows C runtime library (MSVCRT) doesn't support C99 stuff so even using MinGW doesn't help < 1207309447 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :since your printfs won't work, for instance < 1207309479 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :although maybe, since you're using only the format strings defined in the std headers, they might work... dunno < 1207309488 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :(e.g. %I64d instead of the standard %lld) < 1207309502 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :assuming the MinGW headers are smart enough to define stuff the way the libraries are < 1207309662 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :Deewiant, so basically Windows doesn't do C99? < 1207309669 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :that bad, didn't expect it < 1207309692 0 :ais523!n=ais523@147.188.254.202 JOIN :#esoteric < 1207309721 0 :thutubot!n=thutubot@147.188.254.202 JOIN :#esoteric < 1207309741 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :Deewiant, I was planning to add #ifdef to allow non-posix, but if it can't even do C99... < 1207309783 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :Deewiant, I may get access to a solaris on ultrasparc system next week (or it may be freebsd on ultrasparc), plan to test it on it if I can < 1207309843 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :Deewiant, anyway know any non-gcc compiler that can actually do C99? < 1207309977 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :GCC doesn't do C99. It only does most of it. http://gcc.gnu.org/gcc-4.3/c99status.html < 1207309987 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :Granted, it's a lot more of C99 than MSVC. < 1207309997 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :yeah I know that < 1207310015 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :fizzie, and I don't use most of it, what I want to make sure is that I'm not using GCC extensions < 1207310023 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :I know I can compile on non-glibc < 1207310027 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :I tried on freebsd < 1207310031 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :but well that is still gcc < 1207310079 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :fizzie, anyway the code worked fine under gcc 3.x last I tried (about a week ago, may not work any longer) < 1207310085 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :3.4 I think I tried < 1207310117 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :I normally use 4.1.2, but it works on 4.2 too < 1207310190 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :If you're speaking of Windows compilation, lcc-win32 is free-for-non-commercial-use and claims to support "95 %" of c99 (according to it's author), but I wouldn't know any details about that. < 1207310214 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :lcc hm? < 1207310234 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :there is always mingw I guess < 1207310242 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :I don't think lcc-win32 has the posix combattability things mingw has, though. < 1207310248 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :hm true < 1207310275 0 :ais523!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1207310281 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :I do use posix stuff but well I aim for #ifdefs where needed < 1207310289 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :There was a printf patch on the mingw mailing list which made it automagically convert %..ll to %..I64 on Windows, but I couldn't find out whether they actually applied it. < 1207310333 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :fizzie, I use use the defines from inttypes.h for that < 1207310471 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :Well, that would work. At least in my /usr/i586-mingw32msvc/include/inttypes.h it has the correct prefix. < 1207310487 0 :thutubot!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1207312712 0 :ais523!n=ais523@147.188.254.202 JOIN :#esoteric < 1207312772 0 :thutubot!n=thutubot@147.188.254.202 JOIN :#esoteric < 1207312785 0 :atsampson!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1207313068 0 :atsampson!n=ats@7hw.poik.net JOIN :#esoteric < 1207313668 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :AnMaster: the mingw headers do appear to be correct for MSVCRT, checked < 1207313686 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :and it appears fizzie already told you, too < 1207314248 0 :jix!n=jix@dyndsl-091-096-044-010.ewe-ip-backbone.de JOIN :#esoteric < 1207314773 0 :Judofyr!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1207314786 0 :Judofyr!n=Judofyr@cE699BF51.dhcp.bluecom.no JOIN :#esoteric < 1207316799 0 :Tritonio_!unknown@unknown.invalid QUIT :Remote closed the connection < 1207317137 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :Deewiant, hm no mkdir/chdir/rmdir function!? < 1207317140 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :functions* < 1207317158 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :and strdup not in normal header? < 1207317179 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :mkdir is posix < 1207317194 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :and strdup? < 1207317196 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :and strdup is docced at http://msdn2.microsoft.com/en-us/library/ms235454(VS.80).aspx < 1207317204 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :according to google anyway < 1207317206 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :see what they say < 1207317277 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :guess too old mingw maybe < 1207317287 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :as I gave up on msvc < 1207317487 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :CMakeFiles/cfunge.dir/src/instructions/sysinfo.obj(.text+0x2fb):sysinfo.c: undefined reference to `environ' < 1207317489 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :lovely < 1207317540 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :environ doesn't exist < 1207317667 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :#ifdef __WIN32__ < 1207317667 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :/ Fake it! < 1207317667 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :static const char * environ[] = { "SYSTEM=wincrap", "SUPPORTS=not environ at least, get a sane system" }; < 1207317667 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :#else < 1207317667 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :# ifndef _GNU_SOURCE < 1207317669 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :extern char **environ; < 1207317671 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :# endif < 1207317673 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :#endif < 1207317675 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :there we go < 1207317677 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric ::) < 1207317721 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :AnMaster: that's crap >_< < 1207317732 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :Deewiant, not my fault the system isn't sane < 1207317739 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :but yes I said it, wincrap < 1207317754 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :AnMaster: "sanity" is relative < 1207317767 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :I don't think the existence of extern char**environ defines sanity ;-) < 1207317777 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :Deewiant, oh? < 1207317789 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :Deewiant, it is how it is supposed to be declared < 1207317815 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :and who decides what's "supposed to be" :-) < 1207317823 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :POSIX in this case < 1207317832 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric : where argc is the argument count and argv is an array of character pointers to the arguments themselves. In addition, the following variable: < 1207317832 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric : extern char **environ; < 1207317832 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric : is initialized as a pointer to an array of character pointers to the environment strings. The argv and environ arrays are each terminated by a null < 1207317832 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric : pointer. The null pointer terminating the argv array is not counted in argc. < 1207317850 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :AnMaster: Windows is older than POSIX :-) < 1207317858 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :Deewiant, unix is even older :) < 1207317859 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :so you could argue that POSIX is insane ;-) < 1207317863 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :and it did it that way too iirc < 1207317887 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :probably, that's what the POSIX standard is mostly based on < 1207317909 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :ACTION had heard that Windows was an insane implementation of POSIX < 1207317916 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :AnMaster: so now you're calling amiga "insane", too? ;-) < 1207317931 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :it's possible to download things from Microsoft such that Windows is POSIX-compliant, apparently < 1207317945 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :yep < 1207317953 0 :Deewiant!unknown@unknown.invalid PRIVMSG #esoteric :or take the simpler alternative and use cygwin < 1207317955 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :but the result is the POSIX equivalent of a DS9K; yes, technically it complies with the spec, but nobody else does things like that < 1207318000 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :(also: cpp plus echo form a conforming C89 implementation, and cat is a conforming DIS29500 implementation, because sometimes the bars for conformance are set really low) < 1207318038 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :BTW, the echo says 'This is a diagnostic message. Compilation successful' < 1207318063 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :or something along those lines < 1207318070 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :the diagnostic message is very important, though < 1207318216 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :hah < 1207318349 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :(effectively, the standard says that you can implement anything you like as an extension, but have to put up at least one diagnostic when you do this) < 1207318367 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :(and if the original program was standards-compliant, your diagnostic is just a compiler warning) < 1207318395 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :the hardest part of complying with C89 is handling #error, which has to cause compilation to fail, but cpp can do that for you < 1207318504 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :the OOXML compliance rules, however, seem to be there just so people can't complian to Microsoft that they don't comply with their own spec < 1207318511 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :s/complian/complain/ < 1207318951 0 :oklopol!unknown@unknown.invalid QUIT :Read error: 110 (Connection timed out) < 1207320255 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric : static const char * environ[] = { "SYSTEM=wincrap", "SUPPORTS=not environ at least, get a sane system" }; < 1207320261 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :I find I need to write a line < 1207320263 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :int finite; < 1207320268 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :eh? < 1207320269 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :to get C++ programs to link under DJGPP < 1207320273 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :well yes I did do that < 1207320282 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :what? < 1207320284 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :a new line yes < 1207320289 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :there isn't a finite defined anywhere in any standard relevant to that AFAIK < 1207320293 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :static const char * environ[] = { < 1207320293 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric : "SYSTEM=windows crap", < 1207320293 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric : "SUPPORTS=not environ at least, get a sane system if you want this to work." < 1207320293 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :}; < 1207320295 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :but the link fails if I don't do that < 1207320296 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :was my final version < 1207320309 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523, what is int finite? < 1207320319 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :it doesn't do anything obvious < 1207320325 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :where is it used? < 1207320330 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :I thing libstdcxx references it by mistake < 1207320347 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :it certainly shouldn't be referencing it deliberately because it's in my namespace < 1207320355 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :but if it's not there I get a link error < 1207320377 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :mhm < 1207320381 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :well whatever < 1207320390 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523, I do not target dos < 1207320408 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :most people don't nowadays < 1207320419 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523, and MSVC I gave up on, but it does compile and run, with many warnings, under win32 using mingw < 1207320420 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :but of course, if you write strictly conforming C89, you target /everything/ < 1207320430 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :I write C99 + POSIX < 1207320455 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :some of C99 is good < 1207320458 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :but it never really caught on < 1207320467 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :well, it is in future I hope < 1207320471 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :stdint.h :) < 1207321162 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523: < 1207321164 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :"but I won't fix any bugs that can't be reproduced on a POSIX < 1207321164 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric : system. Patches are welcome if they don't mess up source too much (anything < 1207321164 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric : using win32 API counts as messing up)." < 1207321190 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :ACTION wonders if any win32 functions happen to be the same as POSIX functions by chance < 1207321206 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :I doubt it, though, because POSIX functions are generally lowercase, and Win32 API functions are generally CamelCase < 1207321214 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :was just about to say that < 1207321266 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :Deewiant, how can you get environment variables on windows just using C99 and NOT using windows API < 1207321280 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ACTION changes that to Win32/64 just in case < 1207321281 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :fork() : 0 parameters < 1207321287 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :CreateProcessEx() : 7 parameters < 1207321287 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523, eh? < 1207321300 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :the Win32 API is really quite bloated < 1207321304 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :yes indeed < 1207321320 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :and they failed to get it right first time < 1207321325 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :so that is why there is the Ex one < 1207321327 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :heh < 1207321328 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :thus the Ex at the end of the name < 1207321353 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :though of course POSIX isn't perfect either, consider tmpfile/mkstemp and whatever < 1207321363 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :yes < 1207321376 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :tmpfile was in C89, though, so it's probably the best one to use from a portability perspective < 1207321387 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :there's nothing in its definition that suggests that it has to be insecure, either < 1207321394 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :oh yes tmpfile and tempfile < 1207321400 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :never got the difference between them < 1207321416 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :(I was actually shocked to find that tmpfiles were often created on disk, because creating them entirely in memory complies with the standard just fine) < 1207321432 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523, thankfully I currently don't need any temp files < 1207321443 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :C-INTERCAL has been known to use quite a few < 1207321452 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :temp .c files to feed to gcc, mostly < 1207321468 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :well yes < 1207321474 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :but on DOS, it also needs to create a response file to tell gcc what its command line is, because there's a limit on command line length in DOS < 1207321474 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :that would be a valid case < 1207321485 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523, um that short? < 1207321494 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :127 chars, I think < 1207321499 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :oh that is short < 1207321514 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523, even on POSIX the command line may have a limit < 1207321521 0 :RedDak!n=dak@87.19.82.209 JOIN :#esoteric < 1207321522 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :yes, but I don't reach it < 1207321524 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :that is one reason for xargs < 1207321543 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523, I remember reaching it in one project, so many different *.o all on one line < 1207321551 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :in the final link line < 1207321575 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :ACTION runs ls -l `find .` in their home directory just to see if it will work < 1207321602 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :somehow I doubt it < 1207321608 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :but it's possible that bash can handle that sort of thing < 1207321623 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :GNU tend not to like hard-coded limits < 1207321624 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523, and of course the build system deciding to use something like build/x86_64-unknown-linux-gnu/src/blah.o for each entry didn't help < 1207321645 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523, hm I think in recent kernels the space for command line arguments is dynamic < 1207321663 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :2.6.20 or later or something like that < 1207321666 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :AnMaster: I once wrote an IOCCC entry which defined no variables < 1207321676 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :it used the argv space, which is editable, to do all its calculations < 1207321682 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :obfuscated C? < 1207321693 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :yes < 1207321698 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523, oh interesting, you needed to cast a lot of things then I assume? < 1207321702 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :anyway link to that thing? < 1207321716 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :AnMaster: it's not publically online, but as it lost I may as well paste it < 1207321738 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :I remember seeing something like a very simple flight sim with the source in the shape of a plane < 1207321745 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :IOCCC winner iirc < 1207321807 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :ACTION tries to find the file < 1207321812 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :it's on here somewhere, I think < 1207321840 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :hm < 1207321848 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523, -Wall -Wextra ? ;) < 1207321864 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :failed really badly < 1207321874 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :because I bet you need to cast things a lot < 1207321878 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ais523, failed how? < 1207321883 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :at -Wall < 1207321886 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ah < 1207321889 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :because there were lots of statements with no effect < 1207321893 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :that I put there deliberately < 1207321896 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ah I see < 1207321901 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :and yes, the operator precedences were meant to be confusing < 1207321913 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ACTION waits for ais523 to pastebin it < 1207321922 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :ACTION waits for ais523 to find it < 1207322022 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :http://pastebin.ca/971073 < 1207322033 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :it should have a blank line at the start but pastebin.ca keeps removing it for some reason < 1207322051 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :gcc '-D_(a,b,_,d,e)=while(a(d(e(_?putchar(b):(c=getchar())<0?b:c))))' -Dunsigned= -funsigned-char -ansi -o ioccc5 -O2 ioccc5o1.c < 1207322052 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :heh < 1207322053 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :is the compile line < 1207322066 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :wow < 1207322080 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :argv isn't unsigned char** in theory < 1207322083 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :but it has to be in practice < 1207322087 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :so I write unsigned char** in the program < 1207322102 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :I think it is signed char? < 1207322106 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :and then use -Dunsigned= -funsigned-char to make the program strictly conforming when I've told the compiler not to mess it up < 1207322109 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :AnMaster: it's plain char < 1207322118 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :which is either signed or unsigned depending on the implementation < 1207322127 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :on gcc you can choose which it is with command line arguments < 1207322137 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :that's what the -funsigned-char is for < 1207322143 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ok < 1207322147 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :what does the program do? < 1207322153 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :lots < 1207322160 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :I don't dare to run it < 1207322166 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :I can't review it to be safe < 1207322177 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :there are 10 programs hidden in there < 1207322192 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :brainfuck too it seems? < 1207322193 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :and don't worry, it doesn't make any library calls but putchar and getchar < 1207322203 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :AnMaster: yes, the program's legal BF < 1207322210 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :legal Perl too, if you hadn't guessed < 1207322231 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :I can't see putchar mentioned anywhere? < 1207322238 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :it's in the gcc command line < 1207322244 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :so as not to spoil the appearance of the program < 1207322245 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ioccc5o1.c:25:10: warning: trigraph ??) ignored, use -trigraphs to enable < 1207322246 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :hm? < 1207322257 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :sorry, I forgot to specify -trigraph < 1207322264 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :it's needed for the code to work properly < 1207322276 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :oh wait, -ansi turns it on < 1207322303 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ah -E helps a bit < 1207322310 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :(trigraphs are an obscure and rarely-used C89 feature, but this time I was using them to type chars like ] with a sequence of characters that was nop in Brainfuck) < 1207322315 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :shows the pre-processes code < 1207322317 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :still weird < 1207322329 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :at least it helps you figure out which of the underscores are macro calls < 1207322348 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :$ gcc '-D_(a,b,_,d,e)=while(a(d(e(_?putchar(b):(c=getchar())<0?b:c))))' -Dunsigned= -funsigned-char -trigraphs -O2 ioccc5o1.c < 1207322349 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :(I use _ for a lot, because it's the only identifier I could use in that program, pretty much) < 1207322351 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :$ ./ioccc5 < 1207322351 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :Segmentation fault < 1207322356 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :is that supposed to happen? < 1207322357 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :AnMaster: that's expected < 1207322361 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :why? < 1207322368 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :because you didn't give it a command-line arg < 1207322376 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :and what command line to give? < 1207322387 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :try ./ioccc5 `cat ./ioccc5` < 1207322397 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :does nothing? < 1207322399 0 :ais523!unknown@unknown.invalid PRIVMSG #esoteric :sorry, ./ioccc5 "`cat ./ioccc5`" < 1207322408 0 :AnMaster!unknown@unknown.invalid PRIVMSG #esoteric :ýýýýýýýýýýýýJGGGGGGA>>>>>>]ZZZZZZNKKKKKK?<<<<<