alejandro

joined 1 year ago
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

The most success I've had with AI assisted programming was when I found myself having to work with HTML in Python for the first time, and I used ChatGPT to generate sample code for specific things I wanted to do with lxml. It was much, much faster than reading through the crappy docs to properly learn the API.

Unfortunately, I haven't been able to replicate that success with other projects. Unless it's some low hanging fruit/popular library like lxml, ChatGPT tends to hallucinate APIs that don't exist.

EDIT: also, I've tried using AI code generators that integrate into your IDE, but never found them to be that useful. Something like clangd is more consistently helpful, and actually guaranteed to be correct.

[–] [email protected] 4 points 1 year ago

Another way would be to keep the proprietary code in their own compilation units, and replace them with a dummy/stub implementation from your build system at config time (e.g. CMake option + if() statement). One benefit to this is that you don't have to litter your codebase with a bunch of preprocessor directives.

There's no "better" way though, just pick the one you find easier to manage.

[–] [email protected] 1 points 1 year ago (1 children)

Given the facts in this case, aiming a firearm at the door, and pulling the trigger is legally insufficient to prove depraved mind

https://youtu.be/DeAP9-JhIXk

[–] [email protected] 7 points 1 year ago

Thinking about dating Bobby Kotick? Don't.

Lol that comment is weird as hell without any context. Here's the context for anybody that hasn't seen it.

[–] [email protected] 4 points 1 year ago (1 children)

There's nothing "pathetic" about it. You'd have to be stupid not to take a good deal. That's like not scoring a goal while the goalie isn't paying attention, because you think it'd be unfair.

Solving this problem isn't the responsibility of individuals and their "willpower", it's the responsibility of governments. It's their job to regulate markets and ensure fair competition. Getting mad at some sysadmin who accepts money from Meta might make you feel better inside, but it's not going to change anything. Do your research, write to your representatives, threaten to vote them out, and then actually show up on voting days.

[–] [email protected] 2 points 1 year ago (2 children)

A cryptic symbol with no direct meaning I am afraid

Isn't that effectively what the floppy disk is to most computer users today?

[–] [email protected] 1 points 1 year ago
  • The original Crysis is great
  • RE:7 and Village are great
  • Fallout New Vegas is the only Fallout game I enjoyed, but I enjoyed it a lot
  • Also this definitely doesn't count but imma throw it out anyways: Pathologic 2