Thread 715330456 - /v/ [Archived: 381 hours ago]

Anonymous
7/13/2025, 8:04:59 AM No.715330456
1721968769160738
1721968769160738
md5: 75c4111a2408bfb6045aa8d723653acd๐Ÿ”
>game coding is ha-
Replies: >>715330571 >>715330946 >>715331663 >>715332151 >>715333280 >>715333342 >>715334548 >>715335383 >>715335764 >>715336114 >>715336872 >>715337137 >>715337243 >>715337291
Anonymous
7/13/2025, 8:06:34 AM No.715330541
1709882166009_thumb.jpg
1709882166009_thumb.jpg
md5: 3467df3961c5cb051c5c8c356477cc4f๐Ÿ”
dae e celeb drama :3
Anonymous
7/13/2025, 8:06:51 AM No.715330559
You might not like it, but this is what peak performance looks like.
Anonymous
7/13/2025, 8:07:08 AM No.715330571
>>715330456 (OP)
jeet code
Replies: >>715330796 >>715330853 >>715331292 >>715333207
Anonymous
7/13/2025, 8:09:31 AM No.715330715
GvFqBwyWEAA-izw
GvFqBwyWEAA-izw
md5: 88a65336b679ce8ec08f70ddd4c235fd๐Ÿ”
So is posting video games on the video game apparently. You should join your eceleb friend over on youtube!
Anonymous
7/13/2025, 8:11:06 AM No.715330796
>>715330571
don't be rediculous; this is far worse than jeet code
jeets may be bad at their jobs, but even they usually have SOME training. this dipshit doesn't even have the skills you'd learn in an intro to programming class
Replies: >>715331292
Anonymous
7/13/2025, 8:12:29 AM No.715330853
>>715330571
giga retard troll code. no fucking way he did this shit.
Replies: >>715331292 >>715335247
Anonymous
7/13/2025, 8:14:20 AM No.715330946
1864828475_thumb.jpg
1864828475_thumb.jpg
md5: 69052053ae30ef972fe55edd49da4793๐Ÿ”
>>715330456 (OP)
How else would you code it? If (IP = correct choice), (something happens), else (display_text "not a hacker")?
Replies: >>715331247 >>715331476 >>715331679 >>715332556 >>715332665 >>715332756 >>715333187 >>715333604 >>715333935 >>715334570 >>715336120 >>715337541
Anonymous
7/13/2025, 8:19:24 AM No.715331179
5e28ad43f28f8c5891555d53242c3948
5e28ad43f28f8c5891555d53242c3948
md5: 6628d6e74344fb80e8d64f65b76b7ae6๐Ÿ”
>stupid fucking cripple
Replies: >>715331464
Anonymous
7/13/2025, 8:20:52 AM No.715331247
>>715330946
instead of checking every single ip that exists line by line, just make a list of banned ips. fucking simple. and use a fucking database. holy shit. this guy is mentally fucking retarded.
Replies: >>715331292 >>715331663
Anonymous
7/13/2025, 8:21:50 AM No.715331292
1751325559741339
1751325559741339
md5: 4900718b6b61290aae5b8adb3f816ea4๐Ÿ”
>>715330571
>>715330796
>>715330853
>>715331247
Anonymous
7/13/2025, 8:25:07 AM No.715331454
23153
23153
md5: 990d5dbbc31b5c2a76161428300bc549๐Ÿ”
imagine Thor having a nice dream, probably about not being a loser and pic related flashes, waking him up instantly shitting himself.
Anonymous
7/13/2025, 8:25:18 AM No.715331464
>>715331179
>pinky finger bigger than others
>doesnt know how abs or tonned torso looks or works
why bother saving this trash art if the artist didnt even care?
Anonymous
7/13/2025, 8:25:31 AM No.715331476
>>715330946
using else is bad practice
I hate this guy in the OP, but he is unironically correct in his approach
Replies: >>715331742
Anonymous
7/13/2025, 8:26:37 AM No.715331540
I made two stupid games in JavaScript as a teenager, and even I did a better job than this moron
I didn't write a new line of code for each piece of dialogue, and I used switch statements correctly
Anonymous
7/13/2025, 8:26:57 AM No.715331565
The problem with pseuds getting high off criticisizing other people's code is that the majority of them are too stupid to even know when something is fake
Replies: >>715331627 >>715333158
Anonymous
7/13/2025, 8:28:09 AM No.715331627
>>715331565
Thor's ability to walk is fake nigga
Anonymous
7/13/2025, 8:28:51 AM No.715331663
>>715330456 (OP)
>>715331247
The file itself is a database
Literally nothing wrong with this
Because it's hardcoded it will be even faster
Replies: >>715331731 >>715333346 >>715333672
Anonymous
7/13/2025, 8:29:12 AM No.715331679
>>715330946
I don't much about coding but ik you can use for loop for repeatetive tasks, but i could be wrong
Anonymous
7/13/2025, 8:30:19 AM No.715331731
>>715331663
>be even faster
He's making a visual novel not crysis 3
It should be all plug and play at this stage of development
Replies: >>715331856 >>715331907
Anonymous
7/13/2025, 8:30:27 AM No.715331742
EV-SF9FVAAAYnab
EV-SF9FVAAAYnab
md5: bbcb4d5d3e287c823ee19aafbd45d132๐Ÿ”
>>715331476
Explain why else is bad like Im 65
Replies: >>715332084 >>715332775 >>715334830
Anonymous
7/13/2025, 8:31:50 AM No.715331810
>understand the logic of programming pretty well
>hate the syntax and semantics of everything but scripting languages
Anonymous
7/13/2025, 8:32:55 AM No.715331856
>>715331731
why would there be hackers for a visual novel?
Replies: >>715332072
Anonymous
7/13/2025, 8:33:45 AM No.715331907
>>715331731
Its a visual novel. Who cares
Anonymous
7/13/2025, 8:36:37 AM No.715332072
>>715331856
because he's a mouth breather heigh on his own supply
Anonymous
7/13/2025, 8:36:58 AM No.715332084
1743999136178860
1743999136178860
md5: 173686b445eb3bd9879bbee83a81368d๐Ÿ”
>>715331742
you gotta hash the strings into a custom pointer array and and stroggify each bytecode into a structclass so that it runs better
Replies: >>715337046
Anonymous
7/13/2025, 8:38:25 AM No.715332151
>>715330456 (OP)
Wouldn't it be easier to make a list and just have the program check the list?
Replies: >>715332345
Anonymous
7/13/2025, 8:39:08 AM No.715332187
Did he really pentest a powerplant?
Anonymous
7/13/2025, 8:42:05 AM No.715332345
>>715332151
Optimization wise, how is telling your game to check 200 ifs different than telling your game to check a list that has 200 items
Replies: >>715332412 >>715332601 >>715332636 >>715332736 >>715332825 >>715332862 >>715333004
Anonymous
7/13/2025, 8:43:37 AM No.715332412
>>715332345
It just seem like a list would be more tidy. I'm not a programmer by the way, I am trying to learn though.
Anonymous
7/13/2025, 8:46:03 AM No.715332556
>>715330946
Have an IPAddr class that hold the original full string but also the 4 digits of the ip adress as individual integer.
Have a range or collection of integer to iterate over and check if the last digit attribute of your IPAddr correspond to any of these, if so do something.

