← Home ← Back to /g/

Thread 105570523

374 posts 194 images /g/
Anonymous No.105570523 >>105574475 >>105580377 >>105585767 >>105587881 >>105590054 >>105590957 >>105597386
/dpt/ - Daily Programming Thread
What are you working on, /g/?

Previous thread: >>105530074
Anonymous No.105570571
good morning sirs
Anonymous No.105570577 >>105571076 >>105571468 >>105571597 >>105581632
!!! PSA !!!
/dpt/ is infested with homeless schizophrenics and the governance (jannies) are useless as per usual.
Please resist the urge to engage with the feral spammers. It is unsafe and you risk contract their diseases. In order to identify them, look for:
1. malloc/mmap sperging
2. registry dumping sperging
3. bitch replying without quoting (passive-aggressive effeminate activity)
4. screeching at the thought of someone doing something for fun

Thank you! Please use /dpt/ to engage in actual programming discussion
Anonymous No.105570612
penis hard
Anonymous No.105570745
hugep***s
Anonymous No.105570760
>post code
t. someone who is afraid of posting his own code
Anonymous No.105570792
AVX is now banned from my projects just to make this tranny seethe.
Anonymous No.105570819 >>105570829
While getting filtered by OOP usually results in code being static and procedural (ie. an "avoid OOP at all cost" approach to writing code while using an OO language), it's even worse when someone gets "half-filtered" by OOP and starts applying inheritance haphazardly, especially to cases where it has no place.
Anonymous No.105570829 >>105570886
>>105570819
Inheritance has no place in programming at all.
>See this shitty code written 20 years ago?
>Yeah, all new code should inherit this slop.
Anonymous No.105570886 >>105570902
>>105570829
It does, but not everywhere.

Code age has nothing to do with it. I work with an enterprise application that has literally 20+ year old APIs and patterns, but they were written by smart white people so it's all excellently solid and stable - you can completely ignore how they work internally and just focus on providing them parameters with the right inherited interfaces.
Anonymous No.105570891 >>105574853
Threadly reminder.
Anonymous No.105570902 >>105570986
>>105570886
Yes it does, code written 20 years ago, unchanged, is likely obsolete.
Anonymous No.105570916
>I deliberately make my code suck just to make other people mad
Who gives you money to survive?
Anonymous No.105570986 >>105570991
>>105570902
What drives you to such a conclusion?
Have you ever worked with a well-designed codebase?
Anonymous No.105570991 >>105571044
>>105570986
The fact that software that's relevant, gets updated.
Anonymous No.105571044 >>105571073 >>105571153
>>105570991
The software I work on is very actively updated, if that's what you're trying to hit. The point was that the interfaces are very well designed and don't need to change, even if the implementation does.
Surely you have picked up on this and aren't another one filtered by OOP or software architecture.
Anonymous No.105571073
>>105571044
>the interfaces are very well designed
Anonymous No.105571076 >>105587888
Good afternoon, Ada chads.
Reminder that soilangs don't have a LOLITA.

>>105570577
based digits
Anonymous No.105571153 >>105571200
>>105571044
Software written 20 years ago was designed for computers that don't have SIMD.
Anonymous No.105571200 >>105571213 >>105571220
>>105571153
Utilizing SIMD is a low-level implementation detail
Anonymous No.105571213
>>105571200
Retard.
Anonymous No.105571220 >>105571311
>>105571200
Which doesn't happen automatically. My naive substring search outperforms strstr by 300%
Anonymous No.105571311 >>105571321 >>105571356
>>105571220
And when using your substring search, do you need to provide SIMD-related details, or is that all "under the hood" and you just call it with a string to search through and a phrase to search for?
Anonymous No.105571321
>>105571311
>do you need to provide SIMD-related details
Yes.
Anonymous No.105571356 >>105571363
>>105571311
Yes, I need to call my own function and not strstr, that function must be somewhere in my code.
Anonymous No.105571358 >>105571394 >>105571468 >>105571811 >>105586479 >>105586491 >>105586491 >>105590327
#include
#include

int
main(void)
{
char user_input[128];

printf("Enter string: ");
fgets(user_input, sizeof(user_input), stdin);

size_t len = strlen(user_input);

for (int i = 0; i <= len; ++i){
if (user_input[i] >= 'a' && user_input[i] <= 'z'){
user_input[i] -= 32;
}
}

printf("%s", user_input);

return (0);
}
Anonymous No.105571363 >>105571373
>>105571356
11800000000 by tomorrow regardless of my actions.
Anonymous No.105571373
>>105571363
meant for >>105571332
Anonymous No.105571394 >>105571411
>>105571358
Don't drop your garbage here.
>strlen
>check character for character
Anonymous No.105571411 >>105571427
>>105571394
Not checking for character means you'll turn a space into a null terminator noob!
Anonymous No.105571427 >>105571442 >>105571906
>>105571411
A-huh?
Anonymous No.105571442
>>105571427
I accept your concession.
Anonymous No.105571449 >>105571482
>the
>nocodeshitter
>does
>not
>understand
>the
>code
Anonymous No.105571468
>>105571358
Good job.
Don't let the resident schizo demotivate you (>>105570577).

Now try to do it without using strlen.
Anonymous No.105571481
>good
>job
Christ, /dpt/ is yet again filled with incompetent autismos.
Anonymous No.105571482
>>105571449
Clearly you don't understand if you are pointing out checking char for char as an error when you have to in order to check for not char ascii values before attempting to subtract 32 from them as an error in that code.

But, like I said, I accept your concession.
And remember to have sex before you die.
Anonymous No.105571526 >>105571553 >>105571766
>HE
>STILL
>DOES
>NOT
>UNDERSTAND
>THE
>CODE
>AND
>IS
>TOO
>PROUD
>TO
>ADMIT
>IT

It's YOUR concessions that are excepted here, autismo. It's your ignorance on display that makes everyone here with a triple-digit IQ laugh their pants off.
Anonymous No.105571553
>>105571526
I don't doubt for a second that you actually believe this. I'm very sad for you, actually.
Anonymous No.105571571 >>105571597 >>105571605
I don't need pity from the incompetent.

