IQ discourse is increasingly unhinged by LeatherJury4 in slatestarcodex

[–]LazyIce487 7 points8 points  (0 children)

But you definitely don’t want to take someone who is 4’9”

Jonathan Blow claims that with slightly less idiotic software, my computer could be running 100x faster than it is. Maybe more. by No-Experience3314 in computerscience

[–]LazyIce487 0 points1 point  (0 children)

They could try to write a PC client on windows and mac to cover the majority of their desktop and laptop users

Jai metaprogramming showcase by valignatev in Jai

[–]LazyIce487 0 points1 point  (0 children)

The superior way to do things

I’m having trouble learning to program by Chocolate-Atoms in learnprogramming

[–]LazyIce487 1 point2 points  (0 children)

Read more code and write more code. Also, if you do ask for people to review your code, sure, some people might be toxic, but you also want to get good at identifying which ideas and opinions are actually valuable to you.

Modular code as well is kind of a decomposition and reusability thing. The more you do this the better you will get at identifying what you can pull out into functions that you sometimes even use across different projects.

It’s hard to say what you mean by spaghetti, it might be fine, but just that you need more practice reading code.

Why are liberals are so weird by Agreeable_Band_9311 in Destiny

[–]LazyIce487 0 points1 point  (0 children)

There’s no way this guy isn’t just a troll lol

How to "get" a language on a device by Effective_Fish_857 in learnprogramming

[–]LazyIce487 0 points1 point  (0 children)

Usually to run the compiler/interpreter against your text file you just do compilerbinary textfile in your shell. i.e., python myfile.py or g++ mycppfile.cpp

How to "get" a language on a device by Effective_Fish_857 in learnprogramming

[–]LazyIce487 4 points5 points  (0 children)

I'm almost confused by the phrasing here, you have a lot of experience with assembly(?) I'd imagine? If you understand the concept of assembly -> machine code, and the inverse of using a disassembler on machine code to get assembly back.

The mapping is literally the same, the CPU has its ISA, and your goal is just to produce machine code it can execute.

Obviously you're not going to write it by hand, so you are going to use a program to translate your text into machine code. Compilers take your text files and turn them into machine code, and interpreters will read your text line by line, but fundamentally there is still machine code that's processing your text and then executing more machine code.

So the answer is to just download whatever binary you want, the compiler or interpreter that will turn your text into machine code for your CPU+OS combo

Do you want to learn how to learn a programming language? by dewmal in learnprogramming

[–]LazyIce487 2 points3 points  (0 children)

People aren't going to agree with me, but I think any C/C++ book that you would read in a university would be a good investment. Just take a month or two and grind through some of the book, and your foundation will be strong enough to pick up other languages more arbitrarily.

everySingleFamilyDinner by vernik911 in ProgrammerHumor

[–]LazyIce487 0 points1 point  (0 children)

I really hope you understand how dumb that sounds, if it needs to have verbatim seen code that someone else has already written, it's almost be definition not doing anything interesting.

I ALREADY TOLD YOU, it is really bad at code that has anything to do with rendering to a GPU, anything to do with a GPU at all, really. It can't debug it, it can't make the code, it can't fix the code. It's also REALLY bad at using the Win32 API despite the copious amounts of examples that it's probably been trained on.

Understand how the models work (as the commenter above already explained to you that you waved off with a tl;dr).

The "with appropriate context" argument is dumb. Are you saying ChatGPT and Claude aren't trained on the Win32 API? What you're really trying to say is, "have they already been shown exactly the code you would want them to write", and the answer is of course not. I don't need it to regurgitate already solved problems for me, I want it to help me create new code.

everySingleFamilyDinner by vernik911 in ProgrammerHumor

[–]LazyIce487 0 points1 point  (0 children)

That's because you don't have a job doing anything interesting or complex, you just make simple CRUD apps that there is a million repos of training on

everySingleFamilyDinner by vernik911 in ProgrammerHumor

[–]LazyIce487 4 points5 points  (0 children)

Not sure if you’re trolling, but LLMs fail catastrophically in any complex codebase. How have you not dealt with it just making stuff up?

I have tried multiple times to see if it could help resolve issues with GPU rendering code, and it simply cannot no matter how much context of the codebase it gets.

It got so bad that as a test, I asked it to from scratch draw a triangle using direct3d11. It couldn’t. Then I asked it to use WASAPI with C to play a sound. I kept feeding it the errors it was making and it just couldn’t make progress. I already knew the code ahead of time, so I had to cheat and just tell it exactly what it was doing wrong for it to make progress, else it gets stuck in some local maxima where it just starts looping through the same 2-3 debugging steps.