Or even more simple, use regex rules.
Replies: >>715332713 >>715334964
Anonymous
7/13/2025, 8:46:54 AM No.715332601
>>715332345
I mean, the smart thing would be to just import the list and write a line of code that goes through it, instead of writing code for each element in the list
Anonymous
7/13/2025, 8:47:22 AM No.715332636
>>715332345
If we ignore compiler optimizations, searching through a list might be faster if you write the correct algorithm for it.
I'd have to know the context, but if you want to search for an IP in a data structure that contains IPs from hackers, then why not use a hash table? Lookup is technically O(1)
Replies: >>715332787
Anonymous
7/13/2025, 8:47:48 AM No.715332665
>>715330946
I'd have my PC pop a prompt up asking me if that IP address is a hacker or not.
The background of the message prompt would be some stacked anime girl
Anonymous
7/13/2025, 8:48:40 AM No.715332713
image_2025-07-13_121806122
image_2025-07-13_121806122
md5: 6e0e7f19a84d12079015e6d31d87a96a๐Ÿ”
>>715332556
>regex
Anonymous
7/13/2025, 8:49:04 AM No.715332736
>>715332345
It's not about performance but code maintainability and architecture. It's slop code, the performance difference is marginal. "Premature optimization" is a pitfall in programming.
Anonymous
7/13/2025, 8:49:19 AM No.715332748
>715330541
doesnt saving webms like these make you a homosexual?
Anonymous
7/13/2025, 8:49:29 AM No.715332756
>>715330946
If you need maintainability then make a list or range check. If you want performance either a range check or if not all IPs in a range are whitelisted then halve the range in each step before reaching the equation level. So that at least it's log(n) steps and not linear n steps.
Anonymous
7/13/2025, 8:49:52 AM No.715332775
>>715331742
because it's unnecessary
Anonymous
7/13/2025, 8:50:08 AM No.715332787
>>715332636
NTA
You're right I'm retarded, I didn't think of a hash table but it's perfect for this.
Anonymous
7/13/2025, 8:50:33 AM No.715332810
If you're going to post one, why not continue and post more to make the thread unusable? You're getting unfairly fucked by the jannies later anyway.
Anonymous
7/13/2025, 8:50:49 AM No.715332825
>>715332345
using 'dict' instead of 'if' allows the checker to jump directly to the correct statement, rather than checking all 200
Anonymous
7/13/2025, 8:51:30 AM No.715332862
>>715332345
the point is that the code is easier to modify, like adding a new element doesn't require you typing bunch of nonsense conditionals, instead you just add it to the list

