00:00:00 --- log: started forth/08.07.29 00:00:15 --- quit: madgarden (Read error: 110 (Connection timed out)) 00:12:03 --- join: nighty^ (n=nighty@i60-43-0-66.s02.a017.ap.plala.or.jp) joined #forth 00:32:50 --- quit: nighty^ ("Disappears in a puff of smoke") 01:02:46 --- join: Raystm2 (i=Ray@unaffiliated/raystm2) joined #forth 01:49:57 --- quit: ygrek (Remote closed the connection) 01:51:56 --- join: ygrek (i=user@gateway/tor/x-34cae1ded687bd50) joined #forth 02:10:40 --- join: kar8nga (n=ctc@j-142.vc-graz.ac.at) joined #forth 02:20:20 --- join: qFox (i=C00K13S@234pc222.sshunet.nl) joined #forth 02:56:21 --- quit: kar8nga ("Leaving.") 03:03:07 --- quit: ASau (Read error: 110 (Connection timed out)) 03:11:44 --- join: ASau (n=user@84.253.85.38) joined #forth 04:06:04 --- part: manuel_ left #forth 04:27:07 --- join: kar8nga (n=ctc@i-36.vc-graz.ac.at) joined #forth 05:05:46 --- quit: vixey (Remote closed the connection) 05:18:52 --- join: gnomon_ (n=dsl@CPE0050eb372bdb-CM000f9f776f96.cpe.net.cable.rogers.com) joined #forth 05:30:54 --- quit: gnomon (Read error: 110 (Connection timed out)) 05:31:27 --- join: TreyB_ (n=trey@74.203.168.157) joined #forth 05:34:31 --- quit: ramkrsna (Read error: 104 (Connection reset by peer)) 05:35:34 --- quit: TreyB (Read error: 113 (No route to host)) 06:24:03 --- nick: gnomon_ -> gnomon 07:26:47 --- quit: ecraven ("b") 07:27:19 --- join: ecraven (n=nex@140.78.42.101) joined #forth 07:37:19 --- join: JasonWoof (n=jason@c-65-96-161-30.hsd1.ma.comcast.net) joined #forth 07:37:19 --- mode: ChanServ set +o JasonWoof 07:52:45 --- join: |cepera| (n=cepera@86.110.163.29) joined #forth 08:25:01 --- join: Maki_ (n=Maki@adsl-224-84.eunet.yu) joined #forth 08:41:46 --- quit: ecraven ("bbl") 09:09:30 --- quit: |cepera| (Client Quit) 09:48:19 --- quit: kar8nga ("Leaving.") 10:08:16 --- join: tgunr (n=davec@70-41-252-164.cust.wildblue.net) joined #forth 10:10:55 --- join: Quartus` (n=Quartus`@205.205.50.1) joined #forth 11:33:08 --- join: BobFunk (n=mathiasc@176.pool85-54-189.dynamic.orange.es) joined #forth 11:33:08 --- quit: Quartus` (Read error: 104 (Connection reset by peer)) 11:38:07 --- join: vixey (n=nono@amcant.demon.co.uk) joined #forth 11:50:07 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 11:50:08 --- mode: ChanServ set +o tathi 12:01:46 --- quit: ygrek (Remote closed the connection) 12:04:26 --- join: ygrek (i=user@gateway/tor/x-9f894c3c46e1094b) joined #forth 12:14:31 --- join: ecraven (n=nex@plc31-103.linzag.net) joined #forth 12:30:59 --- quit: ygrek (Remote closed the connection) 13:12:08 --- join: Quartus` (n=Quartus`@205.205.50.2) joined #forth 13:42:03 --- quit: Quartus` (Read error: 54 (Connection reset by peer)) 13:52:18 --- join: kar8nga (n=ctc@m-177.vc-graz.ac.at) joined #forth 13:57:49 --- quit: madwork ("?OUT OF DATA ERROR") 13:58:30 --- join: madwork (n=foo@204.138.110.15) joined #forth 14:32:27 --- quit: ecraven (Remote closed the connection) 14:33:31 --- join: ecraven (n=nex@plc31-103.linzag.net) joined #forth 14:45:52 --- quit: ecraven ("bbl") 14:47:39 --- quit: Maki_ ("Leaving") 14:51:01 --- part: kar8nga left #forth 16:02:28 --- join: BirdReynolds (n=mhx@e243118.upc-e.chello.nl) joined #forth 16:37:27 It's awfully quiet around here ... 16:37:38 --- quit: BirdReynolds ("a quit that really quits") 16:43:45 --- quit: qFox ("Time for cookies!") 16:43:55 --- quit: crc () 16:47:29 --- quit: ASau` (Read error: 110 (Connection timed out)) 17:04:14 --- join: crc (n=charles@c-68-83-96-46.hsd1.pa.comcast.net) joined #forth 17:19:22 Hi. 17:24:13 --- quit: crc ("Leaving.") 17:25:02 Hi Quartus. I hope you are well. 17:45:39 Hanging in, Ray. How are you? 17:46:30 hi 18:02:40 Hey Slava. 18:03:35 hello 18:10:32 --- quit: tathi ("leaving") 18:34:00 --- join: aum (n=aum@60-234-243-247.bitstream.orcon.net.nz) joined #forth 18:34:51 first aumforth screenshot: http://www.freenet.org.nz/misc/aumforth.jpg 18:38:31 nice! 18:40:42 it's a start anyway, and the gui is itself written in forth 18:40:52 cool 18:41:41 the source-level debugger will prove a challenge 18:42:57 i also need to implement online help - via my 'forth/c/c++ compiler' - grab comment markups and stick 'em into an indexed help file 18:44:40 slava: do you have C-level signal handling in factor? 18:46:09 yes, but you cannot write signal handlers _in_ factor 18:46:31 i catch stack underflows by mprotect()ing the page below the stack, and if i get a sigsegv at this address, i throw a data stack underflow error 18:46:37 i also handle divisoin by zero in this manner 18:47:04 i do source level debugging with stc 18:47:09 its even easier with dtc 18:48:13 i've had trouble handling SEGV 18:48:56 the first segfault, the handler fires fine, and in the handler I longjmp() back and re-set the handler, but on the second segfault, the handler doesn't fire, and the program crashes 18:49:17 longjmp() is no good from a signal handler 18:49:23 fuck 18:49:31 signal handling is such a pain in the ass to do right across platforms 18:49:57 i have to write code for every cpu*os combo 18:50:06 so what should i do in a handler? just set a flag and return, and let the vm pick up the flag? 18:50:20 i change the IP and SP in the signal context, then return from the signal handler 18:50:40 so the signal handler itself is very trivial; it makes the code jump to the real handler 18:50:43 the real handler can throw an error, etc 18:51:06 on mac os x, you cannot use signals 18:51:11 wtf? 18:51:12 that's a real pain 18:51:22 but osx is bsd-derived, isn't it? 18:51:23 --- join: crc (n=charlesc@c-68-83-96-46.hsd1.pa.comcast.net) joined #forth 18:51:27 even if you have a handler for SIGSEGV or SIGFPE, os x pops ups the 'crash reporter' 18:51:37 the kernel doesn't have signals in os x, they're emulated in user space in an imprecise fashion 18:51:44 the native facility is called mach exception ports 18:51:47 and its considerably more complex 18:51:56 you need to spawn a thread which listens on the exception port 18:52:07 and when an exception comes in, it suspends your main thread and changes its IP to the handler 18:52:39 aum: http://factorcode.org/responder/cgi/gitweb.cgi?p=factor.git;a=blob;f=vm/mach_signal.c;hb=HEAD 18:58:30 holy hell 18:58:40 you've had to do a lot of yak shaving to get that to work 18:59:24 there's also windows :-) 18:59:52 but now it all works so i have reliable memory protection fault detection on all platforms 18:59:59 well done 19:00:10 i'm not sure if i want to bust my ass to support osx 19:00:24 i haven't got the $$ to buy an osx box anyway 19:00:41 kinda hard to develop it if you don't have a box :) 19:00:49 but factor's code is all BSD licensed so you can look at how i deal with signals 19:00:58 k 19:01:04 thx for that 19:01:30 i might have to support osx eventually, since the fltk widgets i'm using supports it 19:02:17 i could #ifdef-out signal code for osx compiles till I get access to an osx platform 19:02:40 * aum wonders if sourceforge has any osx SSH shellboxes available 19:04:22 oh, the signal handling api works on os x 19:04:31 its just not useful becausey ou get the crash reporter popup anyway 19:04:52 --- join: madgarden (n=madgarde@CPE001d7e527f89-CM00159a65a870.cpe.net.cable.rogers.com) joined #forth 19:05:04 i might have to get a warez version of osx for x86 and run it in a vmware 19:05:10 aum: if you want ssh access to a ppc or intel mac, just ask 19:05:21 thanks 19:05:51 we have a powerpc g5 and a core duo imac 19:05:59 dinner time... 19:05:59 even just a stripped-down heavily-chrooted environment with the gcc toolchain and libs would do just fine 20:13:32 --- join: gnomon_ (n=dsl@CPE0050eb372bdb-CM000f9f776f96.cpe.net.cable.rogers.com) joined #forth 20:16:30 --- quit: gnomon (Read error: 110 (Connection timed out)) 20:16:53 --- nick: gnomon_ -> gnomon 20:29:54 --- quit: aum ("Leaving") 21:55:56 --- join: ygrek (i=user@gateway/tor/x-15e3867f2acbb594) joined #forth 22:36:47 --- quit: BobFunk () 22:38:29 --- join: ramkrsna (n=ramkrsna@unaffiliated/ramkrsna) joined #forth 23:14:48 --- join: probonono (n=User@ppp103-111.static.internode.on.net) joined #forth 23:20:59 --- join: kar8nga (n=ctc@j-9.vc-graz.ac.at) joined #forth 23:21:51 --- part: kar8nga left #forth 23:59:16 --- join: ecraven (n=nex@140.78.42.101) joined #forth 23:59:59 --- log: ended forth/08.07.29