00:00:00 --- log: started forth/20.01.07 00:06:25 --- quit: ryke (Ping timeout: 260 seconds) 00:09:27 --- quit: rdrop-exit (Ping timeout: 265 seconds) 00:14:38 --- join: rdrop-exit joined #forth 00:17:42 --- join: Kumool joined #forth 00:20:30 at last it's time to try my new Forth library strategy in practice, will it work??? 00:20:42 drum roll 00:20:47 hehehe 00:22:28 rdrop-exit, my Forth work has introduced me to many new concepts so quickly that I can remember the circumstances around not having any awareness of them previously 00:23:29 normally regarding software I just bumble thru life at random with scant idea where I came from or where Im going 00:24:04 the opposite is true regarding electronics of course 00:25:41 I've forgotten many things because of Forth, mostly because they seem superfluous in a Forth context 00:26:13 i guess they werent important then ? 00:28:42 good question 00:36:04 --- join: proteus-guy joined #forth 00:40:28 --- join: dddddd joined #forth 00:40:37 perhaps Forth has desensitized me to the purported benefits of more sophisticated approaches 00:43:15 I prefer my caveman ways 00:44:36 --- join: xek joined #forth 00:52:07 --- join: dys joined #forth 00:54:19 done with 1st cut of RISC-V 32IC compressed instructions 00:55:32 they're doing some funky stuff in there 00:57:12 e.g. the compressed right shifting instructions use the compressed branch instruction format 01:04:08 Now onto volume 2 of the ISA manual, Privileged Architecture 01:06:28 I shiver with anticipation 01:06:43 ... of going cross-eyed 01:41:36 --- join: dave0 joined #forth 01:55:43 rdrop-exit, you implementing this in an fpga? Which HDL are you using? 01:56:32 proteus-guy, I don't think he is 01:56:54 oh - implementing a RISCV forth then? I was confused. 01:57:01 proteus-guy, I think hes implementing it in the RISC-V 32IC datasheet 01:57:23 yes, just implementing a RISCV Forth assembler (32IMC) 01:57:26 proteus-guy, no, rdrop-exit is creating the "ONE FORTH" to rule them all 01:57:33 :-) 01:58:09 not to rule them all, just a tool for little-old me 01:58:13 proteus-guy, it's a tethered Forth that can handle any hardware using a special modified abacus for eash ISA 01:59:15 Actually, if RISCV takes over the world, I won't need to support any other ISA 01:59:24 proteus-guy, oh, and rdrop-exit's "one-forth" is completely uncontaminated with syntax! 01:59:59 rdrop-exit, it could, but we may have died of old age by then 02:00:19 that's ok, I'm having fun in the meantime 02:00:27 here's a nice little "Why Forth" video that was linked to from a Facebook Forth group: https://www.youtube.com/watch?v=7PHPQcO0O2Y 02:00:50 yes, I posted a link to it earlier 02:00:53 nice work 02:01:19 does he frequent this channel, or any other Forth hangout? 02:01:52 I had fun reading the various reactions on different reddit threads 02:02:12 Dunno but I let him know that I've posted it here. Perhaps some of the members will drop in. 02:02:20 cool 02:03:38 --- quit: dys (Ping timeout: 248 seconds) 02:04:32 typical reaction: "What exactly can you achieve with those Forth words but not with first-class lexical closures? 02:04:35 " 02:05:13 "As I understand it, Forth doesn't have the concept of environment capture (i.e. closure) so I assume that sword cuts both ways? 02:05:16 " 02:07:21 "Ok. If Forth cannot capture environment then presumably it is also less capable in other respects? 02:07:24 " 02:08:16 sigh 02:11:29 that's typical tho imo 02:12:13 absolutely, they keep trying to analyze Forth as a pinned-down language 02:12:18 you cant argue Forth on large systems like pc's 02:13:36 sure you can, I've used Forth on dedicated data warehousing related appliances 02:13:43 I don't think Forth can compete in that area against the many far more popular languages 02:13:48 --- quit: MrMobius (Ping timeout: 258 seconds) 02:14:24 not unless you have chuck living in your brain like the alien from Men In Black 02:15:04 what you can't argue for is a "general purpose" Forth competing with general purpose languages 02:15:06 tpbsd, I think it's hard to argue forth on larger systems without a type system. That's why I'm writing one. ;-) 02:15:43 Forth is for dedicated systems 02:15:58 proteus-guy, I'm not a programmer, my comments regarding any serious programming debates should be ignored 02:16:27 proteus-guy: still workin' on ActorForth? 02:16:47 proteus-guy, I'm only a embedded Forth user, I'm 100% sold on Forth on small embedded, but on a PC I still use perl, maybe one day lisp or smalltalk 02:16:51 General purpose Forth is as uninteresting as the myriad of general purpose languages out there 02:17:05 hahaha rdrop-exit 02:17:07 WilhelmVonWeiner, as best I can. Got some progress in early December (after nothing since Sept). Was hoping to do more during the new year holidays but it didn't happen. Working on freeing my schedule again soon. 02:17:10 agreed 02:17:29 tpbsd, that's the best space for Forth so no reason to qualify it with "only". 02:17:42 I took one look at gforth and ran screaming back to Perl 02:17:45 n-thousand languages that achieve the same things with slightly different syntaxes... great 02:17:54 Forth is perfect as a secret weapon for dedicated systems 02:18:41 It's not for a general purpose "language" for the masses 02:18:59 after doing embedded professionally since the 70's using machine code, assembly and C, Im totally sold on Forth which Ive been learning since 2014 02:19:19 ill never use anything else on small embedded now, no way 02:20:31 kudos 02:20:51 rdrop-exit, agree - requires far too much personal discipline for the majority of devs. 02:21:13 proteus-guy, the origins of Forth were on smallish systems for observatories and I think people trying to make Forth into a huge systems language like gforth are wasting their time trying to get traction in the C world 02:21:50 they're turning Forth into interactive C 02:22:14 well gforth does have the ability to utilise C libraries I believe 02:22:14 I would not use Gforth for a product 02:22:44 I did a word list in gforth and ran screaming from the room calling out for my mommy 02:23:05 --- join: MrMobius joined #forth 02:23:56 Don't get me wrong I have nothing against Gforth per se, it's just an application of Forth concepts that I have no interest in 02:24:25 for some reason, almost every Forth I have tried on a PC has segfaulted within a day or 2 of playing around with it. The one Forth that compiled in a blink and hasnt segfaulted is Retro, but Ive barely used it as the Vocabs were too strange 02:24:43 If I'm coding for a POSIX OS I'll just use C 02:25:09 If I'm writing throw-away text processing stuff I'll use AWK 02:25:21 retro: #2 #15 * #12 + n:put 02:25:22 42 02:26:20 but I'm growing more used to retro as I see it used here by crc and others 02:27:14 in fact if any Forth persuades me to use it on a pc, it will be retro most likely 02:27:34 by the same token, Im happy with Perl and C on the pc 02:27:40 2 15 * 12 + . 02:27:42 42 02:27:54 and the usual bevy of unix utils such as shell, sed etc 02:28:34 2 15 * 12 + . 42 ok. 02:28:34 c 28,25 C 02:28:34 ok. 02:28:34 f 82,96 F 02:28:34 ok. 02:28:45 --- quit: proteus-guy (Ping timeout: 258 seconds) 02:29:08 29 C here 02:29:11 thats a STM32F103CB with a LMT-01 2 wire temerature sensor on my desk 02:29:26 running Mecrisp-Stellaris Forth 02:29:27 630pm 02:29:39 9:30 pm here 02:30:07 looks like you're weather is finally cooling down 02:30:30 watching CRC using retro here to solve maths problems has had a significant effect on my opinion of Forth on the pc I must admit 02:31:36 rdrop-exit, it's dropped a few degrees the last few days but we have straight 36C's until next saturday 02:31:38 I have no interest in Forth on a PC except to talk to chips 02:31:56 yikes 02:32:11 rdrop-exit, I certainly have been the same way and still dont use Forth on the PC as yet 02:33:09 but Forth is changing the way I look at things, I think that's inevitable when one uses it every day 02:33:50 I'm pretty sure my Perl and C will start looking like Forth soon 02:34:26 My C is Forthish looking 02:34:45 to some small extent 02:34:52 check this out! how hard to add Xon/Xoff to Mecrisp-Stellaris 02:34:55 : handshake-quit ( -- ) 02:34:55 begin 02:34:55 xon 02:34:55 query 02:34:55 xoff 02:34:55 interpret 02:34:57 ." ok." cr 02:34:59 again 02:35:01 ; 02:35:03 ' handshake-quit hook-quit ! quit 02:35:05 --- join: iyzsong joined #forth 02:35:43 I havent tried it yet, this is matthias advice, he hasnt tried it either 02:36:24 xon/xoff are just ascii characters 02:36:25 he suggests that it may be problematic as the usual cheap usb/serial bridges have very large buffers 02:36:35 thats right 02:36:58 $ 11 constant xon \ aka ^Q 02:36:58 $ 13 constant xoff \ aka ^S 02:37:02 yes 02:37:31 it's not the pr`otocol, it's the ease XON/XOFF can be added to a Forth 02:37:53 at least, it surprised me 02:38:12 ill be trying in next after a couple of mods Im doing 02:40:42 I luv 7-bit ASCII 02:41:05 not that you ever use it ? 02:41:33 always use it, at least in Forth 02:42:00 gives me an extra bit to play with :) 02:43:16 i had you pegged as a ECBDIC man myself 02:43:44 Last time I used EBCDIC was on a 4341 02:43:48 "real Forth uses ECBDIC, we dont need no stinking ASCII!" 02:44:26 that was a long time ago, 360 assembly language, still have the pocket opcode booklet 02:47:50 ASCII is great for displaying raw memory, base 256, 02:47:51 still in your pocket ... next to the sliderule ? 02:48:53 intel may disagree, they thought that ASCII was hopeless at displaying 8 bit binary 02:48:59 when the high-bit is on underline it, when it's a control character display the corresponding caret notation character in bold 02:50:15 fairly easy to eyeball, and only the space character is displayed as a space 02:50:29 --- join: dys joined #forth 02:50:53 hmm why didnt they use that method then instead of ihex or moto S ? 02:51:17 e.g. $ 00 (aka ctrl-@) is displayed as a bold "@" 02:51:45 $ 40 is displayed as a normal "@" 02:52:09 $80 is displayed as a boold and underlined "@" 02:53:04 what about 10,20,30,50,60,70,90,A0,B0,C0,D0,F0 ? 02:53:28 it's for display purposes, it's not a file format 02:54:00 as I said earlier when the high bit is 1 underline it 02:54:38 when the low 7-bits are a control character display the corresponding caret notation character in bold 02:55:01 it's a programmer thing I think 02:55:45 it's a quick and simple way to eyeball binary data, and takes have the display space of hex 02:55:58 * half the display space of hex 02:57:19 It beats displaying garbage characters and "invisible" characters 02:58:53 you programmers know all the tricks! 02:59:00 nice idea 02:59:08 The important thing is that each of the 256 values of a byte has a unique display representation even on a dumb 7-bit ASCII terminal 02:59:23 I've made a note of it as I often read hex dumps 03:00:12 It's good for eyeballing, hex is better for detail work 03:00:58 but hex takes twice as many display characters, so it's a nice supplement 03:01:57 ill make a word to try it 03:02:00 depict Translate a byte to its character-cell depiction. 03:02:07 : depict ( b -- cc ) 03:02:08 dup >ascii ctrl? ctrl boldness or ~ ;inline 03:02:24 cc stands for character-cell 03:02:37 doldness ? 03:02:42 boldness ? 03:02:55 ahh ok 03:03:03 has in if a character is displayed in bold on the terminal 03:03:08 sure 03:03:24 pretty cool 03:03:30 recorded! 03:04:03 in my character cell format the high bit of a character "happens to be" the underline indicator 03:04:26 so I don't need to do anything special there 03:05:06 bytes with their high bit set automatically have there underlining attribute set 03:05:21 * their underlining... 03:06:43 i understand 03:08:38 ~ is equivalent to AND XOR 03:08:56 i.e. it's a masked xor 03:13:16 --- quit: WickedShell (Remote host closed the connection) 03:20:48 wife is back, catch you tomorrow, keep on Forthin' :) 03:20:55 --- quit: rdrop-exit (Quit: Lost terminal) 03:22:44 cya! 03:22:48 thanks for the tips 04:02:59 --- quit: iyzsong (Ping timeout: 260 seconds) 04:09:37 --- quit: smokeink (Ping timeout: 240 seconds) 05:22:47 --- quit: Lord_Nightmare (Ping timeout: 258 seconds) 05:34:28 --- join: Lord_Nightmare joined #forth 06:17:55 --- quit: dave0 (Quit: dave's not here) 06:19:34 https://www.theatlantic.com/ideas/archive/2019/11/how-boeing-lost-its-bearings/602188/ 06:24:25 --- quit: jsoft (Ping timeout: 260 seconds) 07:31:14 --- quit: tabemann (Ping timeout: 260 seconds) 08:39:23 --- join: jsoft joined #forth 09:29:19 --- join: smokeink joined #forth 09:39:37 --- quit: smokeink (Ping timeout: 240 seconds) 09:56:42 --- quit: dys (Ping timeout: 248 seconds) 10:28:15 --- quit: xek (Ping timeout: 260 seconds) 10:37:39 --- join: xek joined #forth 11:23:32 --- quit: xek (Remote host closed the connection) 11:24:01 --- join: xek joined #forth 11:31:31 --- join: WickedShell joined #forth 11:38:53 --- quit: xek (Remote host closed the connection) 11:43:05 --- join: xek joined #forth 12:54:40 --- quit: xek (Ping timeout: 260 seconds) 13:29:22 --- quit: gravicappa (Ping timeout: 265 seconds) 13:55:25 --- quit: djinni (Quit: Leaving) 14:04:08 --- quit: dne (Remote host closed the connection) 14:05:01 --- join: jedb_ joined #forth 14:06:14 --- join: dne joined #forth 14:07:33 --- quit: jedb__ (Ping timeout: 265 seconds) 14:13:43 --- join: djinni joined #forth 14:25:07 --- join: dys joined #forth 14:51:43 --- join: dave0 joined #forth 16:18:47 --- join: smokeink joined #forth 16:31:40 --- quit: karswell (Ping timeout: 260 seconds) 17:14:40 --- join: tabemann joined #forth 17:28:42 --- quit: dave0 (Quit: dave's not here) 17:44:49 --- quit: smokeink (Ping timeout: 240 seconds) 17:50:31 --- join: crab1 joined #forth 17:50:59 How are you all 17:53:07 g'day crab1! Ive rewritten and redesigned my ihex.fs program, it now takes parameters instead of needing a internal config change :) 17:53:36 more professional, but I improve as I learn 17:54:33 I've now read half of Paradise Lost, and endured another day of sickness, I am off to work soon 17:56:28 sorry to hear you're sick 17:57:16 it's fine, the poem entertains me 17:57:43 working with sickness sucks though, and I am paranoid of spreading unhealth 18:00:15 yeah, cow-orkers won't appreciate any contagious sickness being spread 18:00:26 --- join: jedb__ joined #forth 18:01:01 But sick days are unpaid for me, and I can't afford the loss of revenue 18:01:28 yeah, it's a dilemma 18:01:54 and probably the number one reason why sick people work 18:02:45 the obvious way for companies to avoid this is to pay for workers to stay home when they are sick, sadly such systems are easily exploited 18:02:53 not even a dilemma, the answer is clear, but it's a "better of two evils" situation and I think others in my workplace understand that at least 18:03:15 --- quit: jedb_ (Ping timeout: 260 seconds) 18:03:28 --- join: ryke joined #forth 18:03:33 well usually a full time worker has whatever amount of paid sick time and after that it's unpaid, which would be fine with me 18:04:07 Dilemma definition, a situation requiring a choice between equally undesirable alternatives. 18:04:37 but even my holidays are unpaid, so last month with holidays and half a week of fever, I was set back ~$800, nearly half of my monthly income 18:04:51 there is no evil here, just the consequence of our choices 18:05:28 I worked for myself the last 15 years, no holidays, no sickdays, I loved it 18:05:37 tpbsd: by "it's not a dilemma" I mean that I have little choice but to go, as starving or losing my apartment are not things I consider options 18:05:49 crab1, I understand 18:05:51 I would like to work for myself, but I am definitely not there yet 18:06:01 perhaps that oscilloscope will help me get there :) 18:06:10 working for onself is a major undertaking 18:06:22 anyway, off to work, I'll be back tomorrow 18:06:32 cya, get well soon! 18:06:46 or maybe it will be today for you? I am not sure what time you have 18:06:52 anyway, enjoy your day 18:06:57 13:00 here 18:07:17 --- quit: tabemann (Ping timeout: 265 seconds) 19:09:26 --- quit: ryke (Ping timeout: 268 seconds) 19:19:39 --- join: tabemann joined #forth 19:30:54 --- quit: X-Scale (Ping timeout: 265 seconds) 19:31:06 --- join: X-Scale` joined #forth 19:32:59 --- nick: X-Scale` -> X-Scale 19:56:03 37,31 C 19:56:04 99,27 F 20:12:09 --- quit: X-Scale (Ping timeout: 268 seconds) 20:14:00 --- join: X-Scale` joined #forth 20:14:58 --- nick: X-Scale` -> X-Scale 20:35:11 --- quit: pareidolia (Quit: ZNC 1.7.3 - https://znc.in) 20:37:58 --- join: pareidolia joined #forth 20:54:31 --- quit: dys (Ping timeout: 265 seconds) 20:55:39 --- quit: jsoft (Ping timeout: 260 seconds) 21:07:49 --- join: gravicappa joined #forth 21:21:16 --- join: ryke joined #forth 21:31:42 --- quit: dddddd (Ping timeout: 268 seconds) 22:45:45 --- quit: cantstanya (Ping timeout: 240 seconds) 22:46:58 --- join: cartwright joined #forth 22:55:28 --- join: dys joined #forth 23:39:58 --- join: mtsd joined #forth 23:57:08 --- quit: WickedShell (Remote host closed the connection) 23:59:59 --- log: ended forth/20.01.07