and yes you're right, the speed won't be any different in this case, compilers optimize stuff like this away
Anonymous
7/13/2025, 8:53:57 AM No.715333004
>>715332345
you could store them in a hash map, so performing a lookup is O(1)
also it seems he's just adding ip ranges, so it'd be better to code something that supports ip ranges
if IPRange("1.1.1.1-200").contains(ipaddr)

there's dozens of better ways to do it
Anonymous
7/13/2025, 8:56:29 AM No.715333158
frog_game
frog_game
md5: e882b029a43ec2016f3bdd22dc65ef3c๐Ÿ”
>>715331565
At this point I can't tell who's trolling whom.
A few days ago I saw a post from an alleged CS student insisting to their professor that `if` statements are bad and destroy performance.
Did he genuinely believe `if` statements shouldn't be used?
Was he making fun of people who post bad code without understanding why it's bad?
I can't tell anymore.
Anonymous
7/13/2025, 8:56:49 AM No.715333187
>>715330946
vectors, hashtable, and iteration are your friends
turning numbers into string format is not
Anonymous
7/13/2025, 8:57:06 AM No.715333207
>>715330571
jeets have AI now to make functional code
Anonymous
7/13/2025, 8:58:01 AM No.715333280
>>715330456 (OP)
This is something you'd only see in an elementary school computer science class.
Anonymous
7/13/2025, 8:58:34 AM No.715333342
>>715330456 (OP)
for (int i = 0; i < RANGE; i++) {
if (i == BAN) {
ban();
}
std::cout << โ€œ1337โ€ << std::endl;
}
Replies: >>715336710 >>715337671
Anonymous
7/13/2025, 8:58:38 AM No.715333346
>>715331663
Just run 256^4 If statements every time you want to check an IP
Anonymous
7/13/2025, 9:00:09 AM No.715333458
Damn anons itt are offering better advice than /g/ on a good day, how the turns have tabled.
Anonymous
7/13/2025, 9:02:11 AM No.715333592
It's a fucking shitpost, why are people debating this like it's real code when it's a meme stolen from plebbit. You're not smart for pointing out this is retarded, that's the joke you autists
Anonymous
7/13/2025, 9:02:26 AM No.715333604
>>715330946
Disgusting saggers
You can tell they reach below her belly button without a bra
Anonymous
7/13/2025, 9:03:28 AM No.715333672
>>715331663
>Because it's hardcoded it will be even faster
What's great is that I can't tell if this meant to be taken seriously or an obvious joke
Anonymous
7/13/2025, 9:03:45 AM No.715333690
egt
egt
md5: 2e5b22e4583432fd359efe264524c727๐Ÿ”
I don't know anything about server stuff, but making a visual novel seems like a weekend's worth of work.
>The character moves on the X and Y axis, >interacts with another character, and goes through a dialogue tree
>A new area opens up
>there are small animations here and there

All of these things seem pretty simple to me
Replies: >>715334130 >>715334204 >>715334551 >>715334595 >>715334616 >>715336579 >>715337119 >>715337137
Anonymous
7/13/2025, 9:07:37 AM No.715333935
>>715330946
I wonder if this would be possible to do with renpy.
Anonymous
7/13/2025, 9:09:30 AM No.715334094
https://www.youtube.com/watch?v=yitNhIYxzCc
Anonymous
7/13/2025, 9:10:05 AM No.715334130
>>715333690
Depends on how you write it. Using a framework like renโ€™py or gamemaker or even windows forms or something will be easy. Writing it from nearly scratch using OpenGL or DX will be hard but you can tune it to be exactly how youโ€™d like it, with modern gpu frameworks like Vulkan it will be about 10x the code that OpenGL would use for a ~5% performance gain on newer hardware. Also consider that if youโ€™re making it from scratch youโ€™d need to handle internal windowing and font rendering and everything. Diy is way more satisfying but much more time consuming, I have way more respect for engine writers than I do for unitysloppers
Replies: >>715334410 >>715334480
Anonymous
7/13/2025, 9:11:41 AM No.715334204
>>715333690
And you would be right. Besides that dialogue tree, your story follows a flowchart like tree based on player input so the hardest part is defining which flags trigger which paths.
Each node has a background, a set dialogue, a music track, characters that can appear, etc.
Replies: >>715334608 >>715337119
Anonymous
7/13/2025, 9:13:01 AM No.715334297
3D5936FC-ABE7-43CA-AF43-FBB45DA5E831
3D5936FC-ABE7-43CA-AF43-FBB45DA5E831
md5: 219c0398fd458a666f5321b57819ab5a๐Ÿ”
>game coding is ha-
Anonymous
7/13/2025, 9:15:08 AM No.715334409
If you don't program x86 assembly then you're not a real programmer
How do I learn assembly?
Replies: >>715334479 >>715334501 >>715334596 >>715334610 >>715336820
Anonymous
7/13/2025, 9:15:09 AM No.715334410
>>715334130
fair
> I have way more respect for engine writers than I do for unitysloppers
but what's the point of reinventing the wheel just to go to McDonalds

