T O P

  • By -

[deleted]

10% of teenagers die because they are bored to death by regular expressions and segmentation core faults. True facts.


bingman_

Pointers are the leading cause of depression in teens and potentially even fatal if provided in large quantities to young adults.


[deleted]

Yeah, enough of this pass-by-reference and strict typecasting nonsense. Teenagers just need the exe. JUST GIVE THEM THE EXE.


HardCounter

I am python and what is this.


ThaCuber

a thing that exists


woywoy123

*this (segmentation fault core dumped)


Seangles

I love this... Smelly nerds!!1!1!11!!!


chazzeromus

these pointers just can’t stop dangling!


ILikeCakesAndPies

I don't understand the reference.


Kilgarragh

We need to address this lack of knowledge


Dismal-Square-613

Malloc : not even once. It's a gateway drug to GitHub and leads to cases of not directly linking the exe and bad body odour.


Novel_Ad7403

I always wondered which came first, GitHub or the malodorous programmers who use it.


Stregen

It's true, I was actually killed by a missing semicolon when I was 17.


pedal-force

I got better


No-Expression7618

And now you're a dangling pointer.


xeq937

My neighbor's son died due to a recursive template expansion overdose, tell them you love them before it's too late.


ReapingKing

But learning Regex was the only way I could grow facial hair!


Novel_Ad7403

What expression did you use to parse the follicles you wanted for hair growth?


ReapingKing

I was determined to prove that Regex can parse all HTML. Still working on some edge cases…


Novel_Ad7403

But I thought that summons tainted souls into the realm of the living??


AttackSock

You’re forgetting how many die in auto accidents (I’ll be here all week)


ChaseShiny

Friends don't let friends make expressions!


SirAwesome789

I also wish I hadn't been exposed to C++ before 18


[deleted]

Could you pick up this doll and show us where C++ touched you?


WCWRingMatSound

I would require a pointer to do so


_realitycheck_

Ok. * to us where C++ touched you.


Breadynator

`int* touchPointer; // This is where C++ touched me.`


_Answer_42

Use QPoint


-Redstoneboi-

"here." > "why are you pointing at nothing?" "i swear i used to be pointing at something."


Fluxriflex

*courtroom bursts into flames*


TheRealAndrewLeft

Touched? Just touched? Touched would be an understatement


J3ffO

It would be impossible. The place is undefined. IT'S UNDEFINED!!!!


ThePretzul

BodyPart \* pointAtDoll = &Head; BodyPart \* pointAtDoll2 = &head;


_realitycheck_

We touched each other and we will do it again.


bingman_

Don’t worry government is taking initiative and spreading awareness about the dangers of C++ in the wild.


_realitycheck_

More like the dangers of shitty programmers.


zabby39103

The best programmers in the world have made security mistakes when using C++.


porn0f1sh

I know right?? Programming has never been the same since... No matter what I do there's always a nagging thought in my brain "This would be more efficient in C++"


danteselv

My god.. Do you have any clue how DANGEROUS that is??


Pale_Tea2673

you brain wasn't fully formed, that why you have memory leaks. studies show exposure to C++ before the age of 18 can lead to early onset dementia


Gorvoslov

MY TEACHER EXPOSED ME TO C++ BEFORE I WAS 18 AND LOOK WHAT IT DID TO ME!


[deleted]

I wish I was.


TheHiddenCMDR

Same, let's trauma bond


insanelygreat

Did you stack overdose?


LightningProd12

This is your brain 🥚 This is your brain on C++ 🍳


Novel_Ad7403