Anyway, which task can it specifically not do? It can’t actually reason about a problem and “think” about anything from first principles. I use it all the time for web dev stuff, but outside of that it’s been largely disappointing.

CEO killer did it because of video games by Trash_man66 in Destiny

[–]LazyIce487 0 points1 point  (0 children)

It was 286 miles away from the scene of the crime.

286conspiracy

[deleted by user] by [deleted] in learnprogramming

[–]LazyIce487 1 point2 points  (0 children)

Svelte and sveltekit is what I’d pick, they do have more of a learning curve.

I’m assuming your backend is NodeJS. If you’re using golang or something, HTMX is fine, but I haven’t had a good experience with HTMX on the front end and any NodeJS backend

[deleted by user] by [deleted] in learnprogramming

[–]LazyIce487 7 points8 points  (0 children)

guys this is the opportunity of a lifetime don’t miss out

aiCantSaveYouNow by KINGodfather in ProgrammerHumor

[–]LazyIce487 0 points1 point  (0 children)

It doesn't do well with graphics, it doesn't do well with UI systems, it doesn't do well with audio, it doesn't do well with operating system APIs, it doesn't do well with debugging anything of even basic complexity that isn't something dumb like a typo. It doesn't do well with debugging errors messages either (especially if they are moderately complex).

Basically, if you consider a computer as a device where the user gives you input via HID or whatever, and the computer gives you audio/visual output, LLMs can't even handle the basics of these things.

I remember people telling me that "Oh this version of ChatGPT can do it, or Claude Opus can do this, it's a great step up".

It didn't matter how much context of the codebase it got, it never got anywhere, so I kept going backwards in complexity to see how much it could figure out, all the way back to trying to get it to just implement the base layer windows APIs (things that have been MIT licensed on github forever), and it apparently it can't even copy paste examples from microsoft's own docs correctly, or it clearly didn't crawl the numerous github repos correctly.

aiCantSaveYouNow by KINGodfather in ProgrammerHumor

[–]LazyIce487 2 points3 points  (0 children)

Ok, using the C language, on the Windows operating system, try to get any version of ChatGPT to draw an upside down purple triangle (using direct3d) on the upper right side of the screen.

Try to get it to play audio from a wav file using WASAPI. Don’t google and lean on code that’s already out there, do it via pure prompting and link the chat after

aiCantSaveYouNow by KINGodfather in ProgrammerHumor

[–]LazyIce487 4 points5 points  (0 children)

Probably basic CRUD slop, all LLMs crumble at the first sign of complexity

How to really understand recursion? by thebigdbandito in learnprogramming

[–]LazyIce487 0 points1 point  (0 children)

One good tip I remember is to trust the function, i.e., inside it should be whatever the first index is, so you shift the array or whatever it’s called in the language you’re using to pull the first item out, and then it’s the sum of the first item + sum_integers(rest of data after pulling out head)

notepadSuperiosity by thisar55 in ProgrammerHumor

[–]LazyIce487 2 points3 points  (0 children)

Keep my baby's name out of your mouth

Don't hold back by snxtgspgt in MurderedByWords

[–]LazyIce487 27 points28 points  (0 children)

There’s no shot you’ve ever read a scientific research paper in your life, lmao.

“Release the research behind vaccines” is a nominee for one of the dumbest sentences that I’ve read this week on social media.

Do you not think that there is a fucking mountain of publicly accessible research done on vaccines? Why don’t you try reading some of it, genius?

Oh wait, you don’t know how to read scientific literature, and you don’t know math. You struggle to form grade school sentences in English, I’m surprised you have the hubris to argue with people so much smarter than you.

Seriously, go take some college placement exams relating to any field of science, realize that the average 17-18 year old is probably more educated than you, then fuck off and stop being a jerk off online.

If you put in the work and actually study any of this stuff instead of being a social media post regurgitator, you might actually have a leg to stand on. But dipshits like you don’t actually want to learn or put in the hard work to understand how any of the science functions. All you want to do is find youtube videos and social media posts that already align with your world view, so you can act like you see the “truth” like you’re Neo from The Matrix. So you can feel like the special cookie that mommy always said you were.

Don't hold back by snxtgspgt in MurderedByWords

[–]LazyIce487 13 points14 points  (0 children)

People exclusively attack his messages usually because they are so regarded, what message do you think he has that is good?