< 1166833310 0 :Sgeo!n=Sgeo@ool-18bf61f7.dyn.optonline.net JOIN :#esoteric < 1166833685 0 :Asztal!unknown@unknown.invalid PRIVMSG #esoteric :uh... wut < 1166833738 0 :Asztal!unknown@unknown.invalid PRIVMSG #esoteric :I have a hash table which most definitely contains my value which is {19375}... yet the hash table says it doesn't contain it! < 1166833802 0 :Asztal!unknown@unknown.invalid PRIVMSG #esoteric :And I even checked its internal stuff, and it's definitely there, with the same hash code as the list I'm using to look the value up... it's all lies, I hate debugging :P < 1166833926 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :Hmmm. How should I have read() read the socket to search for a newline? What if the next newline is past the end of the receiving buffer? < 1166833928 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :owned < 1166834118 0 :Asztal!unknown@unknown.invalid PRIVMSG #esoteric :Have 2 buffers, read everything you can from the first into the second, and then try to read whole lines out of the second whenever you get more data? < 1166834535 0 :GregorR!unknown@unknown.invalid PRIVMSG #esoteric :Increase the size of the buffer whenever you get a short read. < 1166834588 0 :wooby!n=alan@cpe-66-67-60-51.rochester.res.rr.com JOIN :#esoteric < 1166834698 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :Use line buffering? < 1166834859 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :What socket? < 1166835156 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :And how does one read a line from a socket < 1166835157 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :? < 1166835173 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :that's always confused me < 1166835203 0 :Asztal!unknown@unknown.invalid PRIVMSG #esoteric :Generally you read until you get a '\n' < 1166835212 0 :Asztal!unknown@unknown.invalid PRIVMSG #esoteric :I mean, that's how I'd do it < 1166835402 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :well...yeah < 1166835408 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :But buffering < 1166835492 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :You can't just read one character at a time < 1166835832 0 :Sgeo!unknown@unknown.invalid PRIVMSG #esoteric :ACTION currently has SpySheriff installed < 1166835839 0 :Sgeo!unknown@unknown.invalid PRIVMSG #esoteric :Anyone want me to make a screenshot tour? < 1166835996 0 :oerjan!n=oerjan@hagbart.nvg.ntnu.no JOIN :#esoteric < 1166837052 0 :puddy_!unknown@unknown.invalid PRIVMSG #esoteric :please download debian sarge, burn it to dvd and deliver it to my home < 1166837518 0 :GreaseMonkey!n=thematri@222-152-173-242.jetstream.xtra.co.nz JOIN :#esoteric < 1166837638 0 :ihope_!n=foo@c-71-205-100-59.hsd1.mi.comcast.net JOIN :#esoteric < 1166837684 0 :ihope__!n=foo@c-71-205-100-59.hsd1.mi.comcast.net JOIN :#esoteric < 1166838206 0 :ihope__!unknown@unknown.invalid QUIT :"http://tunes.org/~nef/logs/esoteric/06.08.09" < 1166838552 0 :ihope!unknown@unknown.invalid QUIT :Connection timed out < 1166838617 0 :ihope!n=ihope@c-71-205-100-59.hsd1.mi.comcast.net JOIN :#esoteric < 1166838623 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :Perfect! < 1166838654 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :Pudding rust monster invisible monster vampire mummy snake gnome! < 1166838732 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :Newt centaur dwarf ant nymph snake floating eye rat vortex... < 1166838743 0 :ihope_!unknown@unknown.invalid QUIT :Connection timed out < 1166838755 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :Actually, #nethack would be a better place to babble incoherently in. < 1166838938 0 :wooby!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1166839053 0 :wooby!n=alan@cpe-66-67-49-66.rochester.res.rr.com JOIN :#esoteric < 1166839060 0 :wooby!unknown@unknown.invalid QUIT :Remote closed the connection < 1166839161 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :not necessarily: {-\+{--!.($--=*::[__]&1.2)/\1}++'a'--}_main < 1166839304 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :hmm... < 1166839329 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :I should construct a Lisp interpreter in Python... that lets me execute it and return a value. < 1166839351 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :in Python. < 1166839477 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :sounds like the hardest part would be choosing the data representation < 1166839504 0 :ihope!unknown@unknown.invalid PART #esoteric :? < 1166840085 0 :GreaseMonkey!unknown@unknown.invalid PRIVMSG #esoteric :gonna reboot into windows, recording stuff < 1166840119 0 :GreaseMonkey!unknown@unknown.invalid QUIT :Client Quit < 1166840167 0 :puzzlet!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1166840170 0 :puzzlet!n=puzzlet@122.46.198.22 JOIN :#esoteric < 1166840599 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :I wouldn't even want to attempt a Lisp interpreter. < 1166840630 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :Maybe maybe a Scheme interpreter some day when I'm feeling adventurous, but it's an insane amount of work. < 1166840679 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :i was sort of assuming a full Common Lisp implementation was not intended :) < 1166840700 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :Even just the semantics. < 1166840722 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :CL, being dirty, is going to be harder to write semantics for than Scheme. < 1166840755 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :On the other hand, writing interpreters in Lisp are a lot easier. < 1166840837 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :*is a lot easier. < 1166841572 0 :Razor-X!n=user@user-11faadf.dsl.mindspring.com JOIN :#esoteric < 1166841579 0 :Sukoshi!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1166842054 0 :Razor-X!unknown@unknown.invalid PRIVMSG #esoteric :Guh. I don't like that sound. < 1166842063 0 :Razor-X!unknown@unknown.invalid PRIVMSG #esoteric :I think I'll give my machine a rest. < 1166842068 0 :Razor-X!unknown@unknown.invalid QUIT :Remote closed the connection < 1166842712 0 :oerjan!unknown@unknown.invalid QUIT :"Leaving" < 1166842760 0 :puddy_!unknown@unknown.invalid QUIT :Read error: 110 (Connection timed out) < 1166843610 0 :Asztal!unknown@unknown.invalid QUIT :Read error: 113 (No route to host) < 1166850173 0 :digital_me!unknown@unknown.invalid QUIT :sterling.freenode.net irc.freenode.net < 1166850173 0 :GregorR!unknown@unknown.invalid QUIT :sterling.freenode.net irc.freenode.net < 1166850174 0 :Sgeo!unknown@unknown.invalid QUIT :sterling.freenode.net irc.freenode.net < 1166850174 0 :sekhmet!unknown@unknown.invalid QUIT :sterling.freenode.net irc.freenode.net < 1166850176 0 :mtve!unknown@unknown.invalid QUIT :sterling.freenode.net irc.freenode.net < 1166850176 0 :bsmntbombdood!unknown@unknown.invalid QUIT :sterling.freenode.net irc.freenode.net < 1166850187 0 :GregorR!n=GregorR@c-24-22-56-63.hsd1.mn.comcast.net JOIN :#esoteric < 1166850187 0 :digital_me!n=digital@wikipedia/Digitalme JOIN :#esoteric < 1166850187 0 :sekhmet!n=pez@ppp-70-226-146-102.dsl.mdsnwi.ameritech.net JOIN :#esoteric < 1166850187 0 :Sgeo!n=Sgeo@ool-18bf61f7.dyn.optonline.net JOIN :#esoteric < 1166850187 0 :bsmntbombdood!n=gavin@about/copyleft/user/bsmntbombdood JOIN :#esoteric < 1166850187 0 :mtve!n=imtve@mtve.vm.jvds.com JOIN :#esoteric < 1166850601 0 :Sgeo!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1166853026 0 :anonfunc!n=pimaniac@adsl-70-135-59-64.dsl.chi2ca.sbcglobal.net JOIN :#esoteric < 1166854059 0 :digital_me!unknown@unknown.invalid QUIT :Read error: 110 (Connection timed out) < 1166858169 0 :anonfunc!unknown@unknown.invalid QUIT : < 1166860722 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :damn < 1166860724 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :http://en.wikipedia.org/wiki/OISC < 1166860799 0 :clog!unknown@unknown.invalid QUIT :ended < 1166860800 0 :clog!unknown@unknown.invalid JOIN :#esoteric < 1166860895 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :ACTION likey < 1166870273 0 :wooby!n=alan@cpe-66-67-60-51.rochester.res.rr.com JOIN :#esoteric < 1166871811 0 :jix_!n=jix@L623c.l.strato-dslnet.de JOIN :#esoteric < 1166871898 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :http://www.quinapalus.com/wi-java.html < 1166871902 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :someone kill me :( < 1166871995 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :okokoko: i get just black background with gappletviewer-4.1 h < 1166872019 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :ie is the only one i got it working with < 1166872023 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :wait < 1166872044 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :http://www.quinapalus.com/wi-java.html < 1166872047 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :eh < 1166872050 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :now i see < 1166872065 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :http://www.quinapalus.com/wi-index.html < 1166872074 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :the copy-paste doesn't work :\ < 1166872081 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :use gnu screen < 1166872094 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :me windows-boy < 1166872098 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :now away, please send me the source and i'll take a look < 1166872127 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :k < 1166872128 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :i will < 1166872290 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :i couln't send it < 1166872317 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :it's coded in wireworld tho, so i'm not sure if you'd enjoy the source that much < 1166872461 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :i could learn < 1166872869 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :Ooh, wireworld. Now that was funky. < 1166873251 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :Kind-of reminds me of the OpenTTD logic nastiness. < 1166873690 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :Wireworld is so funny < 1166873727 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :playing with electrons, designing your own components < 1166873800 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :unfortunately the best Wireworld implementation I've known was for Windows and not very advanced (quite fast though) < 1166874077 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :xlife claims to support Wireworld but the rules are incorrect < 1166874178 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :you can implement wireworld yourself in half an hour < 1166874192 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :it's pretty simple < 1166874205 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :not a fast and comfortable implementation though < 1166874211 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :really? < 1166874211 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :I know it's simple < 1166874227 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :well an editor will take long < 1166874228 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :wure < 1166874231 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :*s < 1166874251 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :well, you need to track the positions of the electrons separately in order to speed the calculations up < 1166874256 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :and prolly you'd like to make something, not just watch, so wtf am i whining < 1166874269 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :yes, that's easy < 1166874294 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :not a 1/2 hour project (for me anyway, I'm a bit slow programming) < 1166874294 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :and it's the only optimization i can think of < 1166874306 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :slow bit programming < 1166874313 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric :that's wireworld < 1166874316 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric ::D < 1166874318 0 :okokoko!unknown@unknown.invalid PRIVMSG #esoteric ::) < 1166874382 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :hm, thinking about it, you also have to track electron tails if you don't want to leave 'stale' trails < 1166874481 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :e.g. when two electrons annihilate each other (as if one of them were a positron) there's a state in which the tails remain < 1166874516 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :You can track "interesting regions". And if you _really_ want to optimize, you can analyze the device. Replace wires with delays, so no need to compute the individual electron-movement-transitions. Maybe even recognize recognizable logic gates. < 1166874549 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :in half an hour? :D < 1166874557 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :Well, of course not. < 1166874566 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :hehe, I know, just kidding < 1166874613 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :but it's harder to see it in movement then < 1166874653 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :ACTION considers taking a look at xlife's source to see if he can hack some true-Wireworld code < 1166874659 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :Yes, but obviously you want your wireworld "code" run as fast as inhumanly possible; after all, why did you write it in wireworld if efficiency wasn't an issue? < 1166874724 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :yeah, you're right, I should write a wireworld *compiler* < 1166874807 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :or even better, build the circuits with electronic components instead < 1166874929 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :You could write a wireworld-to-fpga thing. Although then you'd probably actually need to recognize the function of all blocks in the "source", I don't think emulating the wireworld rules with a fpga would work very well. < 1166875444 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :in particular, xlife uses a Von Neumann neighbourhood < 1166875456 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :xlife's implementation of Wireworld, I mean < 1166875802 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :bah, xlife is too buggy < 1166876036 0 :tgwizard!n=tgwizard@c-9b3ee155.178-1-64736c10.cust.bredbandsbolaget.se JOIN :#esoteric < 1166876759 0 :Puddy_!n=puddy@p5495D520.dip.t-dialin.net JOIN :#esoteric < 1166877827 0 :ivan`!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1166877857 0 :Puddy_!unknown@unknown.invalid QUIT :"BitchX-1.1-final -- just do it." < 1166877861 0 :ivan`!i=ivan@wikipedia/ivan JOIN :#esoteric < 1166882563 0 :Asztal!n=asztal@host81-158-88-90.range81-158.btcentralplus.com JOIN :#esoteric < 1166884923 0 :CakeProphet_!n=CakeProp@h232.246.213.151.ip.alltel.net JOIN :#esoteric < 1166885357 0 :CakeProphet!unknown@unknown.invalid QUIT :Read error: 145 (Connection timed out) < 1166885523 0 :CakeProphet_!unknown@unknown.invalid NICK :CakeProphet < 1166887978 0 :aduket!i=aduket@195.174.89.78 JOIN :#esoteric < 1166889622 0 :aduket!unknown@unknown.invalid QUIT :"So long, and thanks for all the fish." < 1166891558 0 :Asztal!unknown@unknown.invalid QUIT :Read error: 113 (No route to host) < 1166892296 0 :CakeProphet!unknown@unknown.invalid QUIT :"haaaaaaaaaa" < 1166893976 0 :wooby!unknown@unknown.invalid QUIT : < 1166894710 0 :Asztal!n=asztal@host81-158-88-90.range81-158.btcentralplus.com JOIN :#esoteric < 1166895127 0 :Sukoshi!n=user@user-11faadf.dsl.mindspring.com JOIN :#esoteric < 1166900414 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :How do you do IO without adding an instruction for it? < 1166900602 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :Memory mapped I think, but how does the intrepreter know when to output? < 1166900915 0 :ihope!n=ns@c-71-205-100-59.hsd1.mi.comcast.net JOIN :#esoteric < 1166900921 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :Do you just catch any and all writes/reads to the special addresses? < 1166900951 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :I want an enzyme language. It'd be fun. < 1166900986 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :ihope: How do you do memory mapped io? < 1166901004 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :In an enzyme language? < 1166901007 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :no < 1166901028 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :I think it's often just catching reading and writing to certain addresses, yeah. < 1166901059 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :Maybe it'd just catch writing, and then it'd automatically write things into memory. < 1166901465 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :ACTION starts coding < 1166902668 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :So yeah, enzymes. (enzymes - inhibitors) `max` cofactors = active enzymes, and an active enzyme performs whatever chemical reaction every tick. < 1166902728 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :Every possible input has a chemical, and every possible output has a chemical. < 1166902738 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :If something can be both input and output, it has two chemicals. < 1166902795 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :And there's also a chemical called inputose. Whenever something is input, one unit of inputose is converted to the input chemical. < 1166902849 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :If an output chemical is ever generated, it is immediately removed and the corresponding thing is output. < 1166902953 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :Pretty simple. < 1166903226 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :What's more usefull, number output or ascii output? < 1166903269 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :You can't output ASCII by outputting numbers. < 1166903275 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :You can output numbers by outputting ASCII. < 1166903318 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :hmm < 1166905039 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :hrm < 1166905073 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :ACTION is confused < 1166905335 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :confusion over < 1166905397 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :octet output sounds even more useful < 1166905410 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :hmm? < 1166905434 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :then you could output e.g. JPEG images too < 1166905817 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :make it configurable! < 1166906369 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :That too. < 1166906544 0 :Asztal!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1166907074 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :yay for regexs! < 1166907080 0 :Asztal!n=asztal@host81-158-88-90.range81-158.btcentralplus.com JOIN :#esoteric < 1166907388 0 :Asztal!unknown@unknown.invalid QUIT :"Chatzilla 0.9.75 [IceWeasel 1.0.1b2] (kidding!)" < 1166908045 0 :ivan`_!i=ivan@wikipedia/ivan JOIN :#esoteric < 1166908573 0 :CakeProphet!n=CakeProp@h14.250.213.151.ip.alltel.net JOIN :#esoteric < 1166909179 0 :ivan`!unknown@unknown.invalid QUIT :Read error: 110 (Connection timed out) < 1166909181 0 :ivan`_!unknown@unknown.invalid NICK :ivan` < 1166911226 0 :ivan`!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1166911267 0 :ivan`!i=ivan@wikipedia/ivan JOIN :#esoteric < 1166913440 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :done with the very fragile and slow assembler < 1166913670 0 :pikhq!n=pikhq@c-75-70-126-209.hsd1.co.comcast.net JOIN :#esoteric < 1166913683 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :now debugging the crappy vm < 1166913752 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :ACTION is releasing a fully documented build of BFM, along with a build of Basm using current best practices, as soon as he fixes a bug that's suddenly popped up. < 1166913813 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :. . . Yes. I'm going to have a *documented* version of BFM. Crazy, no? < 1166914114 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :crazy < 1166914131 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :And now BFM is even well-designed, too. < 1166914162 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :I'm guilty of a crime against Esome, due to this craziness, no doubt. < 1166914552 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :OMG IT WORKS < 1166914560 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :ACTION applaudes < 1166914563 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :ACTION takes off his pants and dances < 1166914570 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :ACTION looks away < 1166914624 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :ACTION puts them back on < 1166914718 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :hrm < 1166914767 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :it not work so good < 1166914930 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric ::( < 1166914957 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :That's because you took off your pants. < 1166914964 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :I put them back on! < 1166914993 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :And the program's still suffering from PTSD. < 1166915105 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :PTSD? < 1166915196 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Post-traumatic stress disorder. < 1166915202 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :aaah < 1166915310 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :step < 1166915312 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :ooops < 1166916185 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :In my opinion, once a language is proven Turing-complete, it's done. < 1166916198 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :ihope: Then BFM was done months ago. < 1166916209 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :ihope: um no < 1166916212 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :Not that I don't like to see fancy new languages that are obviously Turing-complete. :-) < 1166916224 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Like, when I wrote brainfucktobfm.tcl. . .. < 1166916338 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :woot fixed it < 1166916352 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :assembler didn't calculate offsets right < 1166916497 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :ok, I have an assembler and virtual machine for an OISC < 1166916531 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :sample code: http://pastebin.ca/290377 < 1166916532 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Nice. < 1166916544 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :that reads a char, adds one, prints it out < 1166916552 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :then prints a newline < 1166916741 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :http://bsmntbombdood.mooo.com/oisc.tar.gz , be careful, the assembler and vm are both fragile, no error checking < 1166916872 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :ACTION will probably want to fix that for you some time < 1166916932 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :The one instruction is "subtract and branch if not positive", by the way < 1166916955 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :pikhq: Go right ahead < 1166916991 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :bsmntbombdood: Need something to do tonight. ;) < 1166917029 0 :oerjan!n=oerjan@hagbart.nvg.ntnu.no JOIN :#esoteric < 1166917037 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :A line of "a b c": says contents of b = contents of b minus contents of a; if b <= 0, jump to c < 1166917057 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Obviously. ;) < 1166917066 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :OI(S)C ... < 1166917089 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :oerjan: yeah < 1166917100 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :Is that the new b or the old b? < 1166917100 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :oerjan: Soon, I will have a documented BFM build. I won't have to answer as many questions. < 1166917103 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Hallelujah. < 1166917107 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :ihope: new b < 1166917113 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :oerjan: http://bsmntbombdood.mooo.com/oisc.tar.gz < 1166917120 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :And I mean in the comparison of course. < 1166917140 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :if (b = b-a <= 0) goto c; < 1166917155 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :like that? < 1166917157 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :lindi-: not quite < 1166917172 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :if (*b = *b-*a <= 0) goto c; < 1166917190 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :bsmntbombdood: what's the difference if you can't change "b" ? < 1166917202 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :? < 1166917211 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :ok sure if you can change where the pointer points to < 1166917217 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :a, b, and c are all adresses < 1166917222 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :ok then < 1166917227 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :not literal values < 1166917228 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :it makes more sense < 1166917282 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :oh, and if c == -1, go to the next triplet no matter what < 1166917322 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :if (m[p+1] = m[p] - m[p+1] <= 0) p = m[p+2]; else p+=3; < 1166917457 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :or maybe not < 1166917514 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :if ((m[p+1] = m[p] - m[p+1] <= 0) || m[p+2] == -1) p = m[p+2]; else p+=3; < 1166917517 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :hm... if you made the addresses relative then c == 3 could mean that without an exception. < 1166917550 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :yeah, but they're not relative < 1166917599 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :erm < 1166917627 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :meh, just read the source < 1166917772 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :ACTION wishes to note that, if you used GNU C, creating the memory would be somewhat easier. < 1166917789 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :? < 1166917790 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :GNU C supports, among other things, arrays with the size defined at compile time. < 1166917793 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Err. < 1166917794 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Runtime. < 1166917798 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :stick to ANSI C ;) < 1166917799 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric ::-) < 1166917803 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :. . . < 1166917804 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Wait. < 1166917804 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :malloc is easy < 1166917831 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Why the hell are you using malloc if the size of the VM's memory doesn't change at runtime, anyways? < 1166917858 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :i haven't even seen the program :) < 1166917868 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :pikhq: No where in that file is malloc used < 1166917902 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :bsmntbombdood: memset, however, is. < 1166917909 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :. . . Oh. < 1166917913 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :That doesn't allocate anything. < 1166917914 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :XD < 1166917930 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric : int memory[VM_MEMSIZE]; < 1166917937 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :yeah ;) < 1166917963 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Ignore me while I start thinking. < 1166917971 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :how large is VM_MEMSIZE? < 1166917974 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :What does memset do? < 1166917982 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :And why is that file named .tar.gz since it's not gzipped? < 1166917989 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :#define VM_MEMSIZE 65536 < 1166917999 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :ihope: sets a block of memory to a value < 1166918007 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :ihope: Look up in man pages. < 1166918018 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :64k * sizeof(int) bytes is a bit much to allocate from the stack. < 1166918032 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :fizzie: oops < 1166918037 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :The stack? < 1166918070 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :int foo[bar]; is from stack < 1166918073 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :It's a local ("automatic") variable (and not declared static), so it will in most implementations allocated from the (call) stack,. < 1166918075 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :malloc would use heap < 1166918191 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :fizzie: Does it matter? < 1166918205 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :And "static int foo[bar];" would usually use a statically allocated address from the data segment, which might well be faster than accessing via a pointer to the heap. < 1166918214 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :Well, it might not work on some MS-DOS compilers. < 1166918249 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :What's the difference between static and dynamic? < 1166918284 0 :fizzie!unknown@unknown.invalid PRIVMSG #esoteric :(Although malloc()ing that many bytes from the heap might not work either on some MS-DOS compilers/runtimes, at least with particular compiler flags.) < 1166918336 0 :jix_!unknown@unknown.invalid QUIT :"Bitte waehlen Sie eine Beerdigungnachricht" < 1166918388 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :in this context the opposite of static is automatic, not dynamic