IRC Log - 2025-06-26 - ##forth

Channel: ##forth
Total messages: 85
Time range: 00:00:07 - 22:52:14
Most active: forthBot (31), cleobul__ (29), unjust (7)
00:00:07 ##forth <xentrac> haha
00:00:22 ##forth <tpbsd> plang2 takes a CMSIS-SVD file for the model of STM32 one is using and from that file alone generates a database of peripheral info and a API
00:01:33 ##forth <tpbsd> it's coming along nicely, the popup works fine and selection of the data is made by scrolling the pop up and hitting enter, at which point the data is pasted into the calling window
00:02:52 ##forth <tpbsd> basically it's a header file generator for STM32 mcus using their SVD file, but it also provides template world for the usual suspects based on the 'access rights' of the bitfield
00:04:10 ##forth <tpbsd> it also does something a bit different in that while the programmer gets to use all the human friendly syntax as they code their Forth program, their source is stripped and transformed on upload to the mcu running Forth
00:05:12 ##forth <tpbsd> so the mcu gets a stream of hex, no blank lines etc. and no constants are needed for linking labels to absolute addresses
00:06:05 ##forth <tpbsd> this makes the upload very fast, especially as it uses SWDCOM which is a Forth terminal via SWD (JTAG) and not the usual slow USART
00:15:36 ##forth <xentrac> hi unjust
00:15:41 ##forth <unjust> hey xentrac
12:33:40 ##forth <cleobul__> forthBot: LOAD ini.fth
12:33:40 ##forth <forthBot> File ini.fth with moon loaded
12:33:45 ##forth <cleobul__> forthBot: MOON
12:33:45 ##forth <forthBot> Phase de la lune pour Thu June 26 2025
12:33:46 ##forth <forthBot> 🌒 Croissant montant Une jeune lune, un nouveau depart a Paris ! Illumination 1%
14:33:45 ##forth <forthBot> Environment for cleobul__ inactive, freeing...
22:10:42 ##forth <cleobul__> forthBot: LOAD ini.fth
22:10:42 ##forth <forthBot> File ini.fth with moon loaded
22:10:50 ##forth <cleobul__> forthBot: EURO
22:10:50 ##forth <forthBot> 7 21 11 2 19 1 12
22:10:55 ##forth <cleobul__> forthBot: EURO
22:10:55 ##forth <forthBot> 10 7 49 2 23 6 3
22:24:40 ##forth <WilhelmVonWeiner> forthBot: : 0; dup 0 = if drop rdrop exit then ;
22:24:40 ##forth <forthBot> Unknown word in definition: dup
22:24:40 ##forth <forthBot> Error: Definition discarded due to error
22:24:53 ##forth <WilhelmVonWeiner> lol
22:25:14 ##forth <WilhelmVonWeiner> maybe i've been writing BLORF for the past 15 years
22:30:01 ##forth <identity> WilhelmVonWeiner: forthBot uses uppercase words exclusively
22:31:42 ##forth <cleobul__> WilhelmVonWeiner: use capitalized words
22:32:06 ##forth <WilhelmVonWeiner> lol i totally forgot that was a thing
22:32:24 ##forth <WilhelmVonWeiner> i'll pass in that case, my pinkies are more important
22:32:25 ##forth <cleobul__> forthBot: SEE EURO
22:32:25 ##forth <forthBot> : EURO INIT-RANDOM 50 INIT-NUMS 50 SHUFFLE-NUMS 5 0 DO PICK-NUM DUP NUM-TO-STR 32 EMIT DROP LOOP INIT-STARS SHUFFLE-STARS PICK-STAR DUP NUM-TO-STR 32 EMIT DROP PICK-STAR DUP NUM-TO-STR DROP DROP DROP CR ;
22:33:10 ##forth <identity> WilhelmVonWeiner: surely you have a capslock key on your input device
22:33:16 ##forth <unjust> forthBot: EURO
22:33:16 ##forth <forthBot> Error: Unknown word: EURO
22:33:34 ##forth <cleobul__> unjust: LOAD ini.fth first
22:33:38 ##forth <unjust> forthBot: LOAD ini.fth EURO
22:33:38 ##forth <forthBot> Error: Error: LOAD: Cannot open file 'ini.fth EURO'
22:33:43 ##forth <unjust> forthBot: LOAD ini.fth
22:33:44 ##forth <forthBot> File ini.fth with moon loaded
22:33:46 ##forth <unjust> forthBot: EURO
22:33:47 ##forth <forthBot> 31 44 41 9 11 5 11
22:34:00 ##forth <cleobul__> the winner ...
22:34:19 ##forth <unjust> for which draw?
22:35:13 ##forth <cleobul__> vendredi
22:35:16 ##forth <cleobul__> demain
22:35:17 ##forth <unjust> this word might need to be refactored, i don't think you can have duplicate balls?
22:35:50 ##forth <cleobul__> no duplicate balles yet
22:36:13 ##forth <cleobul__> forthBot: EURO
22:36:14 ##forth <forthBot> 36 23 14 2 49 6 1
22:36:43 ##forth <xentrac> you can use a Fisher-Yates shuffle
22:37:03 ##forth <cleobul__> forthBot: SEE SHUFFLE-NUMS
22:37:04 ##forth <forthBot> : SHUFFLE-NUMS 49 1 DO 0 I RAND DUP NUMS @ I NUMS @ SWAP I NUMS ! OVER NUMS ! DROP LOOP ;
22:39:57 ##forth <cleobul__> forthBot: 1 1000 RAND .
22:39:57 ##forth <forthBot> 186
22:40:00 ##forth <cleobul__> forthBot: 1 1000 RAND .
22:40:00 ##forth <forthBot> 383
22:40:49 ##forth <cleobul__> forthBot: 1 10 RAND .
22:40:49 ##forth <forthBot> 4
22:40:52 ##forth <cleobul__> forthBot: 1 10 RAND .
22:40:52 ##forth <forthBot> 7
22:41:55 ##forth <cleobul__> forthBot: DICES
22:41:56 ##forth <forthBot> Error: Unknown word: DICES
22:42:06 ##forth <cleobul__> forthBot: ROLL-DICES
22:42:06 ##forth <forthBot> Error: Unknown word: ROLL-DICES
22:42:22 ##forth <cleobul__> forthBot: ROLLDICES
22:42:23 ##forth <forthBot> <3> 6 1 4
22:43:04 ##forth <xentrac> "dice" in English is already plural. the singular is "die"
22:43:59 ##forth <cleobul__> ok
22:44:13 ##forth <crc> identity: that may not be the case, as a data point, none of the keyboards I use regularly have caps lock
22:45:04 ##forth <cleobul__> forthBot: SEE ROLLDICES
22:45:05 ##forth <forthBot> : ROLLDICES DICE DICE DICE .S CLEAR-STACK ;
22:45:22 ##forth <cleobul__> forthBot: SEE DICE
22:45:22 ##forth <forthBot> : DICE 1 6 RAND ;
22:47:37 ##forth <cleobul__> forthBot: LOAD ini.fth
22:47:37 ##forth <forthBot> File ini.fth with moon loaded
22:47:43 ##forth <cleobul__> forthBot: SEE DIE
22:47:44 ##forth <forthBot> : DIE 1 6 RAND ;
22:47:53 ##forth <cleobul__> forthBot: ROLLDICE
22:47:54 ##forth <forthBot> <3> 5 2 3
22:48:46 ##forth <cleobul__> forthBot: QUOTE
22:48:46 ##forth <forthBot> When we are dead we do not know that we are dead. It is for others that it is difficult. When we are stupid it is the same - Jean Claude Vandamme -
22:52:13 ##forth <cleobul__> forthBot: MOON
22:52:13 ##forth <forthBot> Phase de la lune pour Thu June 26 2025
22:52:14 ##forth <forthBot> 🌒 Croissant montant Une jeune lune, un nouveau depart a Paris ! Illumination 2%