• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle





  • It can be surprisingly helpful. I needed a small program to change between three “states”, two separate programs that use the gpu and can’t run at the same time that I run on a server, and an “idle” state where none of them are running. And a simple web ui to check and change state.

    This was the conversation: https://chat.openai.com/share/661322bc-2bd2-4608-9c7f-ec6d9f488601

    Note that it did mess up the transitions code a bit, but it was easy to fix after a brief look at the documentation. However, the http page worked 100% straight off the bat, and the flask code and running of the commands worked perfectly. It’s not a big thing, but a lot of “boilerplate” code and double checking docs was avoided. And this is the free tier.









  • It doesn’t have to be.

    One of my experiments, an overlay for a game using camera position API to draw a 3d scene over the game, rendering things as if they were in the game (with some limitations) uses electron and three.js

    It’s pretty fast, uses about 100-150mb ram, and works pretty well. A similar overlay using same approach but written in C and opengl take ~200+ mb and a c# one 150-250 mb. The c# one has more features overall so it’s not a complete comparison, but then my overlay can do things the other can’t too.