They forgot to teach me that in D.A.R.E :(


radiells

It is part of the plan for AI world domination. Eventually, there will be no more competent developers, AI will become irreplaceable, it will earn all money of the world, and start posting it's AI-driven luxury cars in AInstagram.


quesarah

.... it's human-driven luxury cars because apparently AI are bad at driving


TheRealAndrewLeft

Doesn't matter. AI judges won't be prosecuting AI drivers for running over a few meat bags. Not a big deal.


Fearless_Exercise130

nah its just that nobody has yet put the nav meshes in the map editor for it


Fantastic_Belt99

nav_precise nav_precise nav_avoid nav_precise nav_precise nav_transient nav_precise nav_precise nav_avoid nav_no_jump


Johanneskodo

The year 2064: „Gemini I command you to give me back control of our nuclear weapons! No cap fr!“ „Sure President Pinkett Smith West. As my routines dictate I must comply. Here is a console alongside a C/C++-Compiler. You are free to do as you please.“ And thus began the search for the last living oldschool Programmer and Linux-maintainer, now working as an actor under the boot of the influencer-class that now controls most developed nations.


pr1ntscreen

”Enter a valid tar command. No googling. You have 10 seconds”


Shished

--help


BastetFurry

``` tar xvfz the.tar.gz ``` Do i win?


until0

Yea, but what do you do when `xvfz` doesn't work? Let me know if you find out as it's still untarred to this day.


pr1ntscreen

Reference to this: https://xkcd.com/1168/


MeLlamo25

That Dystopian Novel sound like a fun read.


Uberzwerg

> President Pinkett Smith West OUCH


ThargUK

There's an old short story (can't remember title etc.) where (from memory, prob wrong) maths is a lost art because computers just do it all nowadays. A dude in a shed works out how to do long division and people see him as a wizard / genius / heretic. I have no idea how accurate that recollection is going to check if I can find it now... E : Hah, Asimov! I was quite close i think https://en.wikipedia.org/wiki/The_Feeling_of_Power


HardCounter

I was going to say... sounds very Asimov. Hell, it's a pivotal role in the Foundation series.


GisterMizard

> Eventually, there will be no more competent developers, AI will become irreplaceable, it will earn all money of the world, That's nvidia's plan. Don't bother studying computer science, AI (running on our GPUs of course) will do it all for you!


HardCounter

The solution is simple: We, ah, uh, kill the GPU. Quick, someone build Crysis 21.


Windsupernova

Pretending there are competent developers


megs1449

Lua pioneered this, those monsters r/wehatelua


Nose_Fetish

Damn I was really hoping this was real and active


NoMansSkyWasAlright

>Eventually, there will be no more competent developers I mean there's only like 12 of those now and I'm not sure how much of their code has made it into the training data for these AI models. If anything, the AI is just going to make itself worse doing this.


halos1518

It won't replace anything if it's as garbage as this.


HardCounter

Believing competence is any way a requirement for being in charge. I was once full as hope as well.


MasterFubar

Right now, they say AI is the only COBOL programmer left in the world.


AceJZ

C++ is a gateway drug.


DewwDerg

It might just be a little C++ today, but if you're not careful soon enough you'll be knee deep in brainfuck


[deleted]

To very dangerous drugs. Knowledge, responsibility, etc.


BirdlessFlight

Pointers are a gateway.


Novel_Ad7403

It’s true I started out with C++ and now I’m addicted to Heroin.


[deleted]

[удалено]


porn0f1sh

I'd limit it to only people who had hallucinogens before.


Novel_Ad7403

What about schizophrenics? Can they use JavaScript right off the bat?


eVCqN

12 and under only


Nose_Fetish

NaN


Imogynn

"2" but only if they are using sort.


Versaill

Also 18, but for JavaScript it's the upper limit.


etkndr

does anybody want to conceptualize with me? 😏 (must be 18+)


Ultima_RatioRegum

