< 1166313617 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :ACTION sure hopes SimonRC is joking. < 1166313718 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :I hope he's joking < 1166313725 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :Come on, windows? < 1166313759 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric ::P < 1166314079 0 :Asztal!unknown@unknown.invalid QUIT :"Chatzilla 0.9.75 [IceWeasel 1.0.1b2] (kidding!)" < 1166314092 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :If you have a fd for a new file, and mmap memory of that fd to the desired length of the new file (bigger than the size of the file now, obviously) and write to the mmap'd memory, does it write correctly? < 1166314233 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :Never understood mmap < 1166314281 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :Maps a file's contents in virtual memory to a pointer, with the space occupying a desired length. < 1166314312 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :So writes to the memory change the file? < 1166314360 0 :wooby!n=alan@cpe-66-67-60-51.rochester.res.rr.com JOIN :#esoteric < 1166314366 0 :wooby!unknown@unknown.invalid QUIT :Remote closed the connection < 1166314558 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :Yup. < 1166314592 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :cool < 1166314603 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :portable? < 1166314610 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :POSIX compatible. < 1166314633 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :I mean windows < 1166314640 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :ACTION hides < 1166314641 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :I have no idea. < 1166314667 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :Windows doesen't really have much to hook onto the lower portions of the OS, so I have no idea. < 1166315016 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :Windows is terrible < 1166315145 0 :SimonRC!unknown@unknown.invalid PRIVMSG #esoteric :ACTION goes to bed. < 1166315152 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :Why would one use mmap? < 1166316765 0 :wooby!n=alan@cpe-66-67-60-51.rochester.res.rr.com JOIN :#esoteric < 1166316828 0 :GregorR-Grrr!n=ircont9k@cpe-024-088-009-063.sc.res.rr.com JOIN :#esoteric < 1166316835 0 :GregorR-Grrr!unknown@unknown.invalid PRIVMSG #esoteric :Hi * < 1166316839 0 :GregorR-Grrr!unknown@unknown.invalid PRIVMSG #esoteric :ACTION 's internet is down :( < 1166316850 0 :GregorR-Grrr!unknown@unknown.invalid PRIVMSG #esoteric :I think I'll bring EgoBot back online when it's back up. < 1166316885 0 :GregorR-Grrr!unknown@unknown.invalid QUIT :Client Quit < 1166317333 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :HA HA NO INTERNETS FOR YOU < 1166318104 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :for the record, Windows also has its own memory mapping functions (I think that glibc for MinGW implements POSIX mmap) < 1166318606 0 :tgwizard!unknown@unknown.invalid QUIT :Remote closed the connection < 1166319335 0 :ShadowHntr!i=sentinel@wikipedia/Shadowhntr JOIN :#esoteric < 1166320331 0 :ShadowHntr!unknown@unknown.invalid QUIT :Client Quit < 1166325180 0 :GreaseMonkey!n=thematri@210-86-105-189.jetstream.xtra.co.nz JOIN :#esoteric < 1166325450 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :bsmntbombdood: Because IO with mmap is faster than IO without. < 1166325480 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :Plus it's easier to follow pointer arithmetic than reading arithmetic, just IMO. < 1166328946 0 :thematrixeatsyou!n=thematri@222-152-178-108.jetstream.xtra.co.nz JOIN :#esoteric < 1166329017 0 :GreaseMonkey!unknown@unknown.invalid QUIT :Nick collision from services. < 1166329026 0 :GregorR-W!unknown@unknown.invalid QUIT :Remote closed the connection < 1166329042 0 :thematrixeatsyou!unknown@unknown.invalid NICK :GreaseMonkey < 1166329673 0 :wooby!unknown@unknown.invalid QUIT : < 1166330103 0 :anonfunc!unknown@unknown.invalid QUIT :Read error: 110 (Connection timed out) < 1166332929 0 :wooby!n=alan@cpe-66-67-60-51.rochester.res.rr.com JOIN :#esoteric < 1166332939 0 :wooby!unknown@unknown.invalid QUIT :Client Quit < 1166333533 0 :anonfunc!n=pimaniac@adsl-70-135-59-64.dsl.chi2ca.sbcglobal.net JOIN :#esoteric < 1166333914 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :hmm... < 1166333925 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :I'm making classes in Python that emulate the various computational classes. < 1166333956 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :I've got finite state automata.... but I need to ponder how to implmenet cellular automato. < 1166333958 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :a < 1166334210 0 :tokigun!unknown@unknown.invalid PRIVMSG #esoteric :CakeProphet, use resizable array or dictionary < 1166334269 0 :tokigun!unknown@unknown.invalid PRIVMSG #esoteric :dictionary could be slow but it is easy for implementing such things < 1166334281 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :>.> < 1166334292 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :Python lists are resizable by default. < 1166334298 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :...you don't even specify a size for them. < 1166334334 0 :tokigun!unknown@unknown.invalid PRIVMSG #esoteric :well, but if you need more speed... ;) < 1166334358 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :I know -how- to spatially organize it... < 1166334374 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :but how do I allow the programmer to specify -what- is considered to be a cells "neighborhood" < 1166334387 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :as not all CA use the "8 adjacent cells" thing. < 1166334393 0 :tokigun!unknown@unknown.invalid PRIVMSG #esoteric :aha < 1166334396 0 :tokigun!unknown@unknown.invalid PRIVMSG #esoteric :i see. < 1166334500 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :The states of each of a cells neighbors would be passed to a "transition function"... that determines what the state of the cell becomes based on that list. < 1166334622 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :the transition function is user-defined. < 1166334677 0 :tokigun!unknown@unknown.invalid PRIVMSG #esoteric :if both arbitrary transition function and infinite cells are allowed, it seems difficult to update the state of cells < 1166334825 0 :wooby!n=alan@cpe-66-67-60-51.rochester.res.rr.com JOIN :#esoteric < 1166334833 0 :tokigun!unknown@unknown.invalid PRIVMSG #esoteric :i think you may need additional functions, for example list of affected cells when a state of one cell is changed < 1166334992 0 :wooby!unknown@unknown.invalid QUIT :Client Quit < 1166335133 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :tokigun, The transition function would simply be called on the neighborhoods of the cells neighbors. < 1166335146 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :so you get a domino effect... like a CA < 1166335243 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :but I still don't have an easy way to define a cells neighborhood... other than the usualy 8-adjacent-cells. < 1166335270 0 :tokigun!unknown@unknown.invalid PRIVMSG #esoteric :hmm i thought transition function could be any computable function... right? < 1166335357 0 :tokigun!unknown@unknown.invalid PRIVMSG #esoteric :nope, nevermind. < 1166335415 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :it can be. < 1166335426 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :any function that accepts a list of cells. < 1166336169 0 :ivan`_!i=ivan@adsl-71-143-7-74.dsl.scrm01.pacbell.net JOIN :#esoteric < 1166336184 0 :ivan`_!unknown@unknown.invalid PART #esoteric :? < 1166336245 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :aha < 1166336262 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :A function that determines a cells neighborhood. < 1166336301 0 :CakeProphet!unknown@unknown.invalid PRIVMSG #esoteric :the return value of the function is a list of the positions of all the cells in that cell's neighborhood. < 1166336969 0 :thematrixeatsyou!n=thematri@222-152-178-108.jetstream.xtra.co.nz JOIN :#esoteric < 1166336978 0 :thematrixeatsyou!unknown@unknown.invalid PART #esoteric :? < 1166338786 0 :GreaseMonkey!unknown@unknown.invalid PRIVMSG #esoteric :gonna go now, cya < 1166338793 0 :GreaseMonkey!unknown@unknown.invalid QUIT :"Connection error 130 (Monkey too greasy)" < 1166342399 0 :clog!unknown@unknown.invalid QUIT :ended < 1166342400 0 :clog!unknown@unknown.invalid JOIN :#esoteric < 1166350867 0 :bd_!n=foo@donlanbj3.umeres.maine.edu JOIN :#esoteric < 1166351822 0 :ShadowHntr!n=sentinel@wikipedia/Shadowhntr JOIN :#esoteric < 1166352264 0 :ShadowHntr!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1166355830 0 :anonfunc!unknown@unknown.invalid PART #esoteric :? < 1166356601 0 :tgwizard!n=tgwizard@c-923fe155.178-1-64736c10.cust.bredbandsbolaget.se JOIN :#esoteric < 1166357061 0 :jix_!n=jix@L60d1.l.strato-dslnet.de JOIN :#esoteric < 1166357710 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :CakeProphet: assuming you're not aiming towards supporting a radius-2+ neighbourhood, my guess is that the transition function can be passed all 9 cells and decide by itself which ones to ignore < 1166357754 0 :pgimeno!unknown@unknown.invalid PRIVMSG #esoteric :e.g. just ignore nw, ne, sw, se for a von-Neumann neighbourhood < 1166360171 0 :Asztal!n=asztal@host86-130-84-20.range86-130.btcentralplus.com JOIN :#esoteric < 1166363607 0 :DRMacIver!unknown@unknown.invalid PART #esoteric :? < 1166372945 0 :Asztal!unknown@unknown.invalid QUIT :"Chatzilla 0.9.75 [IceWeasel 1.0.1b2] (kidding!)" < 1166374010 0 :jix_!unknown@unknown.invalid QUIT :"This computer has gone to sleep" < 1166377042 0 :fizbin!n=chatzill@pool-70-17-41-31.pskn.east.verizon.net JOIN :#esoteric < 1166382970 0 :fizbin!unknown@unknown.invalid QUIT :Read error: 104 (Connection reset by peer) < 1166382979 0 :fizbin!n=chatzill@pool-70-17-41-31.pskn.east.verizon.net JOIN :#esoteric < 1166383983 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :Is it counterproductive to mmap a file, then munmap it, only to write to it later? < 1166384065 0 :CakeProphet!unknown@unknown.invalid QUIT :"haaaaaaaaaa" < 1166384969 0 :tgwizard!unknown@unknown.invalid QUIT :Connection timed out < 1166384997 0 :Asztal!n=asztal@host86-130-84-20.range86-130.btcentralplus.com JOIN :#esoteric < 1166386823 0 :oerjan!n=oerjan@hagbart.nvg.ntnu.no JOIN :#esoteric < 1166387067 0 :Asztal!unknown@unknown.invalid QUIT :Read error: 113 (No route to host) < 1166387132 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :Sukoshi: I saw your mmap question in the logs < 1166387174 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :the man page seems to indicate that extra memory is not written to the file < 1166387276 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :"For a file that is not a multiple of the page size, the remaining memory is zeroed when mapped, and writes to that region are not written out to the file. < 1166387898 0 :tgwizard!n=tgwizard@c-923fe155.178-1-64736c10.cust.bredbandsbolaget.se JOIN :#esoteric < 1166389056 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :Oh. < 1166389058 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :Poop. < 1166389107 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :on the other hand, since you have to give the length in advance, why not just enlarge the file itself first? < 1166389121 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :Because I don't want to enlarge the file. < 1166389149 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :If the transfer interrupts, you'll just have a large zero-padded file, which I don't really want. < 1166389158 0 :Sukoshi!unknown@unknown.invalid PRIVMSG #esoteric :I'd rather have a file with no padding. < 1166389198 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :ic < 1166390288 0 :jix_!n=jix@L60d1.l.strato-dslnet.de JOIN :#esoteric < 1166390491 0 :GreaseMonkey!n=thematri@219-89-50-107.dialup.xtra.co.nz JOIN :#esoteric < 1166390953 0 :CakeProphet!n=CakeProp@h176.252.213.151.ip.alltel.net JOIN :#esoteric < 1166391968 0 :wooby!n=alan@cpe-66-67-60-51.rochester.res.rr.com JOIN :#esoteric < 1166392342 0 :jix_!unknown@unknown.invalid QUIT :"Bitte waehlen Sie eine Beerdigungnachricht" < 1166392387 0 :ihope!n=foo@c-71-205-100-59.hsd1.mi.comcast.net JOIN :#esoteric < 1166392573 0 :Rugxulo!i=icechat5@adsl-065-013-115-246.sip.mob.bellsouth.net JOIN :#esoteric < 1166392818 0 :Asztal!n=asztal@host86-130-84-20.range86-130.btcentralplus.com JOIN :#esoteric < 1166393287 0 :pikhq!n=pikhq@c-75-70-125-182.hsd1.co.comcast.net JOIN :#esoteric < 1166394293 0 :Rugxulo!unknown@unknown.invalid QUIT :"Do fish get thirsty?" < 1166395201 0 :Asztal!unknown@unknown.invalid QUIT :"Chatzilla 0.9.75 [IceWeasel 1.0.1b2] (kidding!)" < 1166396019 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :the downside to wikis: when you are reading something that is _not_ a wiki, see a spelling error, and start looking for the edit button... < 1166396232 0 :tgwizard!unknown@unknown.invalid QUIT :Remote closed the connection < 1166396290 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :(the downside to the internet: i am probably the 5190357th person to make that observation) < 1166396344 0 :pikhq!unknown@unknown.invalid PRIVMSG #esoteric :Heheh. < 1166396442 0 :ShadowHntr!i=sentinel@wikipedia/Shadowhntr JOIN :#esoteric < 1166397487 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :ACTION uses the /edit command to capitalize everything oerjan said < 1166397488 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric ::-P < 1166397539 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :hey, that's a derived work! i demand royalties :) < 1166397580 0 :bsmntbombdood!unknown@unknown.invalid PRIVMSG #esoteric :ACTION uses /ctcp ihope STAB to stab ihope  < 1166397583 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :ACTION gives oerjan a crown and robes and everything < 1166397587 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :ACTION was stupid enough to actually try /help edit ... < 1166397645 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :bsmntbombdood: right! Off With His Head, We Say < 1166397847 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :Uh oh... < 1166397853 0 :ihope!unknown@unknown.invalid PRIVMSG #esoteric :ACTION runs away < 1166397926 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :ACTION realizes royalty can be dangerous to his surroundings, and removes the regalia < 1166398054 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :royalty: a Weapon of Mass Destruction < 1166398099 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :ACTION hopes the king and queen of Norway are not Not Amused < 1166398203 0 :oerjan!unknown@unknown.invalid PRIVMSG #esoteric :ACTION thus wishes to point out that presidency is also a WMD. < 1166398517 0 :maverickbna!i=sentinel@wikipedia/Shadowhntr JOIN :#esoteric < 1166398554 0 :ShadowHntr!unknown@unknown.invalid QUIT :Nick collision from services. < 1166398583 0 :maverickbna!unknown@unknown.invalid NICK :ShadowHntr < 1166398665 0 :GreaseMonkey!unknown@unknown.invalid QUIT :Read error: 110 (Connection timed out) < 1166399062 0 :maverickbna!i=sentinel@wikipedia/Shadowhntr JOIN :#esoteric < 1166399128 0 :ShadowHntr!unknown@unknown.invalid QUIT :Nick collision from services. < 1166399138 0 :maverickbna!unknown@unknown.invalid NICK :ShadowHntr