2024-06-07 03:36:30 veltas: Ok. I never really worked much with them - I usually wound up doing my number conversion in a different way. 2024-06-07 03:37:04 I guess now that I think about it it would have to - you really can't do it the other way, can you? 2024-06-07 03:38:57 Still thinking about chess engines. It would be fun to try a neural network approach. You can represent a chessboard in just a few cells - it's well-structured to serve as the input to the first layer of a net. 2024-06-07 03:41:10 I think I might use four cells - 64 nibbles - and each nibble would describe the piece sitting on the particular square. 2024-06-07 03:41:43 There are only 13 states a cell can be in - empty, or white or black pawn, king, queen, rook, knight, bishop. 2024-06-07 03:52:14 kicking your opponent under the table isn't unknown 2024-06-07 09:15:34 KipIngram: To start from other direction you'd need log I guess 2024-06-07 09:16:04 But yeah and then it wouldn't let you say '3+ digits' 2024-06-07 15:10:21 KipIngram: Let me instroduce you to chess 960 :) 2024-06-07 15:10:36 aka freestyle chess aka fischer chess 2024-06-07 15:31:29 Damn, how do I know if the USB to serial port is working? 2024-06-07 15:31:43 echo "W\r" > /dev/ttyUSB0 should be enough?? 2024-06-07 15:32:23 echo -e that is 2024-06-07 15:38:48 olle: put a jumper between tx and rx and then use "screen /dev/ttyUSB0 " and see whether what you type is echoed back 2024-06-07 15:39:22 zelgomer: includes soldering? 2024-06-07 15:39:38 no 2024-06-07 15:40:04 well, it might. i don't know what hardware you have sitting in front of you. 2024-06-07 15:41:11 It's a scale with a serial port, and a USB-to-serial converter to my Ubuntu machine. 2024-06-07 15:41:27 [532975.365638] usb 1-2: pl2303 converter now attached to ttyUSB0 2024-06-07 15:41:32 from dmesg, looks ok? 2024-06-07 15:41:35 Hm hm 2024-06-07 15:42:31 so you have a de-9 connector? 2024-06-07 15:44:07 Yep 2024-06-07 15:44:14 do you have a female de-9 connector laying around? 2024-06-07 15:44:15 Damn thing has 26 different protocols to try out... >< 2024-06-07 15:44:34 zelgomer: No, nothing here. But I can buy if needed. 2024-06-07 15:45:03 does your usb-to-serial converter have tx and rx leds? 2024-06-07 15:45:32 LED light? Afraid not. 2024-06-07 15:46:09 That would be nice, to see if the scale is sending anything at all, at least. 2024-06-07 15:46:36 https://components101.com/modules/pl2303-usb-to-ttl-serial-converter-module ? 2024-06-07 15:48:40 That one looks like it has RX/TX LEDs 2024-06-07 15:49:01 GeDaMo: nice, but does it fit into female de-9? 2024-06-07 15:49:20 Is that not the one you have? 2024-06-07 15:49:54 It is, sure 2024-06-07 15:50:54 Do the lights blink when you send data to it? 2024-06-07 15:51:28 Oh sorry, misunderstood. I have just a cable from DE-9 to USB, no lights. 2024-06-07 15:51:29 https://www.amazon.de/-/en/XICOOLEE-Windows-Connector-Indicators-Compatible/dp/B0C8RJ722Z/ref=sr_1_1?crid=2Q8AF2EUYFXGH&dib=eyJ2IjoiMSJ9.0tFV1I7J8jxamJ-70_O-cbpNNxMUyIW7dvLZ6hH0BLLTrmAJX9AxUmM2KfL_t1YnK8oupJOSJseoLb8E95_DguS_pMdoQtKI3I-7paneuuNaOI3XMvIbwHwrm8QKYKvbXUisqnAkBQV3WDddaCWL6Y2HzNfsjeRx28r-maAupGLrRSNjnK6PQ1C6vt1ajFYbs1Cfp7RP6uTTZR69egGrH_WibFvMAa5dRSaZzhZyI0g.5hpaaFQeODHp4UAG1r8896d0HdnQhOFa52N533O 2024-06-07 15:51:35 X8CM&dib_tag=se&keywords=PL2303+UART+Module&qid=1717768205&sprefix=pl2303+uart+module%2Caps%2C77&sr=8-1 2024-06-07 15:51:38 Ah crap 2024-06-07 15:51:51 https://www.amazon.de/-/en/XICOOLEE-Windows-Connector-Indicators-Compatible/dp/B0C8RJ722Z 2024-06-07 15:52:18 That one also appears to have LEDs "TXD RXD Indicators" 2024-06-07 15:52:41 They're even marked on the board 2024-06-07 15:54:43 Yea 2024-06-07 16:00:08 https://www.amazon.de/-/en/dp/B09PYQL5J6?psc=1&smid=A1SUSVKN2N7NX6 - ordered this one, because it had faster delivery 2024-06-07 16:09:26 Eyyy I got "IR^M" back now! After echo -ne "\x02" > /dev/ttyUSB0 2024-06-07 16:37:08 how did you read it? 2024-06-07 16:40:34 zelgomer: cat -v < /dev/ttyUSB0 2024-06-07 16:41:03 i see. if you're going to use cat, no need to use file redirection 2024-06-07 16:43:09 i mean, it doesn't hurt anything in this case, of course. just pointing it out because i like to be reminded when i do redundant things :) 2024-06-07 16:52:39 Right :) 2024-06-07 16:52:50 Got it working from browser now too. Sorry, no Forth implementation :( 2024-06-07 16:56:32 then go back to your closet and don't come out until i can enter "1 2 + ." and see " 3 ok" 2024-06-07 16:57:05 Heck ye 2024-06-07 18:02:35 I ran across an old WiFi/Bluetooth game controller when I was rummaging around the other day. SteelSeries Stratus Duo. I thought it might be fun to charge it up and see if I could talk to it from my notebook. 2024-06-07 18:05:23 Not sure exactly what a "nice" Forth interface to a controller would be, but it might be fun to tinker with. 2024-06-07 19:52:28 Has anyone used any *working* LLVM Forth compiler?