If it were a game with real time gameplay, I wouldโ€™ve thought differently, but I donโ€™t really see the point of creating whatโ€™s essentially a visual novel from scratch
Anonymous
7/13/2025, 9:15:21 AM No.715334423
Is there any better way to tell what the compiler will optimize away than checking godbolt.org?
Anonymous
7/13/2025, 9:16:36 AM No.715334479
>>715334409
>spoiler
Start with something easier, like 6502.
https://assemblytutorial.com/
Anonymous
7/13/2025, 9:16:39 AM No.715334480
>>715334130
>I have way more respect for engine writers than I do for unitysloppers
I only care if the end product is actually good. The code can be ugly or unimpressive or whatever, making a good game demonstrably hinges on many other things.. Some try to reinvent the wheel to make an uninspired game.
Replies: >>715334560
Anonymous
7/13/2025, 9:17:00 AM No.715334501
>>715334409
Start with 8051 programming then go up from there, branch off to PIC, ARM, 8086 then actual x86_64 CPU programming.
Anonymous
7/13/2025, 9:17:57 AM No.715334548
>>715330456 (OP)
var allowed_addresses: Array = [1,2,3,4,5,6,7 ... 30]

if (ipaddress.last_digits() in allowed_addresses) {return 0}


last_digits() would just be a function that checks the last digit and sees if it's in the allowed_addresses array. Was that so fucking hard? I'm not even good
Replies: >>715334570 >>715334634 >>715334965 >>715336225 >>715337615
Anonymous
7/13/2025, 9:18:00 AM No.715334551
>>715333690
That's the funny part.
He hasn't made his own engine. He barely even makes his own assets. GM abstracts every aspect of making games outside of raw logic (even Lua is more powerful) and yet he can't even figure out hilariously basic shit like enums and static files.
It doesn't even rise to the level of being a script kiddy. He's one step above that teenager in your high school BCIS class who opened that matrix website and mashed the keyboard as a joke.
Anonymous
7/13/2025, 9:18:13 AM No.715334560
>>715334480
Especially for something like a visual novel lmao.
those are carried by the writing and art.
Anonymous
7/13/2025, 9:18:27 AM No.715334570
>>715330946
Like this:
>>715334548
Anonymous
7/13/2025, 9:19:00 AM No.715334595
>>715333690
If you are a good artists and a writer, sure.
Short story without much graphics isn't hard to do.
Anonymous
7/13/2025, 9:19:02 AM No.715334596
>>715334409
https://store.steampowered.com/app/370360/TIS100/
Anonymous
7/13/2025, 9:19:11 AM No.715334608
>>715334204
sounds a little more complex, but you could definitely create a standardized system that takes care of all that
where each interaction is an object that pulls from different lists of dialogue, music, etc.
I'm talking out of my ass right now, but it seems doable
Anonymous
7/13/2025, 9:19:13 AM No.715334610
>>715334409
Cracksmes are useful.
Anonymous
7/13/2025, 9:19:17 AM No.715334616
>>715333690
Yeah now make it look good and write a good story.
Those parts ain't so easy
Replies: >>715334892
Anonymous
7/13/2025, 9:19:29 AM No.715334627
Kill yourselves eceleb homolovers
Loli board when
Anonymous
7/13/2025, 9:19:37 AM No.715334634
>>715334548
why not just check if theast digits are between 1 and 30?
Replies: >>715334675
Anonymous
7/13/2025, 9:20:26 AM No.715334675
>>715334634
Sure but you don't know if there might be a gap at some point.
Like for example 30 is allowed, but 31 isn't, then 32 is allowed again.
This covers for that
Anonymous
7/13/2025, 9:22:17 AM No.715334784
>game dev for a month on specific asset
>realize this isn't what I want
>start again from scratch or change to another style
After doing this for years, it really makes you think
Anonymous
7/13/2025, 9:23:03 AM No.715334830
>>715331742
it's resource hogging syntactic sugar and a result of bad program design, deaign your program to not use else statements instead
Replies: >>715335521
Anonymous
7/13/2025, 9:24:06 AM No.715334892
compp (1)
compp (1)
md5: 8a039e3d48c75c32b75453377c21962a๐Ÿ”
>>715334616
aye big guy, we are just talking about coding that my game dev days are behind me
Replies: >>715334943 >>715335142
Anonymous
7/13/2025, 9:24:57 AM No.715334943
>>715334892
>we are just talking about coding that my game dev days are behind me
That's not a valid sentence bro
Replies: >>715335142
Anonymous
7/13/2025, 9:25:12 AM No.715334964
>>715332556
zoomers will never fathom regex
Replies: >>715335379
Anonymous
7/13/2025, 9:25:12 AM No.715334965
>>715334548
>var
It should be immutable
Replies: >>715335129
Anonymous
7/13/2025, 9:26:49 AM No.715335073
So how come thor isnt crashing out and pulling up a ukulele, crying on stream or something?
He just keeps digging his own grave.
Replies: >>715335137 >>715335209 >>715335291
Anonymous
7/13/2025, 9:27:39 AM No.715335129
>>715334965
That's a language implementation detail, no need to get hamstrung on something like that for pseudocode suggestions
Anonymous
7/13/2025, 9:27:49 AM No.715335137
>>715335073
Dig deep enough and you can become a pharao
Anonymous
7/13/2025, 9:27:52 AM No.715335142
>>715334892
>>715334943
that, my*
Replies: >>715335187
Anonymous
7/13/2025, 9:28:41 AM No.715335187
>>715335142
>we are just talking about coding that, my game dev days are behind me
Still no good
Anonymous
7/13/2025, 9:29:11 AM No.715335209
>>715335073
for a narcissist, admitting fault is a death sentence
Anonymous
7/13/2025, 9:29:16 AM No.715335217
not again this troon stuff
don't you have a dedicated board to talk about girly clothes, programming and anal sex?
Replies: >>715336026
Anonymous
7/13/2025, 9:29:52 AM No.715335247
>>715330853
It's either a fake picture or he's just trolling at this point.
Some people think any attention is good attention.
Anonymous
7/13/2025, 9:30:52 AM No.715335291
>>715335073
There's a very good reason why he never coded a single enum.
I don't know what it is but he'll be able to find one, enums are bad for his ARG or something.
Replies: >>715336937
Anonymous
7/13/2025, 9:31:22 AM No.715335321
>CPU SIMD keeps getting wider and wider
>at 512-bits now on modern CPUs except Intel but they are just deliberately being gay about AVX512 support rather than it being a HW thing
>XMVECTOR gets used less and less so CPUs continue to leave more and more performance on the table for animation, physics, etc...
Replies: >>715336037
Anonymous
7/13/2025, 9:32:25 AM No.715335379
>>715334964
With LLMs there's no excuses now.
Replies: >>715335646 >>715336860
Anonymous
7/13/2025, 9:32:29 AM No.715335383
>>715330456 (OP)
Surely there are fewer malicious IP's than non-malicious ones. Why not just make a list of those?
Is this guy actually going through every possible external IP address?
Anonymous
7/13/2025, 9:34:53 AM No.715335521
>>715334830
>yfw when you find out how the machine processing whatever the fuck you would write instead
Anonymous
7/13/2025, 9:37:24 AM No.715335646
>>715335379
I'm reasonably convinced Thor's code is largely produced by an LLM since LLMs fucking love commenting everything.
I bet there's an em dash in his comments somewhere.
Replies: >>715335760 >>715335857 >>715335873 >>715336185 >>715336524
Anonymous
7/13/2025, 9:39:50 AM No.715335760
>>715335646
his "game" has been in the oven for so long that it actually predates gen AI lol
Anonymous
7/13/2025, 9:39:51 AM No.715335764
>>715330456 (OP)
As if anyone actually understands what the fuck is that wall of text means.
Anonymous
7/13/2025, 9:41:33 AM No.715335857
>>715335646
>Thor
his name is jason, you fuckin reditor
Replies: >>715335903
Anonymous
7/13/2025, 9:41:55 AM No.715335873
>>715335646
I wish I was joking but I'd say even a LLM would do a better job at giving reasonable suggestions to what he's trying to achieve with the code we've seen. Yep.
Replies: >>715335976
Anonymous
7/13/2025, 9:42:21 AM No.715335903
>>715335857
It's Maldavius Figtree.
Replies: >>715336070
Anonymous
7/13/2025, 9:44:13 AM No.715335976
>>715335873
https://pastebin.com/Pucc3LXX
Someone threw the screenshot with his massive variable array into an LLM for cleanup and it spat this out.
Anonymous
7/13/2025, 9:44:58 AM No.715336026
>>715335217
You're the gayest dude here
Anonymous
7/13/2025, 9:45:10 AM No.715336037
>>715335321
Intel isn't deliberately being gay about AVX-512 they're just incompetent. They dropped support for it because current e-cores don't support it and you'll be running into issues with heterogeneous instructions on one system. AVX-512 support is coming back soon since they figured out how to do it without being insanely inefficient and they put it on e-cores. The way Intel was doing AVX-512 up until now made it unfeasible to add support to e-cores unless you'd be fine with having half of them on the same die size.
What I did is just buy a 9950X for now.
Replies: >>715336931
Anonymous
7/13/2025, 9:45:45 AM No.715336070
>>715335903
It's Malding Fagtree
Anonymous
7/13/2025, 9:46:46 AM No.715336114
>>715330456 (OP)
Looks like a fake screenshot. Does someone have a clip or a video of this? Otherwise I will not engage with this thread further nor impart my wisdom.
>t. senior software engineer
Replies: >>715336198 >>715336225 >>715336250
Anonymous
7/13/2025, 9:46:51 AM No.715336120
>>715330946
Switch you ever have an, and forgive me for even uttering this word, 'if' in your code it is DOGSHIT and your game SHOULD and WILL fail.
Anonymous
7/13/2025, 9:48:05 AM No.715336185
>>715335646
Pirate Faggot's code is terrible but I agree with one thing and that is commenting everything.
Yes, code should be readable without comments but what people are missing is that in large codebases it's useful to be able to Ctrl+F stuff in plain English.
Replies: >>715336302 >>715336463
Anonymous
7/13/2025, 9:48:19 AM No.715336198
>>715336114
idk about this one but i watched code review he is an actual retard
Anonymous
7/13/2025, 9:48:45 AM No.715336225
>>715336114
solution was already found anyway>>715334548
Also you should be solving it for fun, regardless of fake news or not
Anonymous
7/13/2025, 9:49:21 AM No.715336250
>>715336114
That one is fake but the one that is real is his self-coded anti piracy, triple digit IQ stuff that is essentially
>If Game = Pirated then PiratedGame = 1
>If PiratedGame = 1 then Game = over
Replies: >>715336496
Anonymous
7/13/2025, 9:50:21 AM No.715336302
>>715336185
If you have a function called "Talk to NPCs"
Do you need a comment next to it saying "This is the talk to NPCs function"?
Replies: >>715336865
Anonymous
7/13/2025, 9:51:55 AM No.715336382
What the fuck are these IP ranges? lol

