37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions
comment 3y ago · link · parent
None the less, if you're building a project for others, you most likely don't want the secret key to be public, which it'd be if you embed it in the client-side code.
comment 3y ago · link · parent
comment 3y ago · link · parent
Just to be clear, the context here is me writing games for fun, while struggling with the math heavy parts. I would never professionally use GPT4 for anything, and wouldn't push anything to production that I don't 100% understand, that would be failing at my profession and I take bigger pride in my work than that.
But for fucking around with games in my free time, it has made me a lot of efficient at the parts I'm struggling with.
comment 3y ago · link · parent
1989.
xkcd: Will _____ Destroy Whole Industries? (Simple Answers)(xkcd.com ↗)
47 points · by capableweb · 3y ago · 23 comments
comment 3y ago · link · parent
Similarly to providing safe needles for heroin usage for example. If a heroin addict asks you for a safe needle and you say no, they're not gonna just give up and say "Well, better not do heroin then", but instead re-use needles from others or whatever else they can do. If you instead provide them with safe needles, at least you can eliminate some risk with the behavior, even if you don't eradicate the dangerous action fully.
comment 3y ago · link · parent
I think you're referring to Tay (https://en.wikipedia.org/wiki/Tay_(bot)) here right? The context is slightly different, as Tay "learned" from what random people on the internet told it, so unsurprisingly, a bunch of internet randoms got together to make the bot racist and a holocaust denier.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
Seems the "anti-knowledge" training has been a bit more aggressive for some chemicals than others.
comment 3y ago · link · parent
Unless you've manually counted all the comments, it seems like you're incorrect, most of the discussions are related to the subject at hand, compared to this thread you started here :)
comment 3y ago · link · parent
As always, what is the right approach depends. If you want to run the game in a very memory constrained environment (early game consoles), the approach of using polygons might make more sense. But nowadays we have plenty of vram and if the entity is used a lot, 1 texture for 100s of entities makes it a worthwhile tradeoff.
Edit: thank you for the corrections, I'm not heavily into game programming/rendering but am familiar with 3D/animation software, but the internals of rendering is really not my specialty so I appreciate being corrected. Cunningham's Law to the rescue yet again :)
comment 3y ago · link · parent
But there are things that are harder for me, or more complex maybe. I struggle with math, and always had, so anything involving heavy math or algorithms is harder for me (I'm a hacker, not a computer scientist, if you will).
For these things, I found GPT4 to be very helpful. I can write what I want, get a WIP version back, work out some kinks with it myself and ask it to rewrite it if it's not perfect, until I have a perfect version. Add some unit tests, find more things that are missing/wrong (sometimes), more back and forward.
Before GPT4 I either just tried to work around having to deal with heavy math, or find people IRL that could help me. Now I'm a lot faster even if it involves math, because of GPT4.
comment 3y ago · link · parent
The most helpful thing with GPT-4 have been getting help with math heavy stuff I don't really grok, and that I can try to compile the code, get an error and instruct GPT-4 that the code didn't work, here is the error, please fix it. Other things it been helpful for is applying the "Socratic method" for helping me understand concepts I don't really grok, like Quaternions. Then, knowing GPT-4 isn't perfect, I always verify the information it tells me, but it gives me great starting points for my research.
Here a conversation I had lately with GPT-4 in order to write a function that generates a 2D terrain with Perlin Noise: https://pastebin.com/eDZWyJeL
Summary:
- Write me a 2D terrain generator
- Me reminding GPT-4 it should be 1D instead of 2D (I used the wrong wording, confusing a 1D vector with 2D)
- Code had issues with returning only values with 0.0
- GPT-4 helping me tracking down the issue, where I used the `scale` argument wrong
- Got a working version, but unhappy with unrealistic results, I asked it to modify the function
- Finally got a version I was happy with
comment 3y ago · link · parent
Seems pretty doable to me :)
comment 3y ago · link · parent
Is this a joke or do some people/orgs actually pay these amount of those specs (+ the other stuff that's included, obviously)?
If so, I need to rethink which market segment I'm in...
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
I submitted the URL and enough people found it interesting, so it ended up on the frontpage. The same for every submission you find on the frontpage.
> What's to discuss?
The state of game development with Rust. Apparently there is a lot to discuss, as it's currently on the #1 spot on the frontpage, with 60 comments.
> Should we just link to the PIP repository, too?
You're welcome to submit whatever websites you want. If enough people find it interesting, there will discussion around then subject.