Phoenicianpirate ( @Phoenicianpirate@lemm.ee ) English14•20 hours agoI took a web dev boot camp. If I were to use AI I would use it as a tool and not the motherfucking builder! AI gets even basic math equations wrong!
Nangijala ( @Nangijala@feddit.dk ) 20•22 hours agoThis feels like the modern version of those people who gave out the numbers on their credit cards back in the 2000s and would freak out when their bank accounts got drained.
slappypantsgo ( @slappypantsgo@lemm.ee ) English6•20 hours agoHoly crap, it’s real!
GenosseFlosse ( @GenosseFlosse@feddit.org ) 8•23 hours agoBut what site is he talking about?
thickertoofan ( @thickertoofan@lemm.ee ) English5•22 hours agotaste of his own medicine
I hope this is satire 😭
RedSnt 👓♂️🖥️ ( @RedSnt@feddit.dk ) 26•1 day agoYes, yes there are weird people out there. That’s the whole point of having humans able to understand the code be able to correct it.
Chatgpt make this code secure against weird people trying to crash and exploit it ot
🌶️ - knighthawk ( @knighthawk0811@lemmy.ml ) 6•1 day agoRoger Roger
M0oP0o ( @M0oP0o@mander.xyz ) 57•1 day agoHa, you fools still pay for doors and locks? My house is now 100% done with fake locks and doors, they are so much lighter and easier to install.
Wait! why am I always getting robbed lately, it can not be my fake locks and doors! It has to be weirdos online following what I do.
TheMagicRat ( @TheMagicRat@lemm.ee ) 4•20 hours agoTo be fair, it’s both.
rekabis ( @rekabis@programming.dev ) 31•1 day agoThe fact that “AI” hallucinates so extensively and gratuitously just means that the only way it can benefit software development is as a gaggle of coked-up juniors making a senior incapable of working on their own stuff because they’re constantly in janitorial mode.
daniskarma ( @daniskarma@lemmy.dbzer0.com ) 9•22 hours agoPlenty of good programmers use AI extensively while working. Me included.
Mostly as an advance autocomplete, template builder or documentation parser.
You obviously need to be good at it so you can see at a glance if the written code is good or if it’s bullshit. But if you are good it can really speed things up without any risk as you will only copy cody that you know is good and discard the bullshit.
Obviously you cannot develop without programming knowledge, but with programming knowledge is just another tool.
FrostyCaveman ( @FrostyCaveman@lemm.ee ) 15•1 day agoSo no change to how it was before then
derpgon ( @derpgon@programming.dev ) 7•1 day agoDifferent shit, same smell
millie ( @millie@beehaw.org ) English3•1 day agoDepending on what it is you’re trying to make, it can actually be helpful as one of many components to help get your feet wet. The same way modding games can be a path to learning a lot by fiddling with something that’s complete, getting suggestions from an LLM that’s been trained on a bunch of relevant tutorials can give you enough context to get started. It will definitely hallucinate, and figuring out when it’s full of shit is part of the exercise.
It’s like mid-way between rote following tutorials, modding, and asking for help in support channels. It isn’t as rigid as the available tutorials, and though it’s prone to hallucination and not as knowledgeable as support channel regulars, it’s also a lot more patient in many cases and doesn’t have its own life that it needs to go live.
Decent learning tool if you’re ready to check what it’s doing step by step, look for inefficiencies and mistakes, and not blindly believe everything it says. Just copying and pasting while learning nothing and assuming it’ll work, though? That’s not going to go well at all.
Devanismyname ( @Devanismyname@lemmy.ca ) English1•1 day agoIt’ll just keep better at it over time though. The current ai is way better than 5 years ago and in 5 years it’ll be way better than now.
032 Mendicant Bias ( @Mendicant_Bias@feddit.uk ) English3•21 hours agoPast performance does not guarantee future results
almost1337 ( @almost1337@lemm.ee ) 7•1 day agoThat’s certainly one theory, but as we are largely out of training data there’s not much new material to feed in for refinement. Using AI output to train future AI is just going to amplify the existing problems.
zerofk ( @zerofk@lemm.ee ) 2•23 hours agoJust generate the training material, duh.
rekabis ( @rekabis@programming.dev ) 2•1 day agoThis is certainly the pattern that is actively emerging.
Devanismyname ( @Devanismyname@lemmy.ca ) English2•1 day agoI mean, the proof is sitting there wearing your clothes. General intelligence exists all around us. If it can exist naturally, we can eventually do it through technology. Maybe there needs to be more breakthroughs before it happens.
MadhuGururajan ( @MadhuGururajan@programming.dev ) English6•1 day ago“more breakthroughs” spoken like we get these once everyday like milk delivery.
Devanismyname ( @Devanismyname@lemmy.ca ) English2•1 day agoThat’s your interpretation.
GenosseFlosse ( @GenosseFlosse@feddit.org ) 1•23 hours agoTo get better it would need better training data. However there are always more junior devs creating bad training data, than senior devs who create slightly better training data.
SaraTonin ( @SaraTonin@lemm.ee ) English2•20 hours agoAnd now LLMs being trained on data generated by LLMs. No possible way that could go wrong.
cronenthal ( @cronenthal@discuss.tchncs.de ) 167•2 days agoBonus points if the attackers use ai to script their attacks, too. We can fully automate the SaaS cycle!
1024_Kibibytes ( @1024_Kibibytes@lemm.ee ) 65•2 days agoThat is the real dead Internet theory: everything from production to malicious actors to end users are all ai scripts wasting electricity and hardware resources for the benefit of no human.
Telorand ( @Telorand@reddthat.com ) 30•2 days agoSeems like a fitting end to the internet, imo. Or the recipe for the Singularity.
thickertoofan ( @thickertoofan@lemm.ee ) English3•22 hours agoI am not a bot trust me.
redd ( @redd@discuss.tchncs.de ) 15•2 days agoNot only internet. Soon everybody will use AI for everything. Lawyers will use AI in court on both sides. AI will fight against AI.
Umbrias ( @Umbrias@beehaw.org ) 10•1 day agothey’ll find a use case any day now for realsies.
Telorand ( @Telorand@reddthat.com ) 5•1 day agoIt was a time of desolation, chaos, and uncertainty. Brother pitted against brother. Babies having babies.
Then one day, from the right side of the screen, came a man. A man with a plastic rectangle.
josefo ( @josefo@leminal.space ) 2•1 day agoThat would only happen if we give power to our ai assistants to buy things on our behalf, and manage our budgets. They will decide among themselves who needs what and the money will flow to billionaires pockets without any human intervention. If humans go far enough, not even rich people would be rich, as trust funds, stock portfolios would operate under ai. If the ai achieves singularity with that level of control, we are all basically in spectator mode.
Kusimulkku ( @Kusimulkku@lemm.ee ) 5•1 day agoSomeone really should’ve replied with
My attack was built with Curson
merthyr1831 ( @merthyr1831@lemmy.ml ) English99•2 days agoAI is yet another technology that enables morons to think they can cut out the middleman of programming staff, only to very quickly realise that we’re more than just monkeys with typewriters.
alp ( @alp@lemmy.zip ) 1•22 hours agoWell I think I am a monkey with a typewriter…
Telorand ( @Telorand@reddthat.com ) 45•2 days agoYeah! I have two typewriters!
umbrella ( @umbrella@lemmy.ml ) 3•1 day agoi have a mobile touchscreen typewriter, but it isn’t very effective at writing code.
redd ( @redd@discuss.tchncs.de ) 7•2 days agoTo be fair… If this guy would have hired a dev team, the same thing could happen.
xthexder ( @xthexder@l.sw0.com ) 30•1 day agoBut then they’d have a dev team who wrote the code and therefore knows how it works.
In this case, the hackers might understand the code better than the “author” because they’ve been working in it longer.
merthyr1831 ( @merthyr1831@lemmy.ml ) English4•1 day agoTrue, any software can be vulnerable to attack.
but the difference is a technical team of software developers can mitigate an attack and patch it. This guy has no tech support than the AI that sold him the faulty code that likely assumed he did the proper hardening of his environment (which he did not).
Openly admitting you programmed anything with AI only is admitting you haven’t done the basic steps to protecting yourself or your customers.
formulaBonk ( @formulaBonk@lemm.ee ) English33•2 days agoReminds me of the days before ai assistants where people copy pasted code from forums and then you’d get quesitions like “I found this code and I know what every line does except this ‘for( int i = 0; i < 10; i ++)’ part. Is this someone using an unsupported expression?”
barsoap ( @barsoap@lemm.ee ) 1•1 day agoi <= 9
, you heathen. Next thing you’ll do isi < INT_MAX + 1
and then the shit’s steaming.I’m cooked, see thread.
formulaBonk ( @formulaBonk@lemm.ee ) English1•1 day agoIf it was correct it wouldn’t have been copied into the forums lmao
barsoap ( @barsoap@lemm.ee ) 1•1 day agoI mean
i < 10
isn’t wrong as such, it’s just good practice to always use<=
because in theINT_MAX
case you have to and everything should be regular because principle of least astonishment: That10
might become a#define FOO 10
, that then might become#define FOO INT_MAX
, each of those changes look valid in isolation but if there’s only a singlei < FOO
in your codebase you introduced a bug by spooky action at a distance. (overflow on int is undefined behaviour in C, in case anyone is wondering what the bug is).…never believe anyone who says “C is a simple language”. Their code is shoddy and full of bugs and they should be forced to write Rust for their own good.
kevincox ( @kevincox@lemmy.ml ) 4•1 day agoBut your case is wrong anyways because
i <= INT_MAX
will always be true, by definition. By your argument<
is actually better because it is consistent from< 0
to iterate 0 times to< INT_MAX
to iterate the maximum number of times.INT_MAX + 1
is the problem, not<
which is the standard to write for loops and the standard for a reason. barsoap ( @barsoap@lemm.ee ) 2•1 day agoYou’re right, that’s what I get for not having written a line of C in what 15 years. Bonus challenge: write
for i in i32::MIN..=i32::MAX
in C, that is, iterate over the whole range, start and end inclusive.(I guess the
..=
might be where my confusion came from because Rust’s..
is end-exclusive and thus like<
, but also not what you want becausei32::MAX + 1
panics). Oriel Jutty ( @barubary@infosec.exchange ) 0•1 day agofor (int i = INT_MIN; ; i++) { ... if (i == INT_MAX) break;}
barsoap ( @barsoap@lemm.ee ) 1•1 day agoWould you be bold enough to write
if (i++ == INT_MAX) break
? The result of the increment is never used, but an increment is being done, at least syntactically, and it overflows, at least theoretically, so maybe (I’m not 100% sure) the compiler could be allowed to break out into song because undefined behaviour allows anything to happen.
hperrin ( @hperrin@lemmy.ca ) English20•2 days ago“Come try my software! I’m an idiot, so I didn’t write it and have no idea how it works, but you can pay for it.”
to
“🎵How could this happen to meeeeee🎵”
bratorange ( @bratorange@feddit.org ) 9•18 hours agoIm gone print this and hang it into office
Zoop ( @Zoop@beehaw.org ) 3•1 day agoIt appears you may have accidentally a word
Gamma ( @GammaGames@beehaw.org ) English9•2 days agoBut I thought vibe coding was good actually 😂
harsh3466 ( @harsh3466@lemmy.ml ) 10•2 days agoVibe coding is a hilarious term for this too. As if it’s not just letting AI write your code.