Lietrally not used by your average user.
Anonymous
7/13/2025, 9:53:33 AM No.715336463
>>715336185
You don't need comments if your functions and variables are names properly and not fucking stupid like b_temp_1.
Replies: >>715336548
Anonymous
7/13/2025, 9:54:09 AM No.715336496
>>715336250
Why do idiots like him even bother with anti-piracy measures that are trivial to bypass? Same with in-game anti-cheat. They're all extremely easy to bypass and all they accomplish is wasting 15 extra minutes in cheat engine.
If a dev wants to be a faggot just paypiggy Denuvo tb.h
Replies: >>715336847 >>715337051
Anonymous
7/13/2025, 9:54:49 AM No.715336524
>>715335646
It was written years before LLMs, he has added basically nothing to the game in 5 years
Anonymous
7/13/2025, 9:55:15 AM No.715336548
>>715336463
Plus, if you comment everything, it gives you exponentially more work if you need to update something, since all the comments need to be updated too. They should only be used when necessary.
Anonymous
7/13/2025, 9:55:56 AM No.715336579
>>715333690
It's certainly on the easier side and you can very easily reuse the same codebase for a decade or more, Just look at some of the major eroge companies in Japan if you need examples. All the difficult parts is the visual and story aspects rather than the actual program when it's usually the other way around
Replies: >>715337119
Anonymous
7/13/2025, 9:58:31 AM No.715336710
>>715333342
>if your iterator variable == ban
retard
Anonymous
7/13/2025, 10:01:16 AM No.715336820
>>715334409
i don't know why you'd want to, it's going to be machine dependent with some instructions not included on some chipsets which means you have to work around them (and you can, sometimes it takes a few extra lines of asm)
Anonymous
7/13/2025, 10:01:51 AM No.715336847
>>715336496
How else will he convince his braindead audience that he's a super hacker if he doesn't beat pirates at their own game?
Everything he has ever done has been for the sake of his image. That's all he cares about.
Anonymous
7/13/2025, 10:02:11 AM No.715336860
>>715335379
llms don't and can't change the fact that zoomer will NEVER be able to conceptualize regex, the very notion is swahili to them
Anonymous
7/13/2025, 10:02:21 AM No.715336865
>>715336302
What I mean is that the function can be called TalkToNPC() or talk_to_NPC() and Ctrl+F "talk to" won't find either and "talk" will have too many results.
Like I said, this is for large code bases and when you're working with others. When working alone you'll generally use consistent naming convention and this won't be an issue.
I'm not saying you should comment every single variable, they should be self-explanatory and you should avoid global variables when possible anyway, but it costs you nothing to make a plain English comment next to a function to save yourself a lot of time later.
>inb4 IDEs handle this for you
Many people prefer and work faster in simple text editors without any of that so this isn't a silver bullet.
Replies: >>715336992 >>715337147 >>715337153 >>715337413
Anonymous
7/13/2025, 10:02:33 AM No.715336872
Gs0o7X_W0AACYKv
Gs0o7X_W0AACYKv
md5: 488407d41b474fb7a1ee734dfd43896a๐Ÿ”
>>715330456 (OP)
Fucking no way. Even I, a troglodyte python savant, know how retarded that is.
Anonymous
7/13/2025, 10:03:49 AM No.715336931
>>715336037
It worked fine if you disabled E cores until Intel pushed a BIOS update that removed that feature. Intel are definitely deliberately limiting AVX512 on consumer CPUs
Replies: >>715337248
Anonymous
7/13/2025, 10:03:54 AM No.715336937
>>715335291
You're just really dumb and it shows. If I added variables into enums everyone would be able to open the decompiled code and figure out all the secrets of the ARG. Also, enums make it easier to cheat in the game, again, because of decompiles. Players shouldn't skip steps or cheat.
Replies: >>715336994
Anonymous
7/13/2025, 10:04:18 AM No.715336964
Even the most stupidly written search through a list of banned IPs is better because 1) the number of banned IPs will always be <<< than the total number of possible IPs, and 2) the range of common public IPs is a small subset of the total (no one is online with a 1.1.1.1 IP)
Anonymous
7/13/2025, 10:04:47 AM No.715336992
>>715336865
So you're saying Jason needs that
"Starts a conversation" comment, because he uses it as a bookmark?
Anonymous
7/13/2025, 10:04:55 AM No.715336994
>>715336937
>I
he*
Anonymous
7/13/2025, 10:05:54 AM No.715337046
>>715332084
none of these words are real words, frogposter
Anonymous
7/13/2025, 10:06:07 AM No.715337051
>>715336496
Remember he tried tying anticheat to achievements because he was 1000% sure steam cracker mans couldn't do achievements (they can).
Hilarious.
Replies: >>715337431
Anonymous
7/13/2025, 10:07:09 AM No.715337095
>no comments
>code should be self-documenting
Memes. Will not work when you are sharing the codebase with a team ie multiple people and requirements decided by top management who believes in short term gains.
Replies: >>715337154 >>715337490 >>715337856
Anonymous
7/13/2025, 10:07:39 AM No.715337119
>>715333690
>>715334204
>>715336579
Writing a proper multiple choice dialogue system isn't that straightforward, if you're doing it from scratch. I've written such things many times, for UI and games.