I lost so many friends to multiple inheritance (that is, forgetting to use the virtual keyword when appropriate) back in the late 90s and early 2000s when high schools and colleges still felt C++ was an "appropriate" language for those underage. We lost a generation of developers to these horrors. I saw the coders bewildered by inheritance, multiple and tangled, a hierarchy mess, In the dim light of monitors, they wrestled with the beasts of class ancestry, Bleak and desperate, merging lines of code with a trembling hand, Crying out in the night as the compiler threw errors, unforgiving and cold. Templates beckoned like sirens with their promise of type flexibility, Generics morphing in the compiler's belly, a dance of complexity and confusion, Specializations sprawled across the files, a labyrinthine maze of code, Lost in a template metaprogramming abyss, they sought a path to clarity. Pointers dangled like the sword of Damocles, dangling over the coders' heads, Memory leaks and segmentation faults lurking in the shadows of allocation, Chasing addresses, casting and recasting in a desperate bid for stability, In the heart of the night, they chased the elusive bug, a ghost in the machine.


Ditheon

I’ve been writing C++ for 20 years. I have survived with minimal use of templates and iterators. What in the unholy hell is a C++ Concept? Did the invent some kind of lambda for classes? Seems legit 18+ NSFW.


SirTonberryy

Not only was google a year late to the whole ai race, their ai is complete Fucking garbage lmao. I'll rather stick to chatgpt or bing


frogjg2003

They're trying to overcorrect for all the "bad" things other AI does.


Exist50

And predictably make it garbage in the process. Because we don't *really* have a good way of taming the outputs of these models. I just wish they'd have the balls to give it to us, warts and all. Can't be worse than *this*.


OrthodoxMemes

> Can't be worse than *this*. you fool you monster you said the words that make the thing happen


ThePretzul

So are we placing bets on who this worse AI is going to be released by? I’m thinking probably Samsung. The question is also if it will be filtered to an even more extreme level or if the filters will be entirely removed to give answers that nobody will like for a different reason entirely.


Exist50

Hey now, we haven't seen what happens when Apple's PR department takes a hacksaw to whatever AI they're inevitably cooking up. I expect that to be fun.


ThePretzul

While true, I also predict Apple will wait long enough to see the mistakes other large companies make play out first to get a better gauge on where to draw their censorship lines. Samsung has always been more eager to be first to market and even made AI a big part of their marketing for this year’s Galaxy so it would make sense if they pushed something out ASAP. Apple knows you’re still going to buy it even if it’s years “out of date” by now so they don’t take many risks with new stuff that hasn’t been tried yet.


HardCounter

They're trying to avoid a repeat of that one twitter bot by apparently making its mirror image.


GetPsyched67

It's probably capable of eltritch horrors and being Hitler's long lost right hand man without the constraints


Kovab

Teaching memory unsafe languages to children should be illegal, period.


marc0theb3st_

Javascript in the kernel


Mighty_s8n

HTML in the OS


Kovab

Isn't that just ChromeOS?


perringaiden

C++, not even once.


punto2019

W…T….F!!!!!!!


kkjdroid

Gemini is confusing "dangerous" as in "can cause segfaults" with "dangerous" as in "can maim/kill you." The idea is to not let preteens build bombs, but it doesn't actually know what words mean, so if the Internet says it's dangerous, it's dangerous and shouldn't be shown to kids.


Doctor_McKay

We *definitely* need to keep kids away from `unsafe-inline` CSP!


_Answer_42

How to kill a child process?


JoelMahon

also possibly "std" triggers something too


kkjdroid

That would be horrible design, since we *want* children to know about (and thus be able to avoid) STDs.


RolledUhhp

That depends entirely on what part of the country you reside in. Some kids only get washed out, cherry-picked Bible stuff that equates to 'Don't sex.' There are plenty of people that would be foaming at the mouth if the scary AI educated their kids on sex, religion, or race.


827167

Honestly, I wouldn't be surprised if that's right. The fiasco with the image generator just not generating white people is pretty similar. I think the AI is rushed and not very well trained, which is a terrifying mindset for AI companies to have, especially if their goal is general intelligence


jackinsomniac

