2025-03-30 00:55:49 finaly i just change for a dynamic dictionnary growing as you go https://github.com/cleobuline/some-c-sources/blob/main/forth_bot__gmp_multi_linked.c 2025-03-30 00:56:34 i will do a red-black tree if necessary to improve speed 2025-03-30 03:07:12 every one is sleeping ? 2025-03-30 05:23:27 cleobuline: not everyone :) 2025-03-30 11:06:35 veltas: Yes, it's not a bad price at all. Not "rock bottom," but if you're building anything serious at all it's not bad. I just thought it had a really nice suite of peripherals. 2025-03-30 11:07:14 I like the idea of having a Forth OS on that thing that's all rigged to support those - it would be a nice starting point for most any project I can think of. 2025-03-30 11:13:24 You also don't need a programmer for it - it's set up so it presents a storage device when you connect it, and you can just drop a firmware image onto it and it will program itself. 2025-03-30 12:42:12 US$8.41 in quantity 10: https://www.digikey.com/en/products/detail/analog-devices-inc-maxim-integrated/MAX32655GXG/13168773 2025-03-30 12:43:48 it sounds a lot like an ESP32 2025-03-30 12:45:15 except with a working low-power mode, but slower, more expensive, less RAM, and without Wi-Fi 2025-03-30 12:47:00 the ESP32 doesn't have a built-in switchmode power supply 2025-03-30 12:47:49 "Fully Open-Source Bluetooth 5.2 Stack Available" is nice to see; the ESP32 doesn't have that 2025-03-30 13:43:44 Nice. What I actually bought wasn't the chip - it's a small board with the chip and various sorts of support circuitry. I'll mount it as a daughter board on my project boards. 2025-03-30 13:43:47 https://www.digikey.com/en/products/detail/analog-devices-inc-maxim-integrated/MAX32655FTHR/17885194 2025-03-30 13:44:50 I try to avoid surface mount parts for my personal hobby stuff. I have self-assembled using surface mount parts a time or two, but it's just kind of nerve wracking to me. 2025-03-30 13:45:26 I squeegeed paste onto the board, hand-placed the parts, and then used a toaster oven with some little "melt indicators" in it to gauge when to stop. 2025-03-30 13:45:41 First time I tried it I cooked the PCB; second time went ok, though. 2025-03-30 13:46:15 There just wasn't an awfully wide window between "success" and "ruined board." 2025-03-30 13:47:17 I probably ought to look more into getting the SMT assembly done by the same place that makes the boards; I've just never investigated it. 2025-03-30 13:48:00 Anyway, I've got a half-dozen of those little boards out in the garage. 2025-03-30 16:20:25 it sounds like either your toaster oven was very poorly controlled or you were heating it up far too slowly 2025-03-30 16:22:58 cooking FR4 in a short period of time should require temperatures of over 300 degrees, which is nowhere near soldering temperature even for lead-free solders 2025-03-30 17:14:03 I don't remember it all well enough to discuss details. This was about 22 years ago. 2025-03-30 17:16:14 PID control is motherfucking magi 2025-03-30 17:16:17 cc 2025-03-30 17:37:55 is there a community for that maxim chip? that counts for a lot when the datasheet is wrong or they haven't added an errata to the list yet 2025-03-30 17:39:16 kind of disappointing the msp430 community has mostly died off since I love that MCU 2025-03-30 17:41:58 TI isn't really a "community" company 2025-03-30 17:42:22 it's more an "oilfield" and "milspec" company 2025-03-30 17:42:39 what do you like about the MSP430? 2025-03-30 17:43:12 (TI did fund a GCC port to the MSP430) 2025-03-30 17:43:37 doesn't matter what the company does if the users form their own community 2025-03-30 17:43:53 although TI did do a lot to encourage the community with their launchpad stuff 2025-03-30 17:44:25 what was their launchpad stuff? 2025-03-30 17:45:59 the launchpads are dev boards for msp430 and some of their ARM chips 2025-03-30 17:46:46 they came out after the Arduino craze and were beginner friendly but actual C programming than Arduino 2025-03-30 17:47:06 TI actually did two separate GCC ports 2025-03-30 17:51:10 how did the launchpad "encourage the community"? was it open-source hardware like Arduino? 2025-03-30 18:03:27 mforth: LOAD "test.fth" 2025-03-30 18:03:36 multi: SEE TEST-CASE 2025-03-30 18:03:54 mforth: SEE TEST-CASE 2025-03-30 18:03:55 : TEST-CASE CASE 1 OF ." UN " CR ENDOF 2 OF ." DEUX " CR ENDOF 3 OF ." TROIS " CR ENDOF ." Others " CR ENDCASE ; 2025-03-30 18:04:12 mforth: 2 TEST-CASE 2025-03-30 18:04:13 DEUX 2025-03-30 18:04:37 victoire ! 2025-03-30 18:05:36 mforth: WORDS 2025-03-30 18:05:36 .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT XOR & | ^ ~ << >> CR EMIT VARIABLE @ ! +! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK CLEAR-STACK PRINT NUM-TO-BIN PRIME? FORGET STRING " 2DROP DOUBLE FACT POW FIBONACCI COUNTDOWN TUCK SUM_SQUARE CUBE SUM_CUBES RECUNACCI CAT :D PGCD FPRIME? FPRIME2? SEED COUNT NUMS STARS INIT-RANDOM 2025-03-30 18:08:32 ths version has a dynamic dictionnary so it can handle as many words as you want and also varables strings and arrays in a linked list so it can also andle as many variable you want 2025-03-30 18:09:53 variables in a linked list is not optimal , but i do it for the sport :) 2025-03-30 18:11:17 xentrac: Being beginner friendly I guess. Their docs are supposedly quite good generally 2025-03-30 18:11:18 next i will do all in a red-black tree so it will recover words and variables very fast 2025-03-30 18:11:52 May main turn-off with TI is they seem expensive, but you get what you pay for 2025-03-30 18:28:36 veltas: that sounds more like "encouraging customers" than "encouraging a community" 2025-03-30 18:43:11 military and oil folks tend to have a lot of money 2025-03-30 18:45:01 they're also kind of anti-community 2025-03-30 18:45:49 I mean Lockheed Martin doesn't want to share their schematics even with Bechtel if they don't have to, much less the People's Liberation Army 2025-03-30 18:47:17 and Chevron doesn't want to share their schematics with ExxonMobil 2025-03-30 18:47:57 they have plenty of people inside their own companies to share schematics with; they don't need to post on EEVblog 2025-03-30 18:48:21 (and firmware, errata, measured curves, etc.) 2025-03-30 19:10:55 ya good documentation helps 2025-03-30 19:10:58 they were selling the launchpad for $4.30 for a while 2025-03-30 19:12:29 veltas: ya expensive for sure but nbd in quantity 1 :P 2025-03-30 19:16:22 going into low power mode with one instruction is q neat trick too 2025-03-30 19:22:36 MrMobius: were other vendors making their own Launchpads and selling them? because that would be the start of a community 2025-03-30 19:23:09 no idea 2025-03-30 19:23:28 I'll let you Dunning-Kruger in peace at this point 2025-03-30 19:35:18 dude, my dad worked for TI 2025-03-30 19:35:50 I was building circuits out of TI parts when you were probably wetting your diapers 2025-03-30 19:36:34 my desire to avoid dealing with TI is unfortunately very well founded 2025-03-30 19:59:38 mforth: : HELLO ." Bonjour " USERNAME @ PRINT CR ; 2025-03-30 19:59:50 mforth: HELLO 2025-03-30 20:00:06 mforth: CR 2025-03-30 20:00:17 mforth: WORDS 2025-03-30 20:05:37 lforth: : HELLO ." Bonjour " USERNAME @ PRINT CR ; 2025-03-30 20:05:48 lforth: HELLO 2025-03-30 20:08:46 lforth: WORDS 2025-03-30 20:08:55 coincé 2025-03-30 20:43:47 forth: WORDS 2025-03-30 20:43:57 mmm 2025-03-30 21:20:34 mforth: WORDS 2025-03-30 21:20:38 zut 2025-03-30 21:29:01 mforth: WORDS 2025-03-30 21:29:01 .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT XOR & | ^ ~ << >> CR EMIT VARIABLE @ ! +! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK CLEAR-STACK PRINT NUM-TO-BIN PRIME? FORGET STRING " 2DROP 2025-03-30 21:49:18 mforth: WORDS 2025-03-30 21:49:18 .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT XOR & | ^ ~ << >> CR EMIT VARIABLE @ ! +! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK CLEAR-STACK PRINT NUM-TO-BIN PRIME? FORGET STRING " 2DROP 2025-03-30 21:58:55 mforth: WORDS 2025-03-30 21:58:55 USERNAME .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT XOR & | ^ ~ << >> CR EMIT VARIABLE @ ! +! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK CLEAR-STACK PRINT NUM-TO-BIN PRIME? FORGET STRING " 2DROP 2025-03-30 21:59:25 mforth: USERNAME @ PRINT 2025-03-30 21:59:26 cleobuline 2025-03-30 21:59:30 kool 2025-03-30 22:00:39 mforth: : HELLO ." Bonjour , " USERNAME PRINT CR ; 2025-03-30 22:00:50 mforth: HELLO 2025-03-30 22:00:50 Bonjour , 2025-03-30 22:01:04 mforth: FORGET HELLO 2025-03-30 22:01:04 Forgot everything from 'HELLO' at index 60 (dict was 61, now 60; mem count now 1) 2025-03-30 22:01:51 mforth: : HELLO ." Bonjour , " USERNAME @ PRINT CR ; 2025-03-30 22:01:58 mforth: HELLO 2025-03-30 22:01:58 Bonjour , 2025-03-30 22:07:41 mforth: : HELLO ." Bonjour , " USERNAME @ PRINT CR ; 2025-03-30 22:07:44 mforth: HELLO 2025-03-30 22:07:44 Bonjour , cleobuline 2025-03-30 22:08:58 mforth: WORDS 2025-03-30 22:08:59 USERNAME .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT XOR & | ^ ~ << >> CR EMIT VARIABLE @ ! +! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK CLEAR-STACK PRINT NUM-TO-BIN PRIME? FORGET STRING " 2DROP HELLO 2025-03-30 22:24:16 mforth: LOAD "test.fth" 2025-03-30 22:24:47 mforth: 2 TEST-CASE 2025-03-30 22:25:00 mforth: WORDS 2025-03-30 23:03:07 forth: LOAD "test.fth" 2025-03-30 23:03:12 forth: 4 TEST-CASE 2025-03-30 23:07:11 forth: LOAD "test.fth" 2025-03-30 23:07:18 mforth: WORDS 2025-03-30 23:07:18 USERNAME .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT XOR & | ^ ~ << >> CR EMIT VARIABLE @ ! +! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK CLEAR-STACK PRINT NUM-TO-BIN PRIME? FORGET STRING " 2DROP 2025-03-30 23:07:41 mforth: LOAD "test.fth" 2025-03-30 23:07:41 Unknown word in definition: CASE 2025-03-30 23:09:36 mforth: LOAD "test.fth" 2025-03-30 23:09:39 mforth: WORDS 2025-03-30 23:29:02 mforth: : TEST-CASE CASE 1 OF ." UN " CR ENDOF 2 OF ." DEUX " CR ENDOF 3 OF ." TROIS " CR ENDOF ." Others " CR ENDCASE ; 2025-03-30 23:29:17 mforth: 3 TEST-CASE 2025-03-30 23:42:12 mforth: : TEST-CASE CASE 1 OF ." UN " CR ENDOF 2 OF ." DEUX " CR ENDOF 3 OF ." TROIS " CR ENDOF ." Others " CR ENDCASE ; 2025-03-30 23:42:17 mforth: WORDS 2025-03-30 23:42:18 USERNAME .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT XOR & | ^ ~ << >> CR EMIT VARIABLE @ ! +! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK CLEAR-STACK PRINT NUM-TO-BIN PRIME? FORGET STRING " 2DROP TEST-CASE 2025-03-30 23:42:33 mforth: 3 TEST-CASE 2025-03-30 23:42:33 TROIS 2025-03-30 23:46:29 mforth: : HELLO ." Hello " USENAME @ PRINT CR ; 2025-03-30 23:46:29 Unknown word in definition: USENAME 2025-03-30 23:46:40 mforth: : HELLO ." Hello " USERNAME @ PRINT CR ; 2025-03-30 23:46:50 mforth: HELLO 2025-03-30 23:46:50 Hello cleobuline 2025-03-30 23:46:55 :) 2025-03-30 23:52:18 ha