These are all the elements you need to consider:
1. A picture or animation of who's talking, and maybe a name tag.
2. A wall of text for dialogue.
3. Several buttons for making choices.
That's if it's fairly basic.
So you need to write some kind of function to change each of these as a data point, and something that interacts with the UI to change what you're seeing on screen. Say, set your wall of text to the new string for the next dialogue.
But you have buttons. Each button needs to lead to call some function to change the dialogue. You need to figure out how many buttons you'll use, and how to hide them when not in use. But what if you have speech checks, quest advances, number changes? Can't say x yet because y hasn't happened.
Where do those variables get stored? Is the script written directly in the IDE (retarded btw)? Is each dialogue hard coded? Because it's actually more important in how easy it is to write brand new scripts for the system, without looking at the codebase, because it's a huge time waster otherwise. This is why amateurs make such a mess of it.
Every little possibility needs to be thought about, if not the whole thing needs to be scratched and redone. But once it is, it's easy to reuse.
Anonymous
7/13/2025, 10:08:14 AM No.715337137
>>715330456 (OP)
This way of doing it is so dumb, I refuse to believe it is real. Even if you knew nothing of coding, you'd get too frustrated to not search for a better solution. You've got a link to the stream where that occured?

>>715333690
The code itself is easy, yes. I did mine in 300 lines on a weekend half of that is still commented out nonsense. The content and making it look/feel/sound good is what takes effort.
Anonymous
7/13/2025, 10:08:32 AM No.715337147
>>715336865
I was always taught that comments are for why, not what.