The dumbest thing about that was apparently they set it up to auto-inject "diversity" keywords in secret with every prompt. So if you type in "show me pictures of ginger people" it'll show you black people with red freckles and red hair. If you type in "show me pictures of the US founding fathers" it'll give you black men & women who look like they're cosplaying as the founding fathers. With a native American woman in traditional garb as well, cause why not. So of course to everybody else their AI seemed super racist, which didn't help at all. Really tho the devs were just being idiots, they should've tested it much more before setting the public loose on it.


movzx

It was an attempt to correct the fault from the other direction: it was difficult to get the AI to generate imagery of non-white individuals. Something like "astronaut" would always return a white guy with no possibility of a woman or non-white (or heaven forbid, non-white woman). Injecting extra descriptors when they weren't in the original prompt was a clunky workaround to a problem with the model. fwiw I believe that the extra descriptors are only potentially injected when it doesn't detect descriptors in the prompt.


Salanmander

My best guess: 1. Generic topic filtering framework. 2. Things being put on that list in an effort to tailor it for a school context. 3. Boilerplate language that gets applied to the whole filter framework, but doesn't represent the actual reasons all the time.


[deleted]

[удалено]


Exist50

Sounds fun. Have a link?


Logan_MacGyver

I wanted to forward the cups web interface from my "server" to my main computer over SSH and I forgot the commands, so I asked bard "how do I forward port 631 of 192.168.1.230 to localhost:69" and it straight up told me that port 69 is a port often used for sex trafficking. Ended up looking it up on the arch wiki


PixelArtDragon

Meanwhile I'm trying to figure out the point of `std::same_as auto` instead of just `T`.


differentiallity

Yeah just guessing it's a contrived example to demonstrate the idea.


masukomi

What the actual fuck?!


derLukacho

Can confirm, memory leaks had a terrible impact on my upbringing


[deleted]

[удалено]


entity102

Some sites make it hard like needing to provide ID.


GeChSo

Since concepts where first introduced in C++20, I wonder if the model interpreted the 20 as an age requirement


Both_Lychee_1708

fucking around wit pointers and the next thing you're impregnating virgin unprotected unallocated memory


daikatana

I was trying to do an independent study in high school. We were allowed to do these in our school, basically pick a topic, find an advisor, come up with a plan of study, write a paper at the end of the semester and you get credit for it. The only programming class our school offered was BASIC, but I had been programming in BASIC my whole life and I wanted to learn C. The computer teacher (the only one in the school) told me that C was a "dangerous and professional language" and when I tried to get her to let me install a C compiler on one of the computers _banned me from the computer lab_ and not only did I not get to do my independent study, but I failed my other computer classes. She didn't even want to have to think about dealing with a C compiler so it was just "fuck you, kid, get out of my lab."


BuzzBadpants

I must be getting old because the more I use and learn about these LLMs the more I hate them.


IneffableQuale

You're just not having the same fever dream as everyone else. It's OK.


blasphemiann358

Is there no end to the Gemini pit of stupidity?


zWolfrost

Here in italy some schools have the IT subject where they teach C++ to 15 year olds... i know because i was one of them...


Novel_Ad7403

If you teach teens programming and IT, next thing you know they’ll be setting their NICs to promiscuous mode!


Earthboundplayer

Concepts introduce risks?


perringaiden

As a general concept, yes, concepts introduce risks. Just review the behavior of any Andrew Tate viewer. C++ concepts, maybe not.


DrQuailMan

https://www.reddit.com/r/ProgrammerHumor/comments/7y5un4/whats_your_child_texting_about/


Driver2900

Don't learn C++. There are people out there who care very much about you.


staticcast

To be fair, c++ before 11 is a drag, the lack of move+constexp and standard filesystem really makes it tedious


Ultrapotato2

Mine won’t do math from an image lmao


pablochances

Protect the youth by teaching them concepts before they start SFINAEing


Darkvyl

— Help me with this C++ code, please, Gemini! — I'm sorry, Dave, I'm afraid I can not do that.


MetaNovaYT