(That's (You)).
Anonymous No.105571597
>>105571571
>>105570577
>3. bitch replying without quoting (passive-aggressive effeminate activity)
Anonymous No.105571605
>>105571571
>the undersocialized keeps posting hexidecimal numbers because they look more hackerish
Fascinating.
Anonymous No.105571613 >>105571620
>autismos still not understanding no one cares about their opinions and judgements
Anonymous No.105571620
>>105571613
>doesn't care
>keep replying
Sad..
Anonymous No.105571637 >>105571794
>he is such an incompetent autismo his damaged brain is unable to realize that the numbers he sees were branchlessly converted with the algorithm posted earlier
I know retarded people on death row who're smarter than you.
Anonymous No.105571650
>keep replying
It hasn't fallen enough.
Anonymous No.105571741 >>105571775
How hard is it to build your own chromium fork?
Anonymous No.105571746
he gets humiliated multiple times in every thread but he just keeps going, it's a fetish

he's quite easy to filter too so I suggest you guys look into that...
Anonymous No.105571766
>>105571526
Just making sure, but when you talk about triple digit IQ, you don't believe that you're part of that set, do you?
Anonymous No.105571771
>humiliated
Back to projection again, Ivan? But then again incompetent autismos are not capable of feeling shame, so at least your behavior makes sense.
Anonymous No.105571775 >>105571789
>>105571741
Spend like 30 minutes cloning the source code.
Change one trivial line of code.
Spend the next 12 hours compiling it (this isn't as much of an exaggeration as you'd think it is)

So ez, just annoying.
Anonymous No.105571788 >>105571809
Well, I wrote the code, it works, and I'm laughing at you - so, yes, I AM part of that set, and you can do naught but cope and seethe about it.
Anonymous No.105571789
>>105571775
It is an exaggeration, just own a google's compiler farm and it will take minutes.
Anonymous No.105571794 >>105571819
>>105571637
>he spent a week saving 5ms
grim
Anonymous No.105571809 >>105571859
>>105571788
mine works too? what exactly is your point?
Anonymous No.105571811 >>105571829
>>105571358
Instead of using checks, call toupper unconditionally. It's easier to read, doesn't have magic number and probably faster.
Anonymous No.105571819 >>105571835
>>105571794
5ms saving is good (when it is used by someone else than you lmao).
Anonymous No.105571829
>>105571811
>libc function
>ever faster
lmao
Anonymous No.105571832
>doesn't doubt that the code works anymore
>doesn't doubt that the code is faster anymore
>only doubts how much faster it is
I accept your concessions.
Anonymous No.105571835 >>105571845
>>105571819
what use do you have for extra time? you don't do anything.
Anonymous No.105571845 >>105571853
>>105571835
Considering your response to my post, your brain also doesn't do anything, including existing.
Anonymous No.105571853 >>105571867
>>105571845
I accept your concession :(
Anonymous No.105571859 >>105571873 >>105571876
>>105571809
Yours works by having to iterate through the string (the strlen, which has a good chance of loading your string into AVX registers) once, so that you can iterate through the string again (but this time character for character). If you were smart you would load each part into an AVX register, perform conversion and NUL-byte check, and write the data out again without any further memory references.
Anonymous No.105571867 >>105571885
>>105571853
Do the math of 5ms times billion once the science foundation that you donated your brain to before you were done using it decides to give it back to you, and you MIGHT get the joke, retarded spastic.
Anonymous No.105571873 >>105571906
>>105571859
For someone supposedly so intelligent, you sure ignored the option of not using fgets and using something that makes finding the total string length in bytes trivial.
Anonymous No.105571876 >>105571906
>>105571859
By smart you of course mean learned.
You should probably start making this distinction at some point in your life.
Anonymous No.105571885 >>105571890
>>105571867
>long sentence
didnt read desu
Anonymous No.105571890
>>105571885
Well sure, you have to get your brain back first.
Anonymous No.105571906 >>105571910
>>105571873
Doesn't really matter because generating the mask and counting trailing zeroes is trivial to do in the AVX domain.

>>105571876
You already had the chance to *learn* it by looking at >>105571427. The fact you didn't means you're not *smart*. QED.
Anonymous No.105571910 >>105571945
>>105571906
>extra instructions don't matter
okay retard
Anonymous No.105571929 >>105571934 >>105571958
>Beginner posts beginner shit
>YOU SHOULD BE USING SIMD BITMASKING RETARD

This board has a serious lack of having sex, no wonder it's completely dead.
Anonymous No.105571934 >>105571953 >>105572048 >>105572060
>>105571929
SIMD is basic assembly, you should've learned that before touching C.
Anonymous No.105571945 >>105571951
>>105571910
>he doesn't know that you still need to compare the amount of characters checked against the amount of characters read
>which are more instructions than a simple TZCNT that automatically sets EFLAGS

Fucking dumbass.
Anonymous No.105571951
>>105571945
You had a chance but instead you doubled down like a retarded subhuman you are.
>extra branches don't matter
Anonymous No.105571953 >>105571971
>>105571934
You should have learned electrical engineering before touching ASM, but you didn't, why?
Anonymous No.105571958
>>105571929
He will either leave programming entirely (which is good), or he will have learned to avoid memory references (which is also good).
Anonymous No.105571968
Are those
>extra branches
in the room with us now? Or are you just being an incompetent autismo again?
Anonymous No.105571971 >>105571988
>>105571953
Because litography has nothing to do with that, computers are toddler grade circuits that can be assembled by anyone (except redditors like you who put the CPU into the socket backwards and bend the pins I guess).
Anonymous No.105571988 >>105572023
>>105571971
>electrical engineering has nothing to do with how computers work
I see
Anonymous No.105572023 >>105572050 >>105572051
>>105571988
If you have high enough IQ to be allowed anywhere near those expensive printers, you can pick up electrical engineering in a weekend.
Anonymous No.105572048 >>105572079
>>105571934
>SIMD is basic assembly
this is delusional
Anonymous No.105572050 >>105573753
>>105572023
Lithography isn't electrical engineering, it's chemical engineering. You must not be very smart(tm).
Anonymous No.105572051
>>105572023
You sound like you got filtered.
Anonymous No.105572060
>>105571934
>SIMD
>assembly
the smartest nocoder
Anonymous No.105572079 >>105572102
>>105572048
Sorry that you got filtered by registers bigger than 64 bits.
Anonymous No.105572102 >>105572133
>>105572079
post FE exam results, RIGHT NOW
Anonymous No.105572133
>>105572102
Didn't know you must pass a FE exam to conceptualize registers bigger than 64 bits...
Anonymous No.105572211 >>105573412 >>105573768 >>105574475
Adding Rust to my C baremetal project.
Got FFIs working in both directions.
Next step, port queue code to Rust generics. Port printf code to use Rust macros.
Can't stand reading my own C code and more and don't want to deal with C++.
Anonymous No.105573412
>>105572211
if rust does the programming for you you arent really a programmer
Anonymous No.105573730 >>105573758 >>105573768 >>105574215
is it normal when you're first learning; to type so many comments that you can read the cunt like a book?


otherwise I go back the next day and completely forget what the fuck I've written
Anonymous No.105573753
>>105572050
Lithography is a combination of various disciplines you fucking retard.
Anonymous No.105573758
>>105573730
its ok i guess
Anonymous No.105573768 >>105573795
>>105572211
You should be using Hare.

>>105573730
Does it matter? Whatever helps you learn and retain you should be doing.
Anonymous No.105573795 >>105574047 >>105574215
>>105573768
I just never see verbose comments on code it's always jut a vague description 'this function returns a string for something else' and then a bunch of random shit.
Just wondering if there was a reason for that or if it's just autists forgetting that other people can't read their thoughts.
Anonymous No.105573989
>std::forward(args)...
holy fucking bloat. imagine passing a bunch of parameters without having to chant some unholy incantations.
Anonymous No.105574032
did some factorial in java, now its on to htdp
Anonymous No.105574047
>>105573795
OpenBSD requires both grammatically correct and verbose commenting in it's official binaries.
That's why it's the home of the white man.
But yeah, I'm sure your comments will increasingly become less verbose as you progress and the people reading them will be at the same or higher knowledge level, so it won't matter to them either.

When you're learning commenting is good. Both for the reason you stated, it helps with remembering, but also the act of abstracting what you're doing in concise language helps with retention.
Anonymous No.105574116
ok just checking because I thought I might just be a retard and unable to remember more than a few days into the past.

string hello="hello"
//this code is declaring a string, which is a sequence of characters in the english language, unless you're russian or smth idk. anyway back to the story, its stored in a variable of string type and like, its called 'hello'. that's set equal to the actual words and shit you need to store in the 'hello' box. in this case that thing what needs to be stored and that is called "hello". Hope you had a nice day.
Anonymous No.105574215 >>105574255 >>105574300
>>105573730
comments that rich mean someone is struggling to even look at code

>>105573795
verbosity aside, good comments should explain purpose (the 'why', not the 'how')
the 'how' is described by the code. the comments should complement, not duplicate code
Anonymous No.105574255 >>105574300
>>105574215
Sometimes I write some shit and then look at it and go 'why is the syntax like that'

so im using the comments to drill in that this is what each thing in the line does. so hopefully it goes into my brain.

I just started learning last week, so it's not like this is going to a dev team to maintain
Anonymous No.105574300
>>105574215
>>105574255
I want to add that I'm not good at following code through visual studio or recognising what the fuck anything is.
so I'm using comments to annotate it like a diagram.
Anonymous No.105574475 >>105574853
>>105570523 (OP)
>try to learn rust, "Requires visual studio C++"
Is the Visual studio C++ thing just for windows?
this language is for shitty codes who need guard rails and are unable to learn C++ so they learn this language.
>>105572211
>don't want to deal with C++
exactly what I am talking about. What is it you don't like about C++ the pointers? Its just a memory address? The Arrow for streams? If you learn C++ every other language becomes EASY. Don't give up on that.

This Rust vs C++ war is garbage. It uses C++ on windows. idk about Linux, It looks cool but I have to jump through so many hoops just to debug. Learning C++ std lib, and windows.h is a bigger payoff. Even script kiddies use windows.h
Anonymous No.105574537 >>105574692 >>105576397
In light of the whole xserver shitshow, is it still a good idea to write your own x11 window manager
Anonymous No.105574692 >>105574779
>>105574537
You can't just fork open source software chud
Anonymous No.105574779 >>105574824 >>105574838 >>105574946
>>105574692
I'm just worried people might call me a "chud" if I make a window manager using "le old and outdated and now problematic" x11
Granted, I'm not using the autistic fork that's been causing controversy cause imo x11 is good as is
Anonymous No.105574824
>>105574779
They are already calling you a chud for not using the prog derivative of the prog derivative of the prog derivative of X11 that won't come out for 5 years. You're on the wrong side of history for not being born 5000 years in the future.
Anonymous No.105574838
>>105574779
Gayland can't be considered a replacement yet so I don't see the issue. What are they gonna do anyway
Anonymous No.105574853
>>105574475
That's funny.
>>105570891
Anonymous No.105574946 >>105574965 >>105574970
>>105574779
You're either completely clueless or very effeminate
Anonymous No.105574965 >>105574999
>>105574946
And?
Anonymous No.105574970 >>105574999
>>105574946
>completely clueless
Maybe
>very effeminate
Are you trying to groom me?
Anonymous No.105574999 >>105575012 >>105575019
>>105574965
>>105574970
Stop being a pussy-whipped bitch and make an X11, AGPLv3 window manager
Anonymous No.105575012 >>105575052
>>105574999
It'll be zlib/permissive or public domain. Take it or leave it
Anonymous No.105575019 >>105575041 >>105575052 >>105581635
>>105574999
Have you looked at the protocol? And the transmission method? X11 needs to be murdered, alongside you.
Anonymous No.105575041 >>105575050
>>105575019
>X11 needs to be murdered, alongside you
nta but wtf
Violence isn't the answer
Anonymous No.105575050
>>105575041
It's ALWAYS the answer, even just for revenge purposes.
Anonymous No.105575052 >>105575073 >>105575095
>>105575012
>cuck licence
L
>>105575019
When will RedHat shills go back?
Anonymous No.105575073 >>105575173
>>105575052
>implying GPL isn't the biggest cuck license
kek
The only good license is no license.
Anonymous No.105575095 >>105575194
>>105575052
Once you're hanging from an open-source tree.
Anonymous No.105575173 >>105575194 >>105575511
>>105575073
>GPL: release your code so that other people might profit from it
>no license: it's all a designated shitting street
OK, cuck.
Anonymous No.105575194 >>105575247
>>105575095
>open source is bad actually
Hello Microsoft, Nintendo, Apple, etc...
>>105575173
Explain how public domain code is associated with jeets? Are you implying that public domain libraries like stb, which are widely used in game development, are jeetcore?
Anonymous No.105575234
const serviceflight = () => {
return new Promise((resolve) => {
setTimeout(() => {
if (altitude > 650 || alttiude <= 700);
resolve(openflap());
resolve(closegear());
}else {
Promise.try = (reject) => {
try {
serviceflight();
}catch{
reject();
resolve(closeflap());
resolve(opengear());
}
throw new Error("unreachable");
}
},
});
};();
Anonymous No.105575247 >>105575271
>>105575194
You've just provided the answer yourself.
>incompetent jeets take someone elses code
>don't pay a dime
>internal companies make the big bucks
>original writers aren't paid scraps
Anonymous No.105575271 >>105575293 >>105579466
>>105575247
Explain how coders who publish their libraries under the GPL get paid for their work.
I'll wait.
Anonymous No.105575293 >>105575321
>>105575271
By forcing companies legally to release their own code or negotiate a new license with the original writers (that would also include compensation).
>inb4 doesn't work
I can still hear nVidia kvetching about them being unable to use GPL symbols in the Linux kernel. It's working as intended.
Anonymous No.105575321 >>105575326
>>105575293
So no one uses your code then, got it
Maybe that psychopathic redhat shill was onto something, FOSS kinda sucks...
Anonymous No.105575326 >>105575364
>>105575321
>So no one uses your code then
That's fine. At least the jeets then have to put in some real work.
Anonymous No.105575364 >>105575405
>>105575326
But how are you getting paid then?
>I'm fine with people not using my code and instead making their own, potentially better than mine
That is code cuckoldry.
Anonymous No.105575405 >>105575462
>>105575364
>But how are you getting paid then?
Who cares, as long as jeets aren't getting paid either for stealing your code? Or what, does being a BSD-license cuck suddenly put food on the table?

>potentially better than mine
Sounds good to me. We've regressed in the last thirty years.
Anonymous No.105575462
>>105575405
I don't use the BSD license either though.
GPL doesn't put food on the table either.
And lol, you're basically admitting you're a cuck
Anonymous No.105575479 >>105575511
>you're a cuck
>because
>because
>because you just are OK?
I accept your concessions.
Anonymous No.105575511
>>105575479
meant for >>105575173
Anonymous No.105575521
>desperate redirection
That's another concession accepted.
Anonymous No.105576275
Still waiting.
Anonymous No.105576314
>Still waiting.
Anonymous No.105576341
While winning.
Anonymous No.105576356
While coping.
Anonymous No.105576364
Lol
Lmao
Anonymous No.105576397 >>105576431
>>105574537
It was never a "good" idea to write your own window manager.


Posted from my own window manager written with my own text editor.
Anonymous No.105576431 >>105579213
>>105576397
I'm going to use that for the next /dpt/.
Anonymous No.105576709 >>105576796 >>105576799 >>105576942
I'm creating a gui app in python QT and even though its supposed to be on the simpler side its hard to keep track of where everything is.

And to access certain controls/widgets I have to do something like self.view.nestedpanel_1.nestedPanel_2.label or something like that lol

Is there a better to go about doing this? picture show my current layout
Anonymous No.105576796
>>105576709
>python
No one gives a shit.
Anonymous No.105576799 >>105576896
>>105576709
https://caseymuratori.com/blog_0015 (Semantic Compression)
https://caseymuratori.com/blog_0020 (Storing the Expansion State)
Anonymous No.105576896
>>105576799
I stopped reading after I noticed the amount of rambling there was in this
Anonymous No.105576942
>>105576709
dunno shit about qt, but i would guess it has something similar to Tk's textvariable option to bind a widget to another object and changes will flow back to it. ie. you change a string variable and all the labels bound to it will update without you mucking about with their paths.
Anonymous No.105577437 >>105578842
On the other hand it's not like alignment is really needed since most memset implementations don't even try to store the values with NT hints ... but still, VPXOR and VMOVNTDQ are trival to implement, yet sepples STILL believe their nonsense is superior to C.
>inb4 muh REP STOSB
Enjoy your cache thrashings.
Anonymous No.105578685
Man dpt is so shit these days I don't even feel like sharing code here
Anonymous No.105578693 >>105578724
>implying a nocodeshitter can share code to begin with
Anonymous No.105578724
>>105578693
what makes you think that a smug anime image and a generic insult makes you cool, while you're unable to address me directly?
Anonymous No.105578754 >>105578770
It would begin with me having shared more code than you ever will in your entire life, and ends with me understanding the difference between ability and choice.
Anonymous No.105578770
>>105578754
Where's the smug anime image and random insult? What you are doing now is vagueposting
Anonymous No.105578775 >>105578790
>ends with me understanding the difference between ability and choice
It's almost like you don't.
Anonymous No.105578790
>>105578775
Give me a direct answer instead of murmuring while looking away
Anonymous No.105578795 >>105578817
Or else?
Anonymous No.105578817
>>105578795
Or else I'm gonna stop replying, and you will reap the long-term consequences of acting like a child, such as the inability of having deeper conversations, trust and fixing your own mistakes
Anonymous No.105578842
Oh no. My post will stay at the end of the thread for the next couple hours again. What ever shall I do?

Oh, wait. I know what I'll do: continue winning while everyone else eats shit.
>>105577437
Anonymous No.105579213 >>105579224 >>105586065 >>105586801
>>105576431
very few /dpt/ posters are having fun.
except for me, every day my software grows stronger.
Anonymous No.105579224 >>105585783
>>105579213
>every day my software grows stronger
Finally someone who listens to me.
Anonymous No.105579466
>>105575271
They offer custom licenses to companies, for a fee, you fucking retard.
License is for the end user, not the author, author can issue any license to anybody, for any reason with any restrictions he wants.
Anonymous No.105580002 >>105580037 >>105580670
having a quick look at ANSI X3.64
>CSI is the two-code sequence 1/11 5/11 (ESC [)
where the fuck does this stupid character notation come from. I dont even
ESC and [ are decimal 127 and 91
Anonymous No.105580037 >>105580137
>>105580002
127 is DEL, retard
Anonymous No.105580137
>>105580037
oh that's right. I indeed am extremely retarded
thanks
Anonymous No.105580235 >>105580241
>Need to parse/validate some UTF-8 in C, too lazy to do it manually
>C11 function for it is inherently tied to locales, which I don't want to fuck around with
>C2y adds a function NOT tied to locales
Man, I wished they added this shit a long, long time ago. It'll unironically be 2030 before you can realistically think about using the function...
Anonymous No.105580241 >>105580313
>>105580235
And that function is still worthless garbage compared to doing it yourself.

https://github.com/lemire/fastvalidate-utf-8
Anonymous No.105580313 >>105580317
>>105580241
malloc
Anonymous No.105580317 >>105580987
>>105580313
You should take your meds.
Anonymous No.105580377
>>105570523 (OP)
rewriting my config in nix
Anonymous No.105580670 >>105580679
>>105580002
It comes from the formerly ubiquitous ascii charts like picrel.
Anonymous No.105580679
>>105580670
Anonymous No.105580987 >>105581020
>>105580317
You should stop being laughably incompetent.
Anonymous No.105581020 >>105581051 >>105581057
>>105580987
Competent programmers don't rely on standards, they define them.
Anonymous No.105581051 >>105581167
>>105581020
Competent humans don't rely on their gender, they define it themselves
Anonymous No.105581057 >>105581193
>>105581020
How would you know, considering you do neither?
Anonymous No.105581167
>>105581051
I'm really happy for you anon, it must have been very difficult to finally accept that gender is defined and not real, because the biological term is sex.
Anonymous No.105581193 >>105581214
>>105581057
Can you tell me how you'd feel if you didn't have breakfast this morning?
Anonymous No.105581214
>>105581193
>implying one energy drink is considered "breakfast" these days
Anonymous No.105581229
>Drinking caffeine and sugar mix on empty stomach.
I'm really happy to know that you will one day have a heart attack and /dpt/ will improve.
Anonymous No.105581240
I have five zoomers waiting to take my place in /dpt/.
Things are never gonna get better for you.
Anonymous No.105581632 >>105581648 >>105581723
>>105570577 (Checked)
Where does one go for comfy programming discussions?
Anonymous No.105581635
>>105575019
This, we were meant to switch between VTs, we have 6 actual terminals, and 6 graphical terminals, you don't need more.
Anonymous No.105581648 >>105581674
>>105581632
Any place that filters obnoxious faggots by default.
For example, collecting reddit downvotes reduces your ability to spam, and usually janitor will clean it up after that.
Hackernews restricts heavily how fast you can post, so you're forced to write longer, less frequent posts by default.
Anonymous No.105581658
Added smilies to my forum (on top of BBcode).

Yes I ripped them off. Do you recognize from where?
Anonymous No.105581674 >>105581683
>>105581648
>le reddit
Why don't you stay there? Thanks.
Anonymous No.105581683
>>105581674
Same reason I didn't stay in the mental asylum that I walked into just to see how you're doing.
Anonymous No.105581690
Lol
Lmao
Anonymous No.105581723 >>105581764
>>105581632
My forum (when it's done)
Anonymous No.105581764
>>105581723
>Deploy the illegal 1s and 0s
Anonymous No.105582327 >>105582405
>https://github.com/lemire/despacer/tree/master/src
>Fastest solution is having a LUT despite it being quite big
I hate computers.
Anonymous No.105582405 >>105582435
>>105582327
Have you tried using vectors?
>fill three vectors with \r, \n, and 0x20
>compare string with each
>move mask to GPR domain
>POPCNT each register
>dst += 32 - total
Anonymous No.105582435
>>105582405
The code already uses them. The table is like 512KiB for SSE, it would be way bigger for AVX, so I bet it would actually be slower outside of benchmarks.
Anonymous No.105582512 >>105591194
I played around with scheme again today and made this, I hadn't tried scheme in a while
Anonymous No.105582999
Just hit 5 kyu on codewars
Anonymous No.105583132 >>105583143
I just mixed the worst of Java and C++ together
Anonymous No.105583143 >>105583181
>>105583132
oops, wrong picture
this is the little monster
Anonymous No.105583181 >>105583186
>>105583143
As someone who believes that verbose code is suboptimal, what you've cooked up is certainly... intriguing
What C++ standard is your code using?
Anonymous No.105583186
>>105583181
C++20
And it's about to get worse if I ever want to implement recursive wrapping and or a builder pattern
Anonymous No.105583765 >>105583830 >>105583866 >>105583894
Rust learner here. I have written some baby CLI projects and talked about Rust in /dpt/ before. Also, I am about to start chapter 17 on the web version of The Book. It's the Fundamentals of Asynchronous Programming chapter.
This chapter is not in my physical copy of the book, so I guess it was considered important to update the web book to include it right after chapter 16.
I will finish this chapter today because it for sure seems to be important, but I was wondering if, after finishing this chapter, I can jump to the final project and then drop the book?

How important are the contents of chapters 18 - 20?
Anonymous No.105583830
>>105583765
>>>/r/eddit
>>>/h/ackernews
Anonymous No.105583866 >>105583895 >>105583982
>>105583765
dude in over 20 years of practice i dont think I have ever read a programming book front to cover. just pick what you find useful
Anonymous No.105583894 >>105583982
>>105583765
People without discipline will tell you that they don't bother with books. Books are great, or rather great books are great, bad books are a waste of time.
In general and without having read that book, a final project is there as a comprehensive test.
But there's no rule that you can't jump into the project right now. If anything it's probably a good thing to start working on it as you work through the book. Any gaps means you can revisit that section, or even learn it from somewhere else. Some books are good at teaching one thing but bad at teaching another.
Anonymous No.105583895 >>105583931 >>105583932 >>105584156
>>105583866
>i dont think I have ever read a programming book front to cover
not even the bible?
Anonymous No.105583931
>>105583895
ok I'll concede that one, given the known fact that God programmed the world on Symbolics Lisp
Anonymous No.105583932 >>105584017 >>105584405
>>105583895
I became Atheist halfway and dropped it.
Anonymous No.105583982
>>105583894
>>105583866
In all honestly I can't help but imagine it like leveling up in a video game. It might be reddit or childish but I like to think how you can even read books and skill up in some videogames, why is it different from real life.
Of course, as one of you said, especially on books like programming books, lots of times I just skim through contents and come back to earlier chapters if needed. It is not like reading a novel or something like that. But I still at least try to read from back to back.
Anonymous No.105584017
>>105583932
why program? the program will write itself
Anonymous No.105584156
>>105583895
only lefstits would actually read all of the bible
Anonymous No.105584405
>>105583932
You became atheist because you read it only halfway
Anonymous No.105584526 >>105584822 >>105585395
How do OpenSSL manages to sign RSA in 0.006s?
The best I could do is 0.098s, and 0.060s if I turn off fault protection
Anonymous No.105584822 >>105584883
>>105584526
By not using K&R level code to do it.
Anonymous No.105584883 >>105584925
>>105584822
K&R level code takes 1.7s, I'm losing on some micro-optimization
Even checked for cache misses but there's none relevant
Anonymous No.105584925 >>105584939
>>105584883
Your code is K&R level.
Encryption is also useless security theatre so you can simply delete all that code and it will be fast.
Anonymous No.105584939 >>105584983 >>105585183
>>105584925
That's such a silly insult anon, I could pretty much see that as a compliment since K&R were the creators of C
It's fine if you don't have anything to add
Anonymous No.105584983 >>105584996 >>105585195 >>105585200 >>105585751
>>105584939
Standard C library has 0 useful functions and half of C's features are worthless on top of being overly obtuse, of course C's creators are morons. And you are a moron too.
Just look at this faggot, his C code is slower than Python that just imports OpenSSL. This is how bad C is without discarding 99.99% of what constitutes C, and writing half of your code in assembly.
Anonymous No.105584996 >>105585007
>>105584983
It's fine if you don't have anything to add anon, won't think any less of you because of it
Anonymous No.105585007
>>105584996
It's also fine with me that you will stay a K&R babyduck forever who is too afraid to look up openssl code, even for an obsolete scheme.
Anonymous No.105585183 >>105585736
>>105584939
>K&R were the creators of C
of the official first C Programming Language Book*, not the language itself. Dennis Ritchie invented C. K&R just documented it and taught everyone how to use it
Anonymous No.105585195 >>105588389
>>105584983
NTA but bad bait
Also isn't openssl written in C
Anonymous No.105585200
>>105584983
Skill issue.
Anonymous No.105585395
>>105584526
>"do manages" instead of "does manage"
>doesn't show assembly code
Kindly piss off.
Anonymous No.105585736
>>105585183
Dennis Ritchie was the R of K&R.
Anonymous No.105585751 >>105585783
>>105584983
>Standard C library has 0 useful functions
It's got a few useful ones, like memcpy(), but that doesn't mean it has a lot for doing RSA signatures.
The most useful thing for that tasl is a bignum lib.
Anonymous No.105585767 >>105585803
>>105570523 (OP)
My fellow code monkeys. Performacelet here. I've built a little program that draws some particles n sheet. It's all nice and multi threaded and works pretty well but I was wondering if anyone could answer why allowing Go to use all my cores generally gives me a bit lower but more consistent frame rate than limiting it to 3/6 cpu cores, which generally gives a bit higher average frame rate but has spikes up to frame rates that are like 50fps higher (sometimes holding there) than using all 12 (6 + 6 hyperthreading)? All the reading I've done the advice generally seems to 'just play with it' to get the desired result with very little concrete reasons to why it is like this?
Anonymous No.105585783
>>105585751
>like memcpy()
Lol no, it's interface is way too generic: >>105579224
Anonymous No.105585803 >>105585833
>>105585767
>Go
Found the issue.

On a lower level: synchronization and context switches.
Anonymous No.105585833 >>105585859
>>105585803
Sweet, thanks for the resource. Go's performance has surprised me a little. I did a single threaded version before this one and it was around 90% of the speed I got out of C. A C skill issue yes, but still kinda surprising given it was basically the same line for line and a language with a GC + Runtime could get so close.
Anonymous No.105585859
>>105585833
It depends on what your program is limited by. If most of your time is spent in the kernel, and you don't or can't optimize that out, then naturally both languages are going to perform similarly.
Anonymous No.105585951
Anyone got that "the last digits of your post decides what project you do" pic? I'm bored and can't think of a small project to work on
Anonymous No.105586065
>>105579213
I'm having fun but I really want to move onto the next feature I have planned

>imgui still doesn't have wrapping multiline inputs
>decide to just use a text editor extension instead
>it doesn't have mouse highlighting
>code it myself plus some nice QoL features
I'm done with little frontend crap but it was worth it. I even updated my ui schema so it isn't a schizophrenic mess!
Prince Evropa No.105586479 >>105587469
>>105571358
What does size_t do again?
Anonymous No.105586491 >>105586868
>>105571358
>>105571358
What does size_t do again?
Anonymous No.105586702 >>105592253
So where's that cockmonger who made that retarded claim about memory being returned to the kernel when the size is above 128 KiB? I'd like to feed him his own intestines as I pour Bourbon up his arse.
Anonymous No.105586801 >>105587235 >>105588055
>>105579213
I'm having fun. I get a dopamine boost every time I mark another function green.
Anonymous No.105586868 >>105587087
>>105586491
it's the type that array indices expect or implicity convert to
Anonymous No.105587087
>>105586868
Um, okay lol.
Anonymous No.105587235 >>105588055 >>105588195
>>105586801
love that theme
so comfy
so soothing
Anonymous No.105587469
>>105586479
size_t is just a typedef for an unsigned integer that is large enough to represent the max size something can be.
Or more practically, 32-bit on 32-bit systems, 64-bit on 64-bit systems.
It also gets used for array indicies because the max possible array index is the same thing as above.
Anonymous No.105587764
Anyone use their own MCP to increase Cursor's context window and circumvent the 120k limit on Claude's models?

https://github.com/ogoldberg/gemini-context-mcp-server
Anonymous No.105587881 >>105587893
>>105570523 (OP)
Any German programmers here?
Anonymous No.105587888
>>105571076
Kek!
Anonymous No.105587893
>>105587881
Nein.
Anonymous No.105588055 >>105588188 >>105588195
>>105586801
you got the palette for this color scheme? it's so good
>>105587235
this
Anonymous No.105588188 >>105588319
>>105588055
Not quite the same but looks similar to the 'organic green' theme in Emacs.
Anonymous No.105588195 >>105588319
>>105587235
>>105588055
It's just the default theme for Ida. Green background means I marked the function decompiled. Their dark theme is terrible for some reason. It does let you pick the color for every little thing if you are so inclined but I am way too lazy for that.
Anonymous No.105588319
>>105588188
that one's nice too, thanks!
>>105588195
>It's just the default theme for Ida. Green background means I marked the function decompiled.
ah, thank you. well, that's gonna help recreate it, at least :D
Anonymous No.105588389 >>105588452 >>105592073
>>105585195
You have to define "C", because majority of "C" code is slower than JavaScript due to v8 devs actually giving a fuck about performance unlike cniles who think that writing a plain char by char for loop is enough in 2025 because "muh C is faster than Javascript" (self evidently isn't when you're retarded).
Cniles, when encumbered with JSON, write their own or download slowest parser they can find.
JavaScript programmers benefit from Daniel Lemire's parsing gigabytes of JSON per second, without thinking about cniles or how difficult JSON is to parse.
You clearly aren't competent enough to write fast code, stick to JavaScript, that way your code won't be slowed down by your retardation, because it was designed with retards in mind.
Anonymous No.105588427 >>105588456 >>105588473
To add to that, Node.js 18 moved to pic related, and remember, cniles tout libcurl as holy grail.
>parses json faster than cniles by calling one javascript function
>parses urls faster than cniles by calling one javascript function
what's next?
Anonymous No.105588452 >>105588477
>>105588389
Are you trying to kill these threads with your endless daily retarded takes? Idgi.

>JSON is difficult to parse
lmao
Anonymous No.105588456 >>105588477
>>105588427
Why don't you show us what libcurl function they use, and then I'll show you where it fucked up?
Anonymous No.105588473 >>105588496
>>105588427
Surprising that a hyper autistic url-parser is faster at parsing urls than a swiss army knife.
Nobody associated with C could have predicted that tools which do one thing well are really good.
Anonymous No.105588477 >>105588486 >>105588493
>>105588456
Why don't you clone curl repo and figure it out yourself because I don't give a fuck about your schizophrenic opinion.
>>105588452
Yes it is, now post your own parser and tell me what pic related would look like if we added your Dunning-Kruger code benchmarks to it (I am not hopeful at all, don't sweat ever responding at all, retard).
Anonymous No.105588486
>>105588477
I can sleep fine knowing that the benchmark is false and that the Ada people are lying. Can you?
Anonymous No.105588493 >>105588507
>>105588477
Why would I write my own JSON parser when I can just use yy for free, you absolute inbred. PLEASE take your medicine.
Anonymous No.105588496 >>105588513 >>105588525
>>105588473
That hyper autistic parser is used by Node.js, making generic JavaScriot faster than anything that uses libcurl. Think about that for a moment, hopeless midwit.
Anonymous No.105588507
>>105588493
>use yy
Deprecated by json, read my post before outing yourself as a vantablack nigger.
Anonymous No.105588513 >>105588515
>>105588496
No one uses libcurl for serious projects in the year 2025 you absolute spastic midwit.
Anonymous No.105588515
>>105588513
Indeed, nobody uses C for serious projects.
Anonymous No.105588520 >>105588535
Reminder that, for a company that supposedly uses Ada, nvidia sure has no idea what they're doing.
Anonymous No.105588525 >>105588546
>>105588496
I thought long and hard and realized a sepples library is not exclusive property of jabascript.
Anonymous No.105588535 >>105588545
>>105588520
Nvidia drivers are proprietary only because Linux Tech Tips dude who made Linux would revert to old self and ask them why their mothers gave birth to them by squatting on the edge of a cliff.
Anonymous No.105588545
>>105588535
And it doesn't even help.
Anonymous No.105588546
>>105588525
Too bad it's exclusive to high IQs which you aren't, enjoy continuing to use yyjson in 2025, pajeet.
Anonymous No.105589281 >>105589317
I have gone to a forbidden wonderland in memory? It just keeps going.
Anonymous No.105589287 >>105589664 >>105590352
template
void foo(T t) {}

template
void bar(F f)
{
f(5);
}

int main()
{
// bar(foo); // doesn't work, fails to deduce template at call site
bar([](auto a){ foo(a); }); // work, deduction deferred to bar
}

Any way to avoid using lambda at call site? Calling bar(foo) is not an option as the real code is more complex and uses multiple types.
Anonymous No.105589317 >>105589568
>>105589281
>he doesn't dereference his char*
Anonymous No.105589568
>>105589317
FAAAAAAAAAAAAAAARRRRRKKKK
Anonymous No.105589664 >>105589677 >>105590352
>>105589287
Apparently declaring foo as a class or lambda does the trick. If it's stupid but it works...
Anonymous No.105589677 >>105590345
>>105589664
Oh so suddenly C++ isn't as easy to parse as it was claimed around here?
Anonymous No.105590054 >>105590069 >>105590205
>>105570523 (OP)
>Once a blue moon I want to play video games because I'm tired and look to relax,
>For most games you have go through "stores" (DRM platforms),
>you need that malware installed, create an account that can be locked, "social features" to disable, ads, opt-outs, and probably some more I miss,
>they are no longer bought at a store and double clicked on shortcut after installation
>For non-addicts it's actually enough hassle to not bother, and I give up half-way realizing that I could be productive instead of wasting time and money!
Thanks Gaben, you're improving my life.
Today, I may try coding in something unusual like fish just for novelty.
Anonymous No.105590069
>>105590054
Productive for whom again? Hopefully with nice enough compensation?
Anonymous No.105590205
>>105590054
Could you take your retardation to any other thread?
Because when I want to play a game, I simply look it up online and click "copy magnet", then paste it into my torrent client.
Anonymous No.105590319
Still waiting.
Anonymous No.105590327
>>105571358
THANKS, THIS PROGRAM IS REALLY USEFUL
Anonymous No.105590345 >>105590360
>>105589677
>now pretending by parse he meant read by humans
Anonymous No.105590352
>>105589287
>>105589664
because foo itself is not a specific thing, it has no rules to derive what T should be, if foo is an instance of a class then foo itself isn't a template and is just a single thing to instantiate bar with
this is what requests for an overload set are about
Anonymous No.105590360 >>105590684
>>105590345
Took you a while to come up with most niggertarded cope you could come up with. It's almost as vexing as most vexing parse.
Anonymous No.105590403 >>105590426
hey regdump schizo
does your mangus opum just print nerdy looking numbers and strings or is there any actual output or result to it?
Anonymous No.105590426 >>105591511
>>105590403
1. It's spelled "magnum opus".
2. It's not my magnum opus.
3. The usefulness of the data depends on your competency.
Anonymous No.105590546
manga opium
Anonymous No.105590684 >>105590713
>>105590360
Oh no, the most vexing parse. That will slow down my compiled program at runtime
Anonymous No.105590713
>>105590684
Nobody will use your toy program, so compile time matters more.
Anonymous No.105590957
>>105570523 (OP)
Writing my bytecode vm in rust for learning. Then I want to actually try to target llvm
Anonymous No.105591194
>>105582512
most useful scheme program
Anonymous No.105591511
>>105590426
so it just prints nerdy-looking shit so you can pretend to look cool on the internet, then
that's actually even more pathetic

>It's spelled "magnum opus".
pic related
Anonymous No.105591589 >>105591670
>retard has opinions
Get in line.
Anonymous No.105591670
>>105591589
>me first
Anonymous No.105591733 >>105592253
Careful. The retards who don't understand cache thrashing during copies, confuse virtual memory with virtual address space, and don't know that TLBs are shared these days might beat you to death if they catch you cutting their line.
Anonymous No.105592073 >>105592167
>>105588389
I use nlohmann, I don't even know how it ranks in speed, I wasn't in charge of picking that library. It seems to work well enough though.
Anonymous No.105592111
why do you keep posting a fucking ascii scraper like we care.
Anonymous No.105592148
Why do you assume I care if you care?
Anonymous No.105592167
>>105592073
Not great, but not terrible either.
https://github.com/miloyip/nativejson-benchmark
Anonymous No.105592253
>>105591733
Oh, and let's not forget those who're unable to read a developer manual for a single instruction, those unable to post code, and those who have utterly retarded ideas about nonsensical heuristics that can change on a whim: >>105586702

This is the true scum /dpt/ is ladden with.
Anonymous No.105592843 >>105592997
Anonymous No.105592896 >>105592901 >>105592997 >>105593166 >>105596939
Anonymous No.105592901
>>105592896
based
Anonymous No.105592997 >>105593035
>>105592843
>>105592896
Reading the responses, the 4chan Rusties are actually more sane than elsewhere
>Let me shill for Rust here...
>Hahah jk, I don't actually know how to program in Rust :)
Anonymous No.105593035
>>105592997
I don't mind. They're masochists, and I'm a sadist.
Anonymous No.105593166
>>105592896
This is a good one
Anonymous No.105593709 >>105593874
I tried using AI to do programming for the first time ever and it's kind of... nice for these boring ass projects that I don't really care about
Anonymous No.105593874 >>105593972
>>105593709
In my experience, LLMs struggle to hallucinate simple shell scripts. The best use for them I found is coming up with the ideas for class names, because while they can be bad at that, at least they are better than me.
Anonymous No.105593972 >>105595254
>>105593874
>The best use for them I found is coming up with the ideas for class names
Same. My names end up being needlessly verbose, LLMs help with that.
Anonymous No.105595254
>>105593972
>LLMs help with that
They make it easier to write even longer names?
Anonymous No.105595309 >>105595642
Anyone have suggestions for a private git
host? I'm happy to pay for something but I don't trust Github and Bitbucket just seems overpriced.
Anonymous No.105595642 >>105596962
>>105595309
Depends on what you're asking for.
Even the most basic server with SSH access can be a "private git" server.
Unless you're talking about the full blown web interface with merge requests, an issue tracker, and all that.
Anonymous No.105596939
>>105592896
>Intrusive container-of version
Based practical C programming.
Anonymous No.105596962
>>105595642
fossil is comfy for getting the extras on private personal projects. but if bitbucket pricing is an issue maybe he's thinking bigger than that.
Anonymous No.105597386
>>105570523 (OP)
I wrote a script to trim all of the corrupt chunks out of my beta 1.7.3 minecraft world, and then update the level.dat with the correct SizeOnDisk value.

I'm now upgrading the world to 1.18, but I think while I'm on this project I'll implement multithreaded mca conversion logic.
Anonymous No.105597967 >>105598754
fetch window property with XGetWindowProperty.
if it's some special struct property, you can cast it or use a convenience function
if the property has an 8 bit format, it gives you a nul-terminated char*
if the property has a 32 bit format, it returns an array of 64-bit elements with random garbage stuffed in the high 4 bytes.

i thought i was having a stroke double checking my types. i wonder if xlib is just retarded and uses unsigned long regardless of architecture or what the protocol itself is sending.
Anonymous No.105598754 >>105598958
>>105597967
Yup, retarded old code.
Anonymous No.105598958 >>105599333
>>105598754
Anonymous No.105599105 >>105599225 >>105599541 >>105599931
>/dpt/
>just people arguing and being mean
>nobody discussing advanced Mathematics and Computer Science research
>nobody posting maids
>nobody being nice
Anonymous No.105599225 >>105599323 >>105600020
>>105599105
We're not nice because we're not mentally ill schizos who're completely dissociated.

Unlike you.
Anonymous No.105599323 >>105599366
>>105599225
NTA but you're kinda proving his point
Anonymous No.105599333
>>105598958
At least it's not Wayland
But that's a low bar
Honestly, we need MORE windowing systems, so it's not just X11 or Wayland
Anonymous No.105599366 >>105599388 >>105599392
>>105599323
Tell an actual fucking schizo that they're a fucking schizo, and they will back off, either because they know they can't reciprocate the fitting emotional responses, or because their brains are completely fried and they think there's nothing wrong with them.

Just like you.
Anonymous No.105599388
>>105599366
K
Anonymous No.105599392
>>105599366
Anonymous No.105599433 >>105599522
See what I mean? Just a feeble "no u". They don't realize how creepy they come off to normal people.
Anonymous No.105599522
>>105599433
Anonymous No.105599533 >>105599534
>no u again
Almost they their mental illness renders them incapable of learning ...
Anonymous No.105599534
>>105599533
Anonymous No.105599541 >>105599552
>>105599105
>being mean
Like, 4chan has the typical snarkiness etc., but the schizos of this thread are just pure aggression, and shut down everything so they can whinge about malloc or literally fucking anything.
It's so tiring.
Anonymous No.105599545 >>105599547
>invoking religious imagery
Terry would be proud of you.
Anonymous No.105599547
>>105599545
Yes.
Anonymous No.105599552
>>105599541
Yup.
Registry dumper schizo in particular.
And the irony of him to call others schizos, lmao
It's telling how he rees at my """no u"""s kek
Anonymous No.105599562 >>105599566
>rees
That would require literally anyone who's not mentally ill to take you seriously.

Which no one does.
Anonymous No.105599566
>>105599562
Anonymous No.105599573 >>105599577 >>105599648
Sorry, but since I'm not mentally ill I'll stick to programming.
Anonymous No.105599577
>>105599573
Anonymous No.105599584 >>105599586 >>105599648
>more proof of mental illness
Anonymous No.105599586
>>105599584
Anonymous No.105599593 >>105599595 >>105599648
>no u again
>again
Anonymous No.105599595
>>105599593
Anonymous No.105599598 >>105599599 >>105599648
Anonymous No.105599599
>>105599598
Anonymous No.105599602 >>105599612 >>105599648
Anonymous No.105599612
>>105599602
Anonymous No.105599616 >>105599628
Anonymous No.105599628
>>105599616
I ran out of images to dunk on you on, so I'm just gonna leave you with this:
You're a delusional schizo who calls others mentally ill, and when presented with the truth, you cry "that's a no u!" like the manbaby you are, kek
You are beyond help.
Maybe consider suicide, it would do the world a favor
Anonymous No.105599641 >>105599654
>I ran out of images to dunk on you on
Luckily I haven't.
Anonymous No.105599648
>>105599573
>>105599584
>>105599593
>>105599598
>>105599602
>"I'm not mentally ill"
>keeps a collection of specifically named images from earlier posts where he thinks he "owned" his "haters" (in actuality, they are proof of his mental illness)
Anonymous No.105599654 >>105599658
>>105599641
>he thinks this is an own
Kek, you are indeed beyond help
I don't even care enough about your retardation to be "offended" by a chart of CPU nonsense
Anonymous No.105599658
>>105599654 (me)
>I don't even care enough about your retardation
Don't even care enough about your retarded obsessions*, I should clarify
Anonymous No.105599663
I mindbroke the regdumper schizo, kekaroo
Anonymous No.105599664 >>105599673 >>105599688
Anonymous No.105599673
>>105599664
Have you tried going outside and getting a life instead of spending time on a basket weaving forum autistically arguing with people about shit nobody cares about
Anonymous No.105599688
>>105599664
>He screenshots his own posts where he thinks he "owned" someone like someone hanging their shit on the wall
Kek, how pathetic you are.
Self-prideful, arrogant, hypocritical, retarded schizophrenic.
Anonymous No.105599698 >>105599786
>nobody cares about
Well, no, only the incompetent autismos in /dpt/ don't.
Anonymous No.105599707 >>105599713
Anonymous No.105599709 >>105599731
Serious question: Has this regdumper schizotard tried programming anything other than a registry dumper in the past 5 years or is he too far gone
Anonymous No.105599713
>>105599707
>He thinks I'm seething
I'm not the one who's taking screenshots of people replying to him and calling him out.
Anonymous No.105599731 >>105599743
>>105599709
You see, it *really* triggers people - so I don't mind talking about it.
Anonymous No.105599743 >>105601074
>>105599731
Oooooh more angry filenames and "so called ammunition" (also known as another one of your self-owns), so scary
Lmao
Also you didn't answer the question about whether or not you've recently programmed anything other than a registry dumper.
I think you need to take your meds
Anonymous No.105599757 >>105599766
>more no us
>again
>again again
I think you need to change your script as well.
Anonymous No.105599760
Honestly, do you really think anyone will use your registry dumper in the first place? Software is pointless if no one uses it, and practically no one cares about dumping shit from Winblows registries
Anonymous No.105599766
>>105599757
The guys in that screenshot aren't even me, but ok, whatever you say.
Also, wdym by "thirty years"? Mayhaps the reason for your schizophrenia is some 30-year-old petty grudge you have against some rando? Lol
Anonymous No.105599786 >>105599805
>nobody cares about
>again
>>105599698

>he doesn't know what happened thirty years ago
So the incompetent autismo is also a zoomer. Who would've thunk.
Anonymous No.105599805
>>105599786
And what pray tell happened thirty years ago?
You know what, it probably isn't important, and making fun of retards such as you isn't exactly optimal, so I'll just go away and do something actually productive with my life, while you waste away years of your life programming and overoptimizing something nobody will use.
Anonymous No.105599820
>something actually productive with my life
>it's likely to involve an LLM
>because that's how nocodeshitters operate
Anonymous No.105599931
>>105599105
I miss the maidposters.
Anonymous No.105599955 >>105599978 >>105600008
the regdump schizo is a m**dnigger plant intended to tire out the thread with the objective to make it easier for avatarfagging m**dniggers to infiltrate the thread
Anonymous No.105599958
Mooooom, json scares me.
Anonymous No.105599978
>>105599955
And the best thing is that it's working.
Anonymous No.105600008 >>105600020
>>105599955
They're polite and they post actual projects.
Anonymous No.105600020 >>105600204
>>105600008
The reason they're polite is because they have brain damage. >>105599225
Anonymous No.105600204 >>105600209
>>105600020
>being polite is a symptom of schizophrenia
Anonymous No.105600209 >>105600643
>>105600204
On 4chan it is.
Anonymous No.105600592 >>105600651
typedef void (*none)();
typedef none (*func)();

none h()
{
exit(1);
}

func g()
{
return h;
}

func f()
{
return g;
}
I can't even get this to typecheck
Anonymous No.105600643
>>105600209
... what, do you think, does
none h()

do? Hint: h doesn't return anything.
Anonymous No.105600651 >>105600712
>>105600592
... what, do you think, does
none h()

do? Hint: h doesn't return anything.
Anonymous No.105600712 >>105600741
>>105600651
It's an explicit base case, you should be able to say
func h()
{
exit(1);
return h;
}
with the same semantics (if the typedefs even worked)
Anonymous No.105600741 >>105600841
>>105600712
Good thing the compiler prevents you from doing something so retarded.
Anonymous No.105600841 >>105600898
>>105600741
It's simply
h:
mov r0, exit
syscall
ret
g:
lea r0, h
ret
f:
lea r0, g
ret
I just don't know how to write the type in C
Anonymous No.105600898 >>105600967
>>105600841
#include

void h(void)
{
exit(0);
}

typedef void(*t1)(void);
typedef t1 (*t2)(void);

t1 g(void)
{
return h;
}

t2 f(void)
{
return g;
}
Anonymous No.105600967
>>105600898
I'm so dumb thanks anon, to add another function is
typedef void (*none)();
typedef none (*func)();
typedef func (*next)();

void h()
{
exit(1);
}

none g()
{
return h;
}

func f()
{
return g;
}

next e()
{
return f;
}
at least it typechecks now
Anonymous No.105601074
>>105599743
this guy is scared of filenames