00:00:00 --- log: started forth/15.03.31 00:06:23 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 00:07:43 --- join: true-grue_ (~grue@95-27-185-107.broadband.corbina.ru) joined #forth 00:10:08 --- quit: true-grue (Ping timeout: 252 seconds) 00:11:51 --- quit: xyh (Ping timeout: 256 seconds) 00:19:13 --- quit: nighty-_ (Ping timeout: 256 seconds) 00:22:26 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 00:36:02 --- join: MrMobius (~Joey@c-68-45-16-225.hsd1.nj.comcast.net) joined #forth 01:38:37 --- join: abcq2 (~griffin@118.211.63.149) joined #forth 01:39:08 Can anyone here tell me why I'm getting an "unstructured" error? http://pastebin.com/74DcXn9V 01:58:16 --- quit: irsol (Remote host closed the connection) 02:05:23 --- join: irsol (~irsol@unaffiliated/contempt) joined #forth 02:08:32 --- quit: mnemnion (Remote host closed the connection) 02:09:16 abcq2: it's probably the two WHILEs causing the problem 02:09:35 ah, okay 02:09:53 I assumed it would work like a break statement, given its placement 02:10:04 Is tehre a better way to structure it? 02:11:31 Make it a single test, check for Y, check for N, then use OR. 02:13:08 Okay, cheers! 02:14:55 Something like this: 02:15:00 : askyn 02:15:02 begin 02:15:03 key toupper dup dup 02:15:05 [CHAR] Y = swap 02:15:06 [CHAR] N = or 02:15:08 invert while 02:15:09 ." Please press Y or N" cr 02:15:11 repeat 02:15:12 ; 02:15:33 Note: that's untested. 02:29:28 impomatic: that works perfectly! (with an over added to retain the value from the ='Y') Thanks! 02:39:26 --- quit: ASau (Ping timeout: 265 seconds) 02:44:37 --- quit: nighty-_ (Ping timeout: 264 seconds) 02:47:23 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 02:52:22 --- quit: nighty-_ (Max SendQ exceeded) 02:53:59 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 03:05:02 --- quit: nighty-_ (Ping timeout: 244 seconds) 03:08:01 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 03:14:37 --- quit: nighty-_ (Ping timeout: 255 seconds) 03:16:20 --- join: ASau (~user@46.115.142.53) joined #forth 03:17:43 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 03:23:07 --- quit: nighty-_ (Ping timeout: 244 seconds) 03:29:45 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 03:53:38 --- quit: atommann (Quit: Leaving) 04:00:05 --- quit: ASau (Ping timeout: 248 seconds) 04:25:59 --- quit: nighty-_ (Ping timeout: 250 seconds) 04:32:52 --- join: vsg1990 (~vsg1990@cpe-67-241-148-119.buffalo.res.rr.com) joined #forth 04:37:15 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 05:10:30 --- quit: nighty-_ (Ping timeout: 264 seconds) 05:19:36 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 05:29:36 --- join: ASau (~user@46.115.142.53) joined #forth 05:40:00 --- quit: abcq2 (Quit: Leaving) 05:44:33 --- quit: nighty-_ (Ping timeout: 265 seconds) 05:49:51 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 05:55:10 --- join: agumonkey2 (~user@2a02-8420-6f5c-4200-021f-3bff-fe7d-f603.rev.sfr.net) joined #forth 05:55:13 hello there 05:55:48 some days you wake up and you think, could one fits a Forth in the 512b of a MBR ? 05:59:39 in assembly; possibly with FAT/EXT/NTFS drivers, so it could actually be useful ~_~; 06:00:59 Do what I do -- Partition with 4 megs of free space at the end of the disc that's just wholly unallocated. oωo. 06:01:11 Have the MBR point there, continue. -ω-. 06:01:29 (Don't do this on SSD's, obviously.) 06:02:24 --- join: xyh (~xyh@2001:250:3002:5550:6ea1:cc0f:bcb2:b187) joined #forth 06:03:28 --- nick: DKordic`` -> DKordic 06:04:44 and the MBR will just fetch code from that partition ? 06:06:52 Well, that's what you said just after.. (slow self) 06:07:21 I don't get why this would be bad on SSD though. Also it wouldn't be as universal. 06:07:48 So you do use a Forth bootloader or a whole OS ? 06:09:16 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 06:13:58 --- quit: mnemnion (Ping timeout: 256 seconds) 06:17:55 SSD's use uinpartitioned space to store garbage collection data and stuff, so the code there'd get overwritten randomly. oωo. 06:17:59 *unpartitioned 06:18:24 I don't use a FOrth-style bootloader, but I know GRUB uses a techneique similar to this since it doesn't actually fit in the MBR. oωo. 06:19:38 Actually, if all you're looking for is that, just use Grub. It works with all three filesystems you mentioned, oωo. 06:22:47 True, they require a dummy partition to store most of the code. 06:23:08 No I was just thinking about booting from Forth and if it could fit in 512b of asm. 06:24:27 I don't get why this would be bad on SSD though. Also it wouldn't 06:24:27 be as universal. 06:24:27 So you do use a Forth bootloader or a whole OS ? [15:06] 06:24:27 *** mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) has joined 06:24:30 channel #forth [15:07] 06:24:34 *** mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) has quit: Ping 06:24:37 timeout: 256 seconds [15:12] 06:24:40 SSD's use uinpartitioned space to store garbage collection data and 06:24:44 stuff, so the code there'd get overwritten randomly. oωo. [15:16] 06:24:47 *unpartitioned 06:24:50 I don't use a FOrth-style bootloader, but I know GRUB uses a 06:24:53 techneique similar to this since it doesn't actually fit in the 06:24:56 MBR. oωo. 06:24:57 Actually, if all you're looking for is that, just use Grub. It works 06:25:01 with all three filesystems you mentioned, oωo. [15:18] 06:25:03 True, they require a dummy partition to store most of the code. 06:25:06 [15:21] 06:25:09 No I was just thinking about booting from Forth and if it could 06:25:14 fit in 512b of asm. 06:25:17 ERC> I don't get why this would be bad on SSD though. Also it wouldn't 06:25:20 be as universal. 06:25:20 So you do use a Forth bootloader or a whole OS ? [15:06] 06:25:24 *** mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) has joined 06:25:27 channel #forth [15:07] 06:25:30 *** mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) has quit: Ping 06:25:33 timeout: 256 seconds [15:12] 06:25:36 SSD's use uinpartitioned space to store garbage collection data and 06:25:40 stuff, so the code there'd get overwritten randomly. oωo. [15:16] 06:25:44 *unpartitioned 06:25:47 I don't use a FOrth-style bootloader, but I know GRUB uses a 06:25:50 techneique similar to this since it doesn't actually fit in the 06:25:51 MBR. oωo. 06:25:54 Actually, if all you're looking for is that, just use Grub. It works 06:25:57 with all three filesystems you mentioned, oωo. [15:18] 06:26:00 True, they require a dummy partition to store most of the code. 06:26:03 [15:21] 06:26:06 No I was just thinking about booting from Forth and if it could 06:26:10 fit in 512b of asm. 06:26:14 ERC> I don't get why this would be bad on SSD though. Also it wouldn't 06:26:15 agumonkey2: please don't flood the channel 06:26:17 be as universal. 06:26:20 So you do use a Forth bootloader or a whole OS ? [15:06] 06:26:21 *** mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) has joined 06:26:24 channel #forth [15:07] 06:26:27 *** mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) has quit: Ping 06:26:30 timeout: 256 seconds [15:12] 06:26:35 SSD's use uinpartitioned space to store garbage collection data and 06:26:38 stuff, so the code there'd get overwritten randomly. oωo. [15:16] 06:26:41 *unpartitioned 06:26:44 I don't use a FOrth-style bootloader, but I know GRUB uses a 06:26:47 techneique similar to this since it doesn't actually fit in the 06:26:50 MBR. oωo. 06:26:50 Actually, if all you're looking for is that, just use Grub. It works 06:26:54 with all three filesystems you mentioned, oωo. [15:18] 06:26:57 True, they require a dummy partition to store most of the code. 06:27:00 [15:21] 06:27:03 oωo; I think he made an oops. 06:27:03 No I was just thinking about booting from Forth and if it could 06:27:06 fit in 512b of asm. 06:27:10 ERC> kkkra I don't get why this would be bad on SSD though. Also it wouldn't 06:27:14 be as universal. 06:27:17 So you do use a Forth bootloader or a whole OS ? [15:06] 06:27:20 *** mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) has joined 06:27:21 channel #forth [15:07] 06:27:24 *** mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) has quit: Ping 06:27:27 timeout: 256 seconds [15:12] 06:27:30 SSD's use uinpartitioned space to store garbage collection data and 06:27:33 stuff, so the code there'd get overwritten randomly. oωo. [15:16] 06:27:36 *unpartitioned 06:27:40 I don't use a FOrth-style bootloader, but I know GRUB uses a 06:27:40 --- quit: true-grue_ (Read error: Connection reset by peer) 06:27:44 techneique similar to this since it doesn't actually fit in the 06:27:47 MBR. oωo. 06:27:50 Actually, if all you're looking for is that, just use Grub. It works 06:27:51 with all three filesystems you mentioned, oωo. [15:18] 06:27:54 True, they require a dummy partition to store most of the code. 06:27:57 [15:21] 06:28:00 No I was just thinking about booting from Forth and if it could 06:28:03 fit in 512b of asm. 06:28:06 ERC> I don't get why this would be bad on SSD though. Also it wouldn't 06:28:10 be as universal. 06:28:14 So you do use a Forth bootloader or a whole OS ? [15:06] 06:28:17 *** mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) has joined 06:28:19 ugh 06:28:20 channel #forth [15:07] 06:28:20 *** mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) has quit: Ping 06:28:24 timeout: 256 seconds [15:12] 06:28:27 SSD's use uinpartitioned space to store garbage collection data and 06:28:30 stuff, so the code there'd get overwritten randomly. oωo. [15:16] 06:28:33 *unpartitioned 06:28:36 I don't use a FOrth-style bootloader, but I know GRUB uses a 06:28:38 Hopefully he ain't in an infinite loop. xwx 06:28:40 techneique similar to this since it doesn't actually fit in the 06:28:44 MBR. oωo. 06:28:47 Actually, if all you're looking for is that, just use Grub. It works 06:28:50 with all three filesystems you mentioned, oωo. [15:18] 06:28:51 True, they require a dummy partition to store most of the code. 06:28:54 [15:21] 06:28:57 No I was just thinking about booting from Forth and if it could 06:29:00 fit in 512b of asm. 06:29:03 ERC> 06:29:10 OMG, I'm so sorry... 06:29:14 such paste spam 06:29:17 I wanted to link this http://www.reddit.com/r/Forth/comments/ay627/ask_rforth_whats_the_smallest_implementation_of/c0l1b1z 06:29:25 It's okay, I've done it too.. XD 06:29:27 dzho: my sincere apologies 06:29:30 Author, kragen, mentions a 399b forth source 06:29:32 agumonkey2: :-) 06:29:36 it happens 06:29:51 I'm just glad it wasn't a loop, like Keshl said. 06:29:53 At least it was metacircular quite. 06:29:59 You got lucky. Yours was about Forth. Mine, er, wasn't. <ω<' 06:30:00 I'm using emacs Erc, it's convenient and powerful, sometimes too powerful. 06:30:22 --- part: xyh left #forth 06:30:23 Keshl: something embarassing, like COBOL ? 06:30:35 irssi will warn you. at least, I think it's irssi that's doing that. 06:30:39 ... Oh thank goodness it wasn't that. o_o 06:30:39 * impomatic eyes agumonkey2 suspiciously 06:31:03 Emberassing, yes. And meant to be private. ...And on another server. x.x 06:31:23 Keshl: self inflicted leakage is the best flavour 06:31:34 But, yeah. Languages that aren't Forth. More emberassing. Thank you for putting that in the right light. o_o 06:31:42 Lucky for you #forth logs aren't public. right, right? 06:32:10 (And seriously, thank you for making /a/ joke. I woke up to a nightmare. Well, two. x.x..) -- Anyway, Forth. ...Yeah, they're public. <ω<' 06:32:34 Said incident didn't happen anywhere I know stuff's publically logged, though. -ω-. 06:33:12 Tell me you have an automated smiley generator 06:33:40 dzho: impomatic: what's the smallest asm forth you've ever seen ? 06:33:58 I have an interaction Forth in approx 900 bytes. http://www.retroprogramming.com/2012/09/itsy-documenting-bit-twiddling-voodoo.html 06:34:12 agumonkey2: I /am/ an automated smiley generator. o_o. And I have search-and-replace magic goin' on. <ω<' 06:35:10 agumonkey2: I can't help you here. 06:35:12 impomatic: I had that url in my toread list 06:35:15 I.e. it covers the basics. There's a prompt, you can define new words, etc. 06:35:22 dzho: that's actually helpful 06:35:29 heh. 06:36:10 Itsy is pretty easy to extend. I have a 2K version which includes most of the stuff I use regularly. 07:09:19 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 07:15:43 --- quit: nighty-_ (Ping timeout: 272 seconds) 07:18:29 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 07:31:28 --- quit: impomatic (Ping timeout: 250 seconds) 08:31:04 --- quit: proteusguy (Ping timeout: 244 seconds) 08:38:07 --- quit: nighty-_ (Ping timeout: 264 seconds) 08:44:09 --- join: proteusguy (~proteusgu@ppp-110-168-230-8.revip5.asianet.co.th) joined #forth 08:44:10 --- mode: ChanServ set +v proteusguy 08:45:22 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 08:46:40 --- quit: darkf (Quit: Leaving) 09:07:48 --- join: johnmark_ (~johnmark@c-73-51-235-57.hsd1.il.comcast.net) joined #forth 09:15:05 --- join: xyh (~xyh@2001:250:3002:5550:6ea1:cc0f:bcb2:b187) joined #forth 09:15:47 Keshl, I could be wrong but I don't think your comment regarding SSD sectors getting randomly overwritten is valid. A sector write is a sector write, even if it's outside of partitioned space. Certainly what might happen is that unpartitioned space might be considered fair game by other players, but that's nothing unique to SSDs. 09:17:34 --- join: GElliot (~GElliot@12.238.245.242) joined #forth 09:18:35 --- join: true-grue (~grue@95-27-185-107.broadband.corbina.ru) joined #forth 09:19:28 Perhaps what you're thinking of is that an SSD typically has "spare" sectors which get swapped around for performance efficiency, wear-levelling, replacing failed flash pages, etc. but that's all managed transparently and shouldn't result in any sector data getting randomly overwritten. 09:36:17 --- quit: xyh (Remote host closed the connection) 09:39:02 --- join: xyh (~xyh@2001:250:3002:5550:6ea1:cc0f:bcb2:b187) joined #forth 09:48:45 probonono: That's what I meant; trying to use the space where the SSD does that, as a bootloader. <ω<' 09:49:20 And yes, HDDs can do it too, but not as often as an SSD does. oωo. 10:06:55 Keshl, yes but those areas are not subject to being randomly overwritten - from the user perspective - even if it's true internally. What was written is what will be read back. Have you experienced otherwise? 10:13:06 The HDD case is different - spare sectors are allocated to replace "bad" sectors, but there is no "random overwriting" going on there. What is written will be read back (so long as the sector *can* be read). 10:40:21 --- join: mark4 (~mark4@38.122.200.194) joined #forth 10:42:06 --- quit: xyh (Remote host closed the connection) 11:06:42 --- join: xyh (~xyh@2001:250:3002:5550:6ea1:cc0f:bcb2:b187) joined #forth 11:32:17 --- join: impomatic (~chatzilla@61.205.125.91.dyn.plus.net) joined #forth 11:39:17 You're looking into this too deep. I know it's not random. x.x 11:39:43 It's easier to say "random" than forty-or-so-words explaining what actually happens there when it's not at all relevant to the conversation. 11:59:28 --- quit: agumonkey2 (Ping timeout: 252 seconds) 12:08:34 --- join: agumonkey2 (~user@2a02-8420-6f5c-4200-021f-3bff-fe7d-f603.rev.sfr.net) joined #forth 12:35:16 I have four versions now, who cares to do a little test ^-^ ? :: https://github.com/the-little-language-designer/cicada-nymph 12:58:24 --- join: bedah (~bedah@x5ce0495d.dyn.telefonica.de) joined #forth 13:01:07 --- quit: vsg1990 (Quit: Leaving) 13:15:54 four versions? do you mean the win/linux 32/64 bit alternatives? 13:18:51 --- join: _spt_ (~jaat@host-92-24-247-224.ppp.as43234.net) joined #forth 13:18:51 --- quit: _spt_ (Changing host) 13:18:51 --- join: _spt_ (~jaat@unaffiliated/-spt-/x-5624824) joined #forth 13:19:46 yes~ 13:19:46 xyh: i think a better name for "xx" might be "cell" or "dc" (for "define cell") 13:20:38 i'll check it out some time (more than just glancing at the asm file) - out of curiosity how large is the compiled object file? 13:21:18 i'm a little obsessed (for no good reason) about tiny forth kernels - i even moved some of jonesforth's primitives from asm to forth to make the kernel smaller ;) 13:21:55 121K cicada-nymph 13:21:55 118K cicada-nymph-32 13:21:55 119K cicada-nymph-32.exe 13:21:55 123K cicada-nymph.exe 13:24:04 i like your 32/64 "hacks" like redefining rax to eax - i think i'l borrow those for mine as well :) 13:29:07 there are something tricky about this, when moving primitive-functions from 64 to 32 [or 32 to 64], you should test them step by step. otherwise it would be hard to find a bug after you moving too many primitive-functions. 13:30:04 the function "show-dictionary" reports that I have 90 primitive-functions. 13:33:09 I have to get some sleep :) I will read the clog 13:33:13 --- part: xyh left #forth 13:33:48 from my experience, everything in asm programming is tricky - until you've been doing it for a while :) 14:04:02 bluekelp, want to help me do the same thing with isforth? :) 14:04:30 x32 linux, ARM linux, Thumb2 Linux... would love to reduce the size of all of those 14:04:50 maybe merge it all into one source tree and then just do make x32 make arm make thumb etc 14:05:02 that would be a lot of work tho 14:13:52 eventually sure - right now i'm in the middle of porting jones (don't hate me!) from gcc/gas syntax to nasm 14:14:05 but i love optimizing (space and time) so that's right up my alley 14:15:02 once i start to grok how it works at a more intuitive level i would like to mess with other threading types - and even some non-threaded forths 14:15:10 no that would make it somewhat more readable. hopefuly your also fixing the cluster$*^ formatting and "Wall of text" issues 14:15:22 and maybe populating some of that puke with comments? 14:15:55 re: non-threaded - i read in http://www.drdobbs.com/embedded-systems/modern-forth/210600604 about modern forths not being threaded and wondered how "deep" the inline compiles went, etc. 14:16:16 let me know when you start wanting to learn isforth, i think you will find isforth far superior to jones 14:16:36 well the wall of text in jones is what i currently find helpful. once i internalize the "forth way" i can rip it out for something much more concise 14:17:20 jones is basic. but for now that's what i want. on top of (some forth kernel) i want to build a whole system to mess with for playing with PC hardware 14:22:12 --- join: karswell (~user@87.114.85.103) joined #forth 14:25:47 --- quit: true-grue (Read error: Connection reset by peer) 15:04:17 --- quit: agumonkey2 (Ping timeout: 252 seconds) 15:36:13 --- quit: ASau (Ping timeout: 250 seconds) 15:37:22 --- quit: bedah (Quit: Ex-Chat) 15:37:37 --- quit: nighty-_ (Quit: Disappears in a puff of smoke) 15:38:34 --- join: Zarutian (~Adium@168-110-22-46.fiber.hringdu.is) joined #forth 15:54:24 --- quit: _spt_ (Quit: gone to fix a server for Staffc CC) 16:17:11 --- quit: mark4 (Ping timeout: 246 seconds) 17:04:25 --- join: xyh (~xyh@2001:250:3002:5550:6ea1:cc0f:bcb2:b187) joined #forth 17:16:47 --- join: saml_ (~saml@cpe-24-102-97-97.nyc.res.rr.com) joined #forth 17:31:45 --- quit: xyh (Ping timeout: 256 seconds) 17:35:14 --- quit: Zarutian (Quit: Leaving.) 17:53:53 --- join: MrMobius_ (~MrMobius@149.160.205.154) joined #forth 18:15:33 --- join: agumonkey2 (~user@2a02-8420-6f5c-4200-021f-3bff-fe7d-f603.rev.sfr.net) joined #forth 19:01:52 --- join: atommann (~atommann@58.251.2.94) joined #forth 19:06:03 --- quit: MrMobius_ (Ping timeout: 245 seconds) 19:06:06 --- join: MrMobius__ (~MrMobius@149.160.205.154) joined #forth 19:13:33 --- quit: atommann (Ping timeout: 245 seconds) 19:13:58 --- join: atommann (~atommann@58.251.2.94) joined #forth 19:27:52 --- join: darkf (~darkf___@unaffiliated/darkf) joined #forth 19:36:00 --- quit: agumonkey2 (Ping timeout: 252 seconds) 19:57:44 --- quit: MrMobius__ (Ping timeout: 245 seconds) 20:54:46 --- quit: saml_ (Quit: Leaving) 21:17:27 --- quit: johnmark_ (Quit: Leaving) 22:42:23 --- quit: atommann (Ping timeout: 264 seconds) 22:50:04 --- join: true-grue (~grue@95-27-148-131.broadband.corbina.ru) joined #forth 22:53:57 --- join: atommann (~atommann@58.251.2.94) joined #forth 23:32:27 --- quit: mnemnion (Remote host closed the connection) 23:52:53 --- join: agumonkey2 (~user@2a02-8420-6f5c-4200-021f-3bff-fe7d-f603.rev.sfr.net) joined #forth 23:59:59 --- log: ended forth/15.03.31