News for hackers. Stuff that matters.
Re:Show HN: RESTful Doom – HTTP+JSON API inside Doom by jeff_harris on Thursday August 03, 2017 @03:21PM (#14922862)
Haha yes... although I would be slightly nervous to expose my janky C code to the internet. Where I'm confident it would crash and burn in a very short amount of time :)
Re:Show HN: RESTful Doom – HTTP+JSON API inside Doom by Xeoncross on Thursday August 03, 2017 @06:55PM (#14924725)
Use a proxy. Openresty (nginx+lua) or a Go app would do. Only allow whitelisted commands through like the basic control commands and then pass it on to your C code.
Re:Show HN: RESTful Doom – HTTP+JSON API inside Doom by jeff_harris on Thursday August 03, 2017 @06:59PM (#14924757)
yep, that would definitely be a good idea!
Re:Show HN: RESTful Doom – HTTP+JSON API inside Doom by _lce0 on Thursday August 03, 2017 @03:38PM (#14923041)
Most certainly your machine will suddenly reboot to a newly installed arch ;)
Re:Show HN: RESTful Doom – HTTP+JSON API inside Doom by jeff_harris on Thursday August 03, 2017 @03:44PM (#14923090)
haha yes!