Coders should be able tor read the code itself. Comments are for random shit that is not immediately obvious. For example, you don't need a comment to say i is being used as an iterator but if you have the code if i == 6 then i += 2 then you say why the fuck you are doing that with a comment.
Replies: >>715337591
Anonymous
7/13/2025, 10:08:37 AM No.715337153
>>715336865
>name functions
>func_talk_gay_shit
>have an iq about 80
>search func_talk_gay when looking for dat gay shit
>ah there it is
lol
Replies: >>715337473
Anonymous
7/13/2025, 10:08:41 AM No.715337154
>>715337095
The idea that code should be "clean, self-documenting" is some Uncle Bob retard shit. Fuck clean coding paradigms.
Replies: >>715337515 >>715337856
Anonymous
7/13/2025, 10:10:13 AM No.715337219
Jason Hall might legitimately be impressed by the "every IP on the internet" skiddie joke with the quad nested for loops
Anonymous
7/13/2025, 10:10:45 AM No.715337243
>>715330456 (OP)
This guy worked at Blizzard as a security expert??
Replies: >>715337316
Anonymous
7/13/2025, 10:10:49 AM No.715337248
>>715336931
Yeah but you needed to disable e-cores which defeats the purpose of buying an Intel chip. It ended up being pointless because a year later instead of disabling a third of a 12900K you could just buy a 7950X and have 16 cores that support it. Or just get a Xeon W.
On 13900K you'd be losing half the performance with e-cores off. Even in games the scheduler prefers to e-cores over hyperthreading because Intel is incompetent and HT can stall the first thread, which doesn't happen on AMD for some reason. E-cores were only bad on 12th gen because the ring clocked down when they were accessing L3, doesn't happen on 13th gen.
Replies: >>715337479
Anonymous
7/13/2025, 10:11:56 AM No.715337291
>>715330456 (OP)
Hacking power plants for the government btw
Anonymous
7/13/2025, 10:12:16 AM No.715337316
>>715337243
they shoved him into the QA department and made him fetch the left-handed screwdrivers, blinker fluid and polka-dot paint
Anonymous
7/13/2025, 10:14:28 AM No.715337413
nword
nword
md5: 04cc9da6c1bf72cad372225a31bab998๐Ÿ”
>>715336865
I name my functions like this
>function1
>function2
>...function304
With no frame of reference for what they do, where they are, or how they work, other than how many other functions I wrote.
Anonymous
7/13/2025, 10:14:48 AM No.715337431
>>715337051
It's impossible to pirate and I find that deeply hilarious.
Anonymous
7/13/2025, 10:15:47 AM No.715337473
>>715337153
I just said it's unnecessary with consistent notation but you never know if some retard coworker named it something else.
I'm playing the devil's advocate here, a retard coder who comments his shit is better than one that isn't.
Anonymous
7/13/2025, 10:15:53 AM No.715337479
>>715337248
Ok and I'm not even mentioning that Intel released AVX10 which allows for AVX512 with a 256-bit FPU just like AMD Zen 4 and little Zen 5. And this was 2 years ago, they don't really have an excuse not to support it.
Anonymous
7/13/2025, 10:16:08 AM No.715337490
>>715337095
>I'm the only one working on my code, it doesn't matter if the variable array is readable or not
>I'll comment everything because other people might need to understand it if I work in a team

