Hacker Newsnew | past | comments | ask | show | jobs | submit | druid77's commentslogin

Thanks for your comment. I think it's an accurate headline, as the client and server code I wrote (which goes through the hardware TRS-IO (which, yes, has the ESP32 chip on it)) allows for ChatGPT interaction on the TRS-80. The I/O module (TRS-IO) is just providing a way for a BASIC program (the "client") to send and receive network requests over the serial port. The client is essentially a dumb terminal, and doesn't have much logic at all. I’m running a python "server" on a Linux box (AWS EC2) that handles the request then constructs an OpenAI call from there, then passes the response back to the TRS-80. So that's what I'm trying to represent as the client/server in the headline :). Most of the work I did was in creating the client and server, not just plugging in hardware. Although I did spend a painful amount of time cleaning the keys, and just generally figuring out an approach. I think a good title would be "TRS-80 as a dumb terminal to ChatGPT".


Th I/O module (TRS-IO) is just providing a way for a BASIC programs to send and receive network requests over the serial port. So yes, I’m actually taking the dumb terminal approach. I’m running a python server on a Linux box (AWS EC2) that handles the request then constructs an OpenAI call from there, then passes the response back to the TRS-80.


Ah I see. So basically instead of a local Linux box you are piping it to an AWS instance with that card. This was what I was alluding to, in where you are just displaying the shell from the connected Linux host so you don't need to write any software on the TRS-80 itself:

https://arstechnica.com/information-technology/2015/08/surfi...


This computer only physically has 48k. That’s after upgrading. The base model has 16k as far as I understand how it came from RadioShack.


That would be a really cool addition. GPT seems less good at writing BASIC code, than other modern languages though. I think since GPT mostly crawls online sources there was less training material put online overall. :)


With 3.5-turbo-16k you could include quite a lot of example code or extra BASIC documentation if you are concise.

Targeting some retro platform for ChatGPT code generation is something I have been thinking about. Especially now that we have fine tuning. Because the domain of a retro system is relatively limited compared to the scope of modern platforms.

Maybe someone could train it with like 300 type-in BASIC programs along with a good paragraph-long description for each.

Then we could just give it a paragraph describing what we want and if we are lucky get a tailor-made program.


I'm not really replying to this post per se, but the NES emulator is pretty cool. Just wondering if anyone who has posted here can help me. I posted my very first hacker news submission, but it only shows up on the "new" tab when I'm logged in (with an orange asterisk next to it). When I log out it's nowhere to be found. When I log back in, I see it. The FAQ says that "All Ask HNs appear on newest and asknew". Just a shot in the dark, but if anyone has any ideas what might be going on, it's appreciated. And sorry for spamming this submission.


email the mods at hn@ycombinator.com like the FAQ mentions and they'll sort you out.

New accounts sometimes get caught up in various filters.


Thanks! I did that and all is good now


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: