> 1776470447 143315 PRIVMSG #esolangs :14[[07Esolang talk:Categorization14]]4 10 02https://esolangs.org/w/index.php?diff=180115&oldid=180114 5* 03Ais523 5* (+325) 10/* Category:Transfinite */ "special enough" is a bad reason to make a category < 1776471418 22826 :amby!~ambylastn@host-81-178-153-130.as13285.net QUIT :Remote host closed the connection > 1776472007 347780 PRIVMSG #esolangs :14[[07User:Elemental14]]4 10 02https://esolangs.org/w/index.php?diff=180116&oldid=179888 5* 03Elemental 5* (+0) 10 > 1776473236 8243 PRIVMSG #esolangs :14[[07Talk:Mhm!14]]4 10 02https://esolangs.org/w/index.php?diff=180117&oldid=179041 5* 03Aadenboy 5* (+1514) 10/* UFBIM */ new section > 1776473247 28910 PRIVMSG #esolangs :14[[07Talk:Mhm!14]]4 10 02https://esolangs.org/w/index.php?diff=180118&oldid=180117 5* 03Aadenboy 5* (+12) 10 > 1776473352 17401 PRIVMSG #esolangs :14[[07Talk:Mhm!14]]4 10 02https://esolangs.org/w/index.php?diff=180119&oldid=180118 5* 03Aadenboy 5* (+8) 10 < 1776474325 810392 :somefan!~somefan@208.58.192.69 JOIN #esolangs * :realname < 1776474325 889234 :somefan!~somefan@208.58.192.69 CHGHOST ~somefan :user/somefan < 1776478995 880131 :zzo38!~zzo38@host-24-207-46-238.public.eastlink.ca PRIVMSG #esolangs :Does any roguelike game have commands for shoves, slams, grapples, etc? < 1776481174 870135 :zzo38!~zzo38@host-24-207-46-238.public.eastlink.ca PRIVMSG #esolangs :If I want to save the memory (including the stack and the full state of memory allocation) and CPU registers of a running program so that it can later be restored, can this be done, if this is known before the program is compiled? I specifically do not want to save or restore any threads, file descriptors, etc (anything that needs to be handled like that will be in a sepsrate process that doesn't need saved/restored). < 1776482025 739173 :zzo38!~zzo38@host-24-207-46-238.public.eastlink.ca PRIVMSG #esolangs :Can this be done somehow using ptrace? < 1776482178 772160 :zzo38!~zzo38@host-24-207-46-238.public.eastlink.ca PRIVMSG #esolangs :(and/or by using the /proc file system?) < 1776482927 679841 :b_jonas!~x@catv-80-98-84-202.catv.fixed.one.hu PRIVMSG #esolangs :zzo38: yes, it can be done, if you're actually allowed to attach ptrace to the process, eg. it's not a setid program and ptrace isn't disabled globally. you do need the /proc file system to discover the mappings, so you know which areas in the process's virtual memory space to save. < 1776483047 224370 :b_jonas!~x@catv-80-98-84-202.catv.fixed.one.hu PRIVMSG #esolangs :I think usually the easiest way to do this is to let the kernel do it by making the process dump core with a signal. Raise the core dump size limit first using setrlimit. You'll have to make sure that the core dump file can actually be written so you have permission to the directory where it would be written, that directory is either the process's wd or some fixed directory configured at system level < 1776483053 231347 :b_jonas!~x@catv-80-98-84-202.catv.fixed.one.hu PRIVMSG #esolangs :somewhere. < 1776483190 334178 :zzo38!~zzo38@host-24-207-46-238.public.eastlink.ca PRIVMSG #esolangs :I think there would be no need to save the contents of mapped read-only files (or of any parts of the executable file itself which are read-only), although it is necessary to know that they are mapped. < 1776483312 976770 :zzo38!~zzo38@host-24-207-46-238.public.eastlink.ca PRIVMSG #esolangs :As I had mentioned above, the program to be saved and restored expects to be saved and restored, so I would expect that it would have permissions because it would be set up to do this < 1776483593 984622 :lisbeths!uid135845@id-135845.lymington.irccloud.com QUIT :Quit: Connection closed for inactivity < 1776483638 12540 :b_jonas!~x@catv-80-98-84-202.catv.fixed.one.hu PRIVMSG #esolangs :zzo38: yeah, but if the location depends on the working directory then the program would have to be careful in how it chdirs < 1776483684 343404 :zzo38!~zzo38@host-24-207-46-238.public.eastlink.ca PRIVMSG #esolangs :What other considerations are necessary? And, if you do it that way, how can it be restored? < 1776483823 382381 :zzo38!~zzo38@host-24-207-46-238.public.eastlink.ca PRIVMSG #esolangs :(The program to be saved will need to tell the other process to save it, and will also need to have a way to indicate that it has just been restored, since it might e.g. redraw the screen) < 1776484330 234242 :b_jonas!~x@catv-80-98-84-202.catv.fixed.one.hu PRIVMSG #esolangs :zzo38: do you want to be able to preempt the process at any point to freeze it, or will the process call a specific function when it wants to be freezed? < 1776484352 432979 :b_jonas!~x@catv-80-98-84-202.catv.fixed.one.hu PRIVMSG #esolangs :restoring is probably the harder part than saving < 1776484485 153629 :zzo38!~zzo38@host-24-207-46-238.public.eastlink.ca PRIVMSG #esolangs :The process will call a specific function when it wants to be freezed. < 1776485415 779160 :lisbeths!uid135845@id-135845.lymington.irccloud.com JOIN #esolangs lisbeths :lisbeths < 1776485762 956104 :b_jonas!~x@catv-80-98-84-202.catv.fixed.one.hu PRIVMSG #esolangs :that makes this somewhat easier, because then you can skip restoring most of the registers. you don't have to save any registers that normal function calls can overwrite, and the function can save and restore most other registers itself. < 1776485824 82928 :zzo38!~zzo38@host-24-207-46-238.public.eastlink.ca PRIVMSG #esolangs :The stack would still need to be saved, and some registers also might need to be saved but I think which ones they are might depend on the computer? < 1776486140 395943 :b_jonas!~x@catv-80-98-84-202.catv.fixed.one.hu PRIVMSG #esolangs :yes < 1776486266 83443 :b_jonas!~x@catv-80-98-84-202.catv.fixed.one.hu PRIVMSG #esolangs :you need to save registers that normally almost never change, like the per-thread variables pointer, and you may have to save some registers needed to bootstrap the function to a state where it can restore the rest of the registers from memory < 1776486322 954091 :b_jonas!~x@catv-80-98-84-202.catv.fixed.one.hu PRIVMSG #esolangs :the stack can be saved basically the same way as other mapped memory segments, except there may be a special mmap option that you have to save together with all the other mmap and mprotect and similar settings > 1776488383 982958 PRIVMSG #esolangs :14[[07Quantum Oragami14]]4 10 02https://esolangs.org/w/index.php?diff=180120&oldid=180014 5* 03Miui 5* (+499) 10 > 1776488941 561927 PRIVMSG #esolangs :14[[07Quantum Oragami14]]4 10 02https://esolangs.org/w/index.php?diff=180121&oldid=180120 5* 03Miui 5* (+18) 10/* Halting */ > 1776490583 368654 PRIVMSG #esolangs :14[[07Quantum Oragami14]]4 10 02https://esolangs.org/w/index.php?diff=180122&oldid=180121 5* 03Miui 5* (+97) 10/* Halting */ < 1776491137 60942 :cactushead!~cactus_he@2403-580d-b040-0-1942-774d-f8a8-6392.ip6.aussiebb.net QUIT :Read error: Connection reset by peer < 1776491137 926789 :svm!~msv@user/msv JOIN #esolangs msv :msv < 1776491155 851833 :cactushead!~cactus_he@2403-580d-b040-0-1942-774d-f8a8-6392.ip6.aussiebb.net JOIN #esolangs cactushead :cactus head < 1776491273 912734 :msv!~msv@user/msv QUIT :Ping timeout: 248 seconds < 1776494820 931012 :tromp!~textual@2001:1c00:340e:2700:bd40:ea59:f230:b9cd JOIN #esolangs * :Textual User < 1776495547 628133 :orin!~oren@ec2-44-201-23-133.compute-1.amazonaws.com QUIT :Ping timeout: 244 seconds > 1776498649 309480 PRIVMSG #esolangs :14[[07Special:Log/newusers14]]4 create10 02 5* 03Aic 12323 5* 10New user account > 1776500172 118602 PRIVMSG #esolangs :14[[07Special:Log/newusers14]]4 create10 02 5* 03AIC 67112 5* 10New user account < 1776500863 192125 :tromp!~textual@2001:1c00:340e:2700:bd40:ea59:f230:b9cd QUIT :Quit: My iMac has gone to sleep. ZZZzzz… < 1776501333 953317 :tromp!~textual@2001:1c00:340e:2700:bd40:ea59:f230:b9cd JOIN #esolangs * :Textual User > 1776501425 631653 PRIVMSG #esolangs :14[[07Language list14]]4 10 02https://esolangs.org/w/index.php?diff=180123&oldid=179874 5* 03Asahi Inoue 5* (+22) 10 > 1776501559 443096 PRIVMSG #esolangs :14[[0714]]4 10 02https://esolangs.org/w/index.php?diff=180124&oldid=180026 5* 03Asahi Inoue 5* (+1818) 10Removed redirect to [[Katakamuna Lang]] > 1776503157 913457 PRIVMSG #esolangs :14[[07Language list14]]4 10 02https://esolangs.org/w/index.php?diff=180125&oldid=180123 5* 03PlaceReporter99 5* (+27) 10Add my language > 1776503499 131997 PRIVMSG #esolangs :14[[07Playerlang14]]4 10 02https://esolangs.org/w/index.php?diff=180126&oldid=180051 5* 03Initys 5* (+0) 10/* Remembered number (secondary register) */ > 1776503655 355183 PRIVMSG #esolangs :14[[07Playerlang14]]4 10 02https://esolangs.org/w/index.php?diff=180127&oldid=180126 5* 03Initys 5* (-6) 10/* Remembered number (secondary register) */ > 1776504361 912733 PRIVMSG #esolangs :14[[07Crazy J14]]4 10 02https://esolangs.org/w/index.php?diff=180128&oldid=177175 5* 03Blashyrkh 5* (+4137) 10Formalize my own IJ-specific abstraction elimination algorithm, reorganize the doc a little bit < 1776504917 304593 :tromp!~textual@2001:1c00:340e:2700:bd40:ea59:f230:b9cd QUIT :Quit: My iMac has gone to sleep. ZZZzzz… > 1776504929 543764 PRIVMSG #esolangs :14[[07Playerlang14]]4 10 02https://esolangs.org/w/index.php?diff=180129&oldid=180127 5* 03Initys 5* (+369) 10/* Remembered number (secondary register) */ > 1776505163 56685 PRIVMSG #esolangs :14[[07Talk:Playerlang14]]4 10 02https://esolangs.org/w/index.php?diff=180130&oldid=180035 5* 03Initys 5* (+36) 10 > 1776505707 214955 PRIVMSG #esolangs :14[[07Playerlang14]]4 10 02https://esolangs.org/w/index.php?diff=180131&oldid=180129 5* 03Initys 5* (+1213) 10/* 99 Coins */ > 1776505740 982610 PRIVMSG #esolangs :14[[07Playerlang14]]4 10 02https://esolangs.org/w/index.php?diff=180132&oldid=180131 5* 03Initys 5* (+7) 10 < 1776505808 887415 :tromp!~textual@2001:1c00:340e:2700:bd40:ea59:f230:b9cd JOIN #esolangs * :Textual User < 1776507594 20415 :lisbeths!uid135845@id-135845.lymington.irccloud.com QUIT :Quit: Connection closed for inactivity > 1776509588 924431 PRIVMSG #esolangs :14[[07Crazy J14]]4 10 02https://esolangs.org/w/index.php?diff=180133&oldid=180128 5* 03Blashyrkh 5* (+215) 10/* Abstraction elimination rules */ Eta reduction rule is common for all approaches > 1776510199 926703 PRIVMSG #esolangs :14[[07Playerlang14]]4 10 02https://esolangs.org/w/index.php?diff=180134&oldid=180132 5* 03Initys 5* (+161) 10/* Conditionals */ > 1776510552 766834 PRIVMSG #esolangs :14[[07Playerlang14]]4 10 02https://esolangs.org/w/index.php?diff=180135&oldid=180134 5* 03Initys 5* (+105) 10/* Inspired by */ > 1776510701 345268 PRIVMSG #esolangs :14[[07Monky14]]4 10 02https://esolangs.org/w/index.php?diff=180136&oldid=179801 5* 03Menguinponky 5* (+10) 10/* Syntax */ > 1776510839 517782 PRIVMSG #esolangs :14[[07Monky14]]4 10 02https://esolangs.org/w/index.php?diff=180137&oldid=180136 5* 03Menguinponky 5* (+0) 10/* Syntax */ > 1776511387 673339 PRIVMSG #esolangs :14[[07Esolang talk:Categorization14]]4 10 02https://esolangs.org/w/index.php?diff=180138&oldid=180115 5* 03Yayimhere2(school) 5* (+219) 10/* Category:Graph-based? */ < 1776513813 596512 :amby!~ambylastn@host-81-178-153-130.as13285.net JOIN #esolangs * :realname > 1776514479 914070 PRIVMSG #esolangs :14[[07Monky14]]4 10 02https://esolangs.org/w/index.php?diff=180139&oldid=180137 5* 03Menguinponky 5* (-2) 10/* Cat program */ < 1776514690 300530 :lisbeths!uid135845@id-135845.lymington.irccloud.com JOIN #esolangs lisbeths :lisbeths > 1776515313 457750 PRIVMSG #esolangs :14[[07T F14]]4 M10 02https://esolangs.org/w/index.php?diff=180140&oldid=179973 5* 03Esolang lover123 5* (+12) 10/* Programs */ > 1776516089 780712 PRIVMSG #esolangs :14[[07Calculus Constructio14]]4 10 02https://esolangs.org/w/index.php?diff=180141&oldid=180041 5* 03PlaceReporter99 5* (+1225) 10 > 1776517462 448623 PRIVMSG #esolangs :14[[07Playerlang14]]4 10 02https://esolangs.org/w/index.php?diff=180142&oldid=180135 5* 03Initys 5* (+1052) 10/* Examples */ > 1776517615 93376 PRIVMSG #esolangs :14[[07Playerlang14]]4 10 02https://esolangs.org/w/index.php?diff=180143&oldid=180142 5* 03Initys 5* (+5) 10/* Examples */ > 1776517712 254654 PRIVMSG #esolangs :14[[07Playerlang14]]4 10 02https://esolangs.org/w/index.php?diff=180144&oldid=180143 5* 03Initys 5* (-9) 10/* Game */ > 1776518091 221686 PRIVMSG #esolangs :14[[07User:Ractangle/Sandbox/Comments14]]4 10 02https://esolangs.org/w/index.php?diff=180145&oldid=179816 5* 03PrySigneToFry 5* (+378) 10 > 1776518474 807663 PRIVMSG #esolangs :14[[07The Second Coming14]]4 10 02https://esolangs.org/w/index.php?diff=180146&oldid=179525 5* 03PrySigneToFry 5* (+163) 10 > 1776518901 592314 PRIVMSG #esolangs :14[[07Crazy J14]]4 10 02https://esolangs.org/w/index.php?diff=180147&oldid=180133 5* 03Blashyrkh 5* (+2909) 10Separate subsection for numeric constants and Church arithmetics > 1776518958 968499 PRIVMSG #esolangs :14[[07Crazy J14]]4 M10 02https://esolangs.org/w/index.php?diff=180148&oldid=180147 5* 03Blashyrkh 5* (-1) 10/* Church numerals */ Formatting typo > 1776519749 290746 PRIVMSG #esolangs :14[[07Crazy J14]]4 10 02https://esolangs.org/w/index.php?diff=180149&oldid=180148 5* 03Blashyrkh 5* (+5) 10/* Church numerals */ More precise definition of inlined addition operator > 1776520776 793993 PRIVMSG #esolangs :14[[07Codesh ()14]]4 M10 02https://esolangs.org/w/index.php?diff=180150&oldid=179042 5* 03StavWasPlayZ 5* (-2) 10 < 1776521748 586684 :svm!~msv@user/msv NICK :msv