Dumhuvud

joined 2 years ago
[–] Dumhuvud@programming.dev 11 points 14 hours ago (1 children)

If you can't be bothered to put any effort into creating content, then why should people waste their time reading / watching it?

[–] Dumhuvud@programming.dev 2 points 1 day ago

OWASP Top 10 is pretty much a list of suggestions for vibe-coders.

[–] Dumhuvud@programming.dev 1 points 1 day ago (1 children)

Huh? Did you mean to reply to me? I never mentioned math.

[–] Dumhuvud@programming.dev 1 points 1 day ago (3 children)

Comments aren't meant to be documentation

Documentation is supposed to be in the documentation, not in the code.

Some tooling generates documentation from comments. Like rustdoc or LDoc.

I'll be honest, I mostly skimmed through your comment. Sorry if it's something you touch upon later on.

[–] Dumhuvud@programming.dev 23 points 2 days ago

It's all fun and games until an LLM outputs someone else's AGPL code and you merge that into your codebase.

Microslop had an oopsie this February, actually. Their (de)genAI plagiarized a diagram: https://nvie.com/posts/15-years-later/

[–] Dumhuvud@programming.dev 10 points 2 days ago

It's rather trivial to translate Python to C:

$ cat << EOF > ./shitpost.c && gcc -O2 -o ./shitpost ./shitpost.c && ./shitpost
#include <stdlib.h>

int main(int argc, char** argv) {
    system("python3 -c \\"print(\\\\\\"Hello, World!\\\\\\")\\"");
    return 0;
}
EOF
Hello, World!

My C is a bit rusty though, sorry.

[–] Dumhuvud@programming.dev 7 points 2 days ago (1 children)

What about an opening single quotation mark () being used instead of an apostrophe ()?

[–] Dumhuvud@programming.dev 14 points 3 days ago

Well, he did end the bug bounty program. There's no reason for sloperators to waste their precious tokens anymore, is there?

[–] Dumhuvud@programming.dev 8 points 4 days ago* (last edited 4 days ago) (2 children)

Introduction to Algorithms / CLRS is what you're looking for. It's language-agnostic.

view more: next ›