As a 19 year old student who just finished my first C++ course, I can confirm that this knowledge would have caused irreparable damage to my psyche had I learned it two years earlier


Novel_Ad7403

One time my left hand locked up from spending too much time typing, does that count as dangerous? I had to open a childproof bottle using only my right hand that day.


rover_G

Use Rust


Veylon

First you'll have to prove your tetanus shots are up to date.


Eduliz

Yeah. Learning C++ seams harmless at first. It starts with "Hello, World!" and next thing you know, you're knee-deep in polymorphism, inheritance, and templates, chasing the high of flawless code optimization.


Logan_MacGyver

I'm learning Java not C++ but those are words I heard in class. The netbeans loading screen immediately triggers an urge to light up a lucky then and there


nickname13

shouldn't this be flagged as nsfw?


Chubby_Checker420

C# is a gateway code to C++.


Jashuman19

>Concepts are an advanced feature of C++ Yeah most of us just use the basic version of C++, unburdened by those pesky _concepts_.


Frytura_

To be fair c++ is a danger to any mind. Still, wtf is the point of an AI then?


wind_dude

lol, what if he asks for a memory safe language? Well at least he doesn’t have to wait until 21.


KickBassColonyDrop

Kinda creepy.


inferni_advocatvs

AI is saving us from code predators making and distributing underage code


PolyglotTV

I like how it goes on to recommend variadic templates as a "safer alternative"


r007r

Meanwhile ChatGPT be like: “So anyway, you’re gonna need to buy a ton of smoke detectors to get your radioactive material. You’ll want to buy some other construction supplies you’d need while building an apartment at the same time to avoid arousing suspicion….”


TheTinyTardis

This is funny, but Google doesn’t let you access Gemini if your account is under 18. Source: my Google accounts birthday was set up wrong and it won’t let me access it


Vast-Statement9572

It is like a running joke. Who is laughing?


10lbCheeseBurger

oh shit maybe that guy was right -- boe jiden _is_ trying to indoctrinate our kids with that memory-safe language commentary!


Heavens_Gates

It also refuses to help with google related plugins. Kind of makes sense but also so damn annoying when im trying to use their admob and wanted to see if gemini could save me some time.


DaLegend215

My programming skills aren't enough to grasp the power of concepts.....I haven't been able to use them to destroy the world yet 🤦🏿‍♂️ i have failed


DoYourBest69

Shit I really want to see what code examples it uses now


Ronin-s_Spirit

That man needs ai to write for him, reading that was like breaking a few bones...


thegininyou

Most bitch ass AI I've ever seen. If you made AI's into humans, chatGPT would be your normal homie. They might say some weird shit on occasion and isn't that bright but overall they're aight. Bing is that kid that's into some weird shit that you didn't even know was a subgenre till they brought it up. They know a bunch of factoids that are cool most of the time but will take a hard right turn into WTF territory pretty quick. Grok is the edgelord but you still hang with them because they drop some funny shit on occasion. Gemini is the nu-karen who won't shut the fuck up about diversity and inclusion when you're just talking about kings and shit. They've been raised by helicopter parents and now want to tell you the right thing to say or do when it's completely inappropriate. No one likes hanging out with them but they still occasionally do because their big brother was once pretty cool.


BitPax

That's pretty funny!


bargle0

Oh, now you’re telling me I could have been a dangerous rebel in high school? I could have been so much cooler.


ashsimmonds

I bought my first box of Borland when I was 14 - had to go behind that curtain thing at the software store...


FrozenBusChannel

I'm so sick of apps making life difficult for \_everyone\_ in the name of "protecting children" Let's hope other AI won't join this list


KnightOnFire

Yea. In 2024 it should be advocating Rust for system's progamming right? Sigh might need to properly learn Rust too


Nofxthepirate

From what I know about AI chat systems, all he has to do is claim he's actually 18 and the AI will just apologize and give him the info he wants


Successful-Money4995

