The similarity between C and JS is that both languages serve you little warnings about error situations. The difference is that C solves this by not doing anything more than you asked (programmed) it to do, while JS makes all kinds of unexpected conclusions by coercing your values in all kinds of ways it without asking you, causing different kinds of silent failures or unexpected situations. What is better? A difficult to debug segmentation fault or 1 plus 1 equals 11 situation that makes no sense?
@@jongeduard Typecasting is not something exclusive to Javascript and is entirely manageable if you know what you're doing with it, a lot of people hate it and that's why Typescript and JSDoc are a thing, but it's still not as big an issue as people make it out to be
To answer the question again, I’m just chilling in my garage listening to music thinking I could probably afford a new tool box in a month or two. Also I gotta wash the dogs (she asked if I could wash the dogs). I really don’t like washing the dogs…. So I’m gunna measure this one spot where I think this new tool box could go again (I know it will fit there’s nothing there) then I’ll wash the dogs.
@@12MrRetro yes that is quite true, but that is why rust is growing currently because it forces the developer to follow best practices. but seriously & realistically speaking, C/C++ originated at a time when programming was still done by a very few people, nowadays in the age of ultron (i mean chatgpt) every tom dick & harry wanna build the top revernue earning application using a few well stated prompts (which ain''t programming but the final output makes one think other wise) so in comparision when rust still is in infancy such programming paradigms in which the compiler & language requires following of best practices is quite natural & expected. And with the complexity of today's software it is a good thing that languages like rust are being used over languages like c/c++ (note i prefer c/cpp over every other language but that does not mean i enjoy myself shooting myown foot (except when i am feeling like it : -) ).
Good men are always out there, women just always think the beast (assholes) will turn into the prince that will save the princess. Sadly our society thinks it’s cool to be a douche, but nobody learns to be decent.
I see that this is a weird C and C++ mix. However, I really can't see the problem with the code with regard to memory management. Given the comments, it probably makes me look stupid to admit it, but I really don't see the problem regarding memory safety. Sure, it will print some garbage, as the string isn't properly "right-sized" but there should be no invalid memory access. It should all be contained to the memory of the array.
I agree, I don't see memory violations stricto sensu. But the garbage it will print out will be the contents of the stack, maybe leaking some sensitive information (like cryptographic keys or whatever).
@@joelstienlet1641 Maybe. However, I dislike that the guy makes it sound as if it was a C++ problem. You can do the same mistake with C. Actually, if C++ was used properly here, instead of mixing C and C++, the likelihood for this mistakes would also be way lower.
No this doesn’t mean that you can exploit the program because no real world application will be published without using the hardening flags to compile it.
it's not pure C++, it's actualy ""C/C++". There is good filesystem library introduced in c++17. There is also std::span that can guaranties that the Pointer is in range.
I have been accused of cheating in every single relationship I have ever been in, I have never once done it. I gave up on all relationships 11 years ago. And now all I do is work and enjoy my peace.
I was here furstrated today practicing some C i cried. Im 24 and a post computer engineering student and i really want transition embbeded software and PCB design and roles that deal with hardware they seem very fun and interactive i come from a front end development background where i mean i enjoy the visual aspect but that is it
i usually use C parts in my C++ with ++pointers,string[i],calloc() and free() stuffs all the time because they're efficient for fast algorithms.But not sure about memory management and security.
@@anon1963 Yes and no. Especially for fast and efficient algorithmics, raw pointers are quite common. However, my strong advise would be to contain the raw pointer stuff as much as possible and never ever hand over memory ownership to another function with raw pointers. The reason why it is fast is, because it has no checks whatsoever. So, the algorithm has to prevent such mishaps just by its design. Hence, it's important not to spread this pointer handling over big chunks of code. Otherwise, you lose the overview over the whole thing. Also, I think there was a bit of a misunderstanding. I have strong doubts that the STL contains our image processing algorithms which we took several months and years of experience to develop and which are part of our most secret core technology. ;) Not every algorithm is in the STL. Sometimes, you have to do it yourself. Actually, your algorithm is usually the heart of your software. The other stuff such as interfaces and a flashy GUI is only some infrastructure around it (which is probably over 95% of the code). But at the end of the day, most B2B customers don't chose your software because it has a flashy GUI, but because your algorithm is ahead of competitors.
I build with Lego and make cars with realistic suspension and pumping engines. Sometimes I our motors and Bluetooth hubs in there to make them like RC cars that I built out of Lego. It’s so fun.
WYD? I taught myself AutoCAD and SketchUP and spent ridiculous amounts of time making drawings/models of things that I wish existed, read books and online articles/forums, went on hikes in the lava flows near my house, watched a LOT of TV and movies, played video games, listened to music, worked on cars, went online and talked about cars, went on long drives for no reason, watched a lot of videos online and spent huge amounts of time having discussions in the comment sections... and, wow, life would be great if money weren't an issue.
You can manipulate everything that runs on your own PC, basically you could also get memory addresses from a Javascript app that runs in the browser, but no one would care tbh, because it is on your own machine.
Theres two types of dudes who dont cheat, hard workers, and nerds. The dude majoring in business promising hell be a millionaire in a year is the dude whos gonna cheat
"we literally like are like a low level programmer like watch me literally look at machine code, like im so like low level, like im literally so smart"
Okay this is the sort of click bait I can get behind
Ezsnippet technique
I feel like it's not even clickbait. Just a dating add for LLP
Best clickbait ever
It's not clickbait. It does what it says on the tin
@@Leo-sd3jt there's always one commenter like this
I think you know what I mean
I thought it's a TH-cam glitch 😂😂
Bro same 😂
Same 😂😂😂
same lol
Same Hahahah
same LOL
I shared it with my gf because of the first part, you're reaching a new target audience with this 😂
This shit is hilarious.
Same here 😂
Same 😂
STOP!! YOU HAVE VIOLATED MEMORY! Pay the court a fine or serve your sentence
Your stolen addresses are now forfeit!
After you have served your sentence. . . there's a settlement that needs your help. I'll mark it on the map.
I am calling the cops..
*resist arrest*
@@bobmike2373Then pay with your buffer!
If you date him, you'll know that once you die, your memory will be save.
The d wasn't saved
As a JavaScript developer this is very helpful
How
The similarity between C and JS is that both languages serve you little warnings about error situations.
The difference is that C solves this by not doing anything more than you asked (programmed) it to do, while JS makes all kinds of unexpected conclusions by coercing your values in all kinds of ways it without asking you, causing different kinds of silent failures or unexpected situations.
What is better? A difficult to debug segmentation fault or 1 plus 1 equals 11 situation that makes no sense?
@@user-vh4mf4ux2mit's a joke
@@jongeduard Typecasting is not something exclusive to Javascript and is entirely manageable if you know what you're doing with it, a lot of people hate it and that's why Typescript and JSDoc are a thing, but it's still not as big an issue as people make it out to be
Peak trolling right here :D
Not only is he not cheating, he's making way more money than the guy that's cheating
but where's drama in that
@Fanaz10 that code be lookin pretty dramatic
@@Fanaz10 Are you female?
@@Ebani only a female would ask such question
A small correction…”the guy she is cheating with”
I love the beginnings to these videos now, i never used to interact but i did watch them, hilarious..love it.
As someone who has used GDB and knows exactly what he was talking about and doing...
I feel very called out by this.
cringe
As a C programmer I can confirm this
To answer the question again, I’m just chilling in my garage listening to music thinking I could probably afford a new tool box in a month or two. Also I gotta wash the dogs (she asked if I could wash the dogs). I really don’t like washing the dogs…. So I’m gunna measure this one spot where I think this new tool box could go again (I know it will fit there’s nothing there) then I’ll wash the dogs.
Simple man, simple life :)
Pfffftttt…. Hahaha!…. I’m starting to get the feeling this guy wants a tool box?….hmmm?
HALT! YOU HAVE COMMITTED CRIMES AGAINST MALLOC AND HER PROCESSES. WHAT SAY YOU?
"Looks like I did a double free, my bad"
Bro is cooking 🔥
Memory safe C++ 👍
As a long time C++ dev, the problem is… you do not know how to write memory safe C++
the point of the video was the joke a the start.
I'm pretty sure the rest is out of context
So, from the code I can see in this short, this is the function:
void handleClient(int cfd) {
std::cout
nice example && yes you are completely right dude.
you're useless
Some ppl would still say “If you follow 100500 rules of best f practices, c++ can be safe as rust”
@@12MrRetro yes that is quite true, but that is why rust is growing currently because it forces the developer to follow best practices. but seriously & realistically speaking, C/C++ originated at a time when programming was still done by a very few people, nowadays in the age of ultron (i mean chatgpt) every tom dick & harry wanna build the top revernue earning application using a few well stated prompts (which ain''t programming but the final output makes one think other wise) so in comparision when rust still is in infancy such programming paradigms in which the compiler & language requires following of best practices is quite natural & expected. And with the complexity of today's software it is a good thing that languages like rust are being used over languages like c/c++ (note i prefer c/cpp over every other language but that does not mean i enjoy myself shooting myown foot (except when i am feeling like it : -) ).
Did he compile it with the symbols intact?
I swear this guy has the best bait intros HAHAHA
Good men are always out there, women just always think the beast (assholes) will turn into the prince that will save the princess.
Sadly our society thinks it’s cool to be a douche, but nobody learns to be decent.
I don't cheat because I don't have anyone to cheat on, or with
One day you will, soon perhaps 😊😊 cheers dawg
@@seansingh4421 it's all about the action, and if you aren't making it happen, it won't happen
@@seansingh4421wait...what?
I also hope you find someone to cheat on.
Good luck with your future cheating endeavours!
This guy is a legend
I love this format.
😂😂😂😂 this one was so good 😂
I love how you make a joke out of this. Laughing and learning
Thats low level hacker stuff 🏴☠️
Entry level hacker learning 🏴☠️
Yay
I think you might be acoustic
That's literally how we write cheats 😅
This kinda sounds close to Cheat Engine stuff though (the memory editor)
“wyd” homie im having a fruitful marriage
3am: where were you?
Me: banging out a ROP chain, smashing stack protections. Receipts and PoC to prove it
I see that this is a weird C and C++ mix. However, I really can't see the problem with the code with regard to memory management. Given the comments, it probably makes me look stupid to admit it, but I really don't see the problem regarding memory safety. Sure, it will print some garbage, as the string isn't properly "right-sized" but there should be no invalid memory access. It should all be contained to the memory of the array.
I agree, I don't see memory violations stricto sensu. But the garbage it will print out will be the contents of the stack, maybe leaking some sensitive information (like cryptographic keys or whatever).
@@joelstienlet1641 Maybe. However, I dislike that the guy makes it sound as if it was a C++ problem. You can do the same mistake with C. Actually, if C++ was used properly here, instead of mixing C and C++, the likelihood for this mistakes would also be way lower.
Keep these coming these have been cracking me up 😂
No this doesn’t mean that you can exploit the program because no real world application will be published without using the hardening flags to compile it.
it's not pure C++, it's actualy ""C/C++".
There is good filesystem library introduced in c++17.
There is also std::span that can guaranties that the Pointer is in range.
man, I don't even care a lot about coding, but the transitions are pure gold
Once you see Nick from The Yard podcast you cannot unsee..
That was funny. Subbed
I can confirm this is true. Can’t cheat if no one wants to be romantically involved in assembly or C.
Love that videos :D Really what we need, not relationships and shitty songs, only CODING
Me personally, I’m too busy trying to reach a 4 digit rank on osu! while she gives me encouraging words of support 😂❤
You made me wanna learn c++.
I started with javascript, jumped to c# and now I'm more curious about memory manipulation
I have been accused of cheating in every single relationship I have ever been in, I have never once done it. I gave up on all relationships 11 years ago. And now all I do is work and enjoy my peace.
Aaaaand now I'm subscribed. 😄 Trying to learn code. Definitely wanting to learn from someone with a great sense of humor!
I'm going to start learning code now. Put it off for long enough I got my CCNA, RHCSA, now it's time take on coding.
Getting rdy to sitdown in my pjs for work and this just made me lol 😂
Thanks I’ll remember that! C has been like decrypting an ancient wizard tome for me; and just as fun!
Damn i love this channel 😂😂
Secret meaning behind David Guetta's song was really about .. "all the crazy code I did tonight .. those will be the best memories .."
Can’t lie I like this bait and switch 😅 I’m entertained 👍🏾
I'm in awe of your talent.
Amazing intros, keep it up pls
Ducks need HUGS
I was here furstrated today practicing some C i cried. Im 24 and a post computer engineering student and i really want transition embbeded software and PCB design and roles that deal with hardware they seem very fun and interactive i come from a front end development background where i mean i enjoy the visual aspect but that is it
The information is phenomenal
“Men who don’t cheat wyd”
Sitting at home happily w my girl
Finally, my recommendations have reached my people
You can violate memory, but never the family
i usually use C parts in my C++ with ++pointers,string[i],calloc() and free() stuffs all the time because they're efficient for fast algorithms.But not sure about memory management and security.
you have efficient and bug free algorithms in STL already. you should use smart pointers if you want to manually allocate
@@anon1963 Yes and no. Especially for fast and efficient algorithmics, raw pointers are quite common. However, my strong advise would be to contain the raw pointer stuff as much as possible and never ever hand over memory ownership to another function with raw pointers. The reason why it is fast is, because it has no checks whatsoever. So, the algorithm has to prevent such mishaps just by its design. Hence, it's important not to spread this pointer handling over big chunks of code. Otherwise, you lose the overview over the whole thing.
Also, I think there was a bit of a misunderstanding. I have strong doubts that the STL contains our image processing algorithms which we took several months and years of experience to develop and which are part of our most secret core technology. ;) Not every algorithm is in the STL. Sometimes, you have to do it yourself. Actually, your algorithm is usually the heart of your software. The other stuff such as interfaces and a flashy GUI is only some infrastructure around it (which is probably over 95% of the code). But at the end of the day, most B2B customers don't chose your software because it has a flashy GUI, but because your algorithm is ahead of competitors.
That is an accurate response. If your man is spending his free time coding, he's not the type to cheat.
I build with Lego and make cars with realistic suspension and pumping engines. Sometimes I our motors and Bluetooth hubs in there to make them like RC cars that I built out of Lego. It’s so fun.
The short answer is being productive.
Accept it, ladies. Embrace it. Embrace your programmers.
effs are memory addresses. Memory safe c++. I learned something today.
living a good life, avoiding degeneracy.
The nerd jokes are evolving, and I'm here for it 😂😭💀
As a CSS3 expert this is very useful
That was the best stitch ever.
I thought TH-cam bugged out for a second, it took re watching to realize it was a meme lol
Hilarious start of the vid 😂
YOOOO it's the version of Tomato that can break the CD
He's actually editing game files for unlimited health and ammo.
Nice , learning with out a rickroll. -subscribing.
lol ain’t wrong except this time I’m painting my car rims
Bless coder heart. 😅
Damn, I know what he's talking about.. i need to tough grass
"Private" var is not really private in C lol
WYD? I taught myself AutoCAD and SketchUP and spent ridiculous amounts of time making drawings/models of things that I wish existed, read books and online articles/forums, went on hikes in the lava flows near my house, watched a LOT of TV and movies, played video games, listened to music, worked on cars, went online and talked about cars, went on long drives for no reason, watched a lot of videos online and spent huge amounts of time having discussions in the comment sections... and, wow, life would be great if money weren't an issue.
"Loyal men, wya?"
*Getting into the mainframe and about to upload the first human intelligence to the Cloud* 🙂👍
Got a nerd husband myself. I just have to feign interest in anything nerdy and I’m golden.😂
Omg man made me laugh hard
I’m currently in the book of Acts. I read about this guy Saul and he’s currently being used by God. It’s amazing
You can manipulate everything that runs on your own PC, basically you could also get memory addresses from a Javascript app that runs in the browser, but no one would care tbh, because it is on your own machine.
I just started learning Python last week and seeing this just gave me a stroke.
I need to learn about these things
... Because we are busy with serious stuff !
🤣🤣🤣
Says he’s not cheating but just violating the memory 🤣🤣
I thought I clicked on the wrong video lol
Theres two types of dudes who dont cheat, hard workers, and nerds. The dude majoring in business promising hell be a millionaire in a year is the dude whos gonna cheat
Not only have you violated the constraints of memory, you also have performed an illegal action
At least in in Windows
In Linux you only dumped core
He’s making 6 figures building the world up. Do you bro and hold the lines.
❌ Violating girlfriend's trust
✅ Violating memory safety
❌ Has girlfriend
You did a great job.
We’re also playing kino der toten on hardcore 😂😂😂
Man I really want to get into routinely learning more of this stuff.
Do you guys have a Discord?
So they're learning how to do weird stalking things. So trustworthy
As an IT Systems Engineer, I approve this message.
Been writing safe c for a while and can confirm i never cheat
Bro named violation of memory safety http😭
Reminds me of reverse engineering malware days ahaha
busy feeling unwanted
Damn look at them memory addresses 🥴
"we literally like are like a low level programmer like watch me literally look at machine code, like im so like low level, like im literally so smart"
Yea normal people talk like him, don't be a pretentious antisocial programmer stereotype..
No regreat to click this.love it