?????
Anonymous
7/13/2025, 10:16:27 AM No.715337503
I just use code from YouTube tutorials and make my own assets.
Anonymous
7/13/2025, 10:16:47 AM No.715337514
I think everybody with half a brain knows that he just puts up poorly written code on purpose to make people ragewatch his streams (even if 90% of them know fuckall about programming). But you're all naive, you're all just waiting to look down on others.
Anonymous
7/13/2025, 10:16:49 AM No.715337515
>>715337154
I run a code obfuscator and minify before every git commit and push

fuck the other people on the project
you should know what func_1 does from context
Anonymous
7/13/2025, 10:17:17 AM No.715337541
>>715330946
database or shove them into a collection you can just iterate through
Anonymous
7/13/2025, 10:17:41 AM No.715337573
1749906260555722
1749906260555722
md5: 77cde36a460f02155e7534fd8d67e3d6๐Ÿ”
Quick question (I really have no idea about this) but can't one use ai for simple shit like this? I heard Gemini 2.5 can "understand" a million words at once. Can't you just put all that shit in and say random bullshit go? I mean if it's THAT obvious? Or is ai too bad for that?
Anonymous
7/13/2025, 10:18:09 AM No.715337591
>>715337147
Depends on language. Try doing this in fortran lol. Modern languages are so sissified you can get away without commenting anything.
Anonymous
7/13/2025, 10:18:12 AM No.715337594
there's no such thing as a solo project, you're at minimum always in a team of 3

There's past you, who's a fucking asshole who ruined the entire thing. There's future you, who's a sucker who has to deal with the mess, and current you who's just trying to get through the day.
Anonymous
7/13/2025, 10:18:36 AM No.715337615
>>715334548
uint targetIP = 2164067329 //128.252.12.1 converted to decimal
HashSet<uint> bannedIPs = new HashSet<uint>() {2164067320, 2164067321, 2164067329 ...}
if(bannedIPs.TryGetValue(targetIP, out _))
{
. . . . //clean IP
}
else
{
. . . . //banned IP
}

o(1), easily expandable
Replies: >>715337749
Anonymous
7/13/2025, 10:19:49 AM No.715337671
>>715333342
I would do it like this.
for (int i = 0; i < 1000000; i++){
printf("nigger");
}
Anonymous
7/13/2025, 10:21:46 AM No.715337749
>>715337615
as you can see, since i've made a simple logical mistake and written this on .net - i am not very smart
Anonymous
7/13/2025, 10:23:52 AM No.715337841
trannylang
trannylang
md5: 62da4a6f705e113c57ec8ad676627f81๐Ÿ”
Reminder to never use Rust.
>code refuses to compile because you have a "problematic constant"
Anonymous
7/13/2025, 10:24:17 AM No.715337856
comments-in-code
comments-in-code
md5: ba0a80da0f8e25bb7bb9f9cc92951ea1๐Ÿ”
>>715337095
>>715337154
You'd ideally have comments describing what functions do, rather than have comments inside functions describing what each global variable is.
You'd have comments on your global variables describing them if necessary, so that when you hover over them in any place of your code you'd actually see that comment.

Notice how in pic related there's no comments in the actual code where the variable is used. The one comment is made in only one place, and that is where the variable is initialized. You'd describe it if it needs describing (the name isn't descriptive enough). This way, when you hover over the "dickSize" variable, you'd see the comment "Size of your dick" (in this example).
What PS is doing is adding the same comment over and over again. Which is retarded and something you wouldn't even see a junior developer do. He's coding on the skill level of a trainee developer (a person with 0-6 months of experience and no prior experience with coding in an education system or tutorials). It's something you'd see my grandma do if I suddenly placed her in a coding bootcamp.