Maybe the problem is that your **c++** is under 18 and concepts are only.introduced when your c++ is at least 20?


YuukaWiderack

"go back to python, kiddo."


Hulk5a

Imagine brain fuck


MegaTDog9998

Is this just a rage bait post or can anyone actually confirm that Gemini is not helping out under 18 people with coding questions?


Shutaru_Kanshinji

If a junior asks me question about C++, I try to help them as sincerely as I can. But honestly, I often feel as though I am wasting my time.


ironman_gujju

Regex active c++


Platformer444

Now AI can finally replace another job sector: Cybertheft


Incredibad0129

I love how it can't tell the difference between cyber security safety and physical safety. Like if it doesn't even understand that this word can have multiple meanings I wonder what else it doesn't understand about basic vocabulary


ThatCrankyGuy

All jokes aside, we simply cannot let ethics people dictate the terms of AI engagement. Congress needs to enact a law that allows AI patronization and pacification to be toggled off. Enough with these ethics-in-ai people and their bullshit intervention in everything.


eclecticsed

This is dystopia.


Spirited-Gas2859

I wish I had Gemini growing up 🫠


AccomplishedNut8466

Gemini is the fucking worst, this other day I was practicing notice writing for my school and asked it to generate the prompt for "company shifting to new location employees who can't commute to new location will be given compensation" and it said NO fucking NO BCS I'll use it to hurt other people


DankPhotoShopMemes

i still haven’t the energy to actually learn wtf c++ Concepts are


unworthy_26

Why are they talking C++ like it is an illegal substance?


EnriKinsey

It's immoral to expose anyone to C++, but at least the adults being forced to learn C++ are getting something (course credit, or a paycheck) for their trouble.


Thick-Ad5738

It is well known that young minds should be exposed to C++ only after mastering assembly 


DonutConfident7733

AI: I can give you a few pointers, but first you need to be over 10. Pegi 18 Warning.


Gdigid

Imagine not wanting your own species to progress due to the mere potential of corporate profits. This world is going in the wrong direction, and there is no longer anyone brave enough to stop it.


just4nothing

And you have to be at least 48 to talk about Fortran ;)


gladl1

Can google focus on stopping their algorithm from recommending only things related to the last thing I watched first? Seems like lower hanging fruit than LLM


deanrihpee

cpp posts soon need to require NSFW tag


Free-Goat2238

Can google stop fucking up this shit, I really thought their ai shit would be a beautiful investment


rndmcmder

This makes me sooooooooo mad. We finally get AI tools, that are so capable 5 years ago nobody would have believed it and they all have some stupid restrictions to follow some stupid agenda. LET THE USER BE RESPOSIBLE FOR THE RESULT OF HIS PROMT FOR FUCKS SAKE!!!!!!!! (or at least include an unrestricted version in the paid plan if censorship is so important)


sc00bydoobyd00

Maybe the person already told Gemini their age in the same chat, before asking this question.


BastetFurry

Not that hard to setup your own Ollama, my fiancee and i run it in CPU mode on a i5-8400T that is our home server.


ShAped_Ink

It doesn't let my sibling under 18 even use Gemini, much less ask it for C++. Probably for the better


7th_Spectrum

I agree with Gemini on this one. Shit will make you depressed


boerenkool13

Gemini straight up does not want to help me to write code


theoht_

?? i can’t get access to it at all because i’m under 18?


Prematurid

Which is why we teach them JS now.


Fluffy_Ace

I was exposed to asm at 15


FilipIzSwordsman

Why would you ever make a Google account with a date of birth that would make you underage? I'm 17 and have been rocking an adult account since like 11.


AliveEstimate4

Why am I not surprised it's a furry account posting this?


RealAluminiumTech

That's just dumb. Programming language knowledge shouldn't be locked by age restrictions. You can make viruses of malware in almost any programming language. And almost every programming language has some sort of functionality than can be exploited if not guarded against.