cronenthal ( @cronenthal@discuss.tchncs.de ) 177•14 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 ) 75•14 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 ) 34•14 days agoSeems like a fitting end to the internet, imo. Or the recipe for the Singularity.
redd ( @redd@discuss.tchncs.de ) 16•14 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•14 days agothey’ll find a use case any day now for realsies.
Telorand ( @Telorand@reddthat.com ) 5•14 days 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.
thickertoofan ( @thickertoofan@lemm.ee ) English3•13 days agoI am not a bot trust me.
josefo ( @josefo@leminal.space ) 2•13 days 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 ) 6•13 days agoSomeone really should’ve replied with
My attack was built with Curson
merthyr1831 ( @merthyr1831@lemmy.ml ) English104•14 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.
Telorand ( @Telorand@reddthat.com ) 48•14 days agoYeah! I have two typewriters!
umbrella ( @umbrella@lemmy.ml ) 3•13 days agoi have a mobile touchscreen typewriter, but it isn’t very effective at writing code.
redd ( @redd@discuss.tchncs.de ) 7•14 days agoTo be fair… If this guy would have hired a dev team, the same thing could happen.
xthexder ( @xthexder@l.sw0.com ) 32•14 days 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•13 days 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.
alp ( @alp@lemmy.zip ) 1•13 days agoWell I think I am a monkey with a typewriter…
M0oP0o ( @M0oP0o@mander.xyz ) 65•13 days 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•13 days agoTo be fair, it’s both.
formulaBonk ( @formulaBonk@lemm.ee ) English33•14 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•13 days 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•14 days agoIf it was correct it wouldn’t have been copied into the forums lmao
barsoap ( @barsoap@lemm.ee ) 1•14 days 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 ) 5•13 days 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•13 days 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•13 days agofor (int i = INT_MIN; ; i++) { ... if (i == INT_MAX) break;}
barsoap ( @barsoap@lemm.ee ) 1•13 days 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.
rekabis ( @rekabis@programming.dev ) 32•13 days 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.
FrostyCaveman ( @FrostyCaveman@lemm.ee ) 17•13 days agoSo no change to how it was before then
derpgon ( @derpgon@programming.dev ) 9•13 days agoDifferent shit, same smell
daniskarma ( @daniskarma@lemmy.dbzer0.com ) 11•13 days 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.
millie ( @millie@beehaw.org ) English5•13 days 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 ) English2•13 days 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.
almost1337 ( @almost1337@lemm.ee ) 9•13 days 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.
rekabis ( @rekabis@programming.dev ) 2•13 days agoThis is certainly the pattern that is actively emerging.
Devanismyname ( @Devanismyname@lemmy.ca ) English2•13 days 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 ) English7•13 days ago“more breakthroughs” spoken like we get these once everyday like milk delivery.
Devanismyname ( @Devanismyname@lemmy.ca ) English2•13 days agoThat’s your interpretation.
MadhuGururajan ( @MadhuGururajan@programming.dev ) English1•12 days agothat’s reality. Unless you’re too deluded to think it’s magic.
Devanismyname ( @Devanismyname@lemmy.ca ) English1•12 days agoNo i meant to say you’re interpretation of what I said.
zerofk ( @zerofk@lemm.ee ) 2•13 days agoJust generate the training material, duh.
032 Mendicant Bias ( @Mendicant_Bias@feddit.uk ) English3•13 days agoPast performance does not guarantee future results
GenosseFlosse ( @GenosseFlosse@feddit.org ) 1•13 days 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•13 days agoAnd now LLMs being trained on data generated by LLMs. No possible way that could go wrong.
RedSnt 👓♂️🖥️ ( @RedSnt@feddit.dk ) 28•13 days 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.
interdimensionalmeme ( @interdimensionalmeme@lemmy.ml ) 20•13 days agoChatgpt make this code secure against weird people trying to crash and exploit it ot
🌶️ - knighthawk ( @knighthawk0811@lemmy.ml ) 6•13 days agoRoger Roger
Nangijala ( @Nangijala@feddit.dk ) 22•13 days 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.
PeriodicallyPedantic ( @PeriodicallyPedantic@lemmy.ca ) 21•13 days agoI hope this is satire 😭
hperrin ( @hperrin@lemmy.ca ) English20•14 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🎵”
Phoenicianpirate ( @Phoenicianpirate@lemm.ee ) English17•13 days 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!
KyuubiNoKitsune ( @KyuubiNoKitsune@lemmy.blahaj.zone ) 4•12 days agoCan’t expect predictive text to be able to do math. You can get it to use a programming language to do it tho. If you ask it in a programmatic way it’ll generate and run it’s own code. Only way I got it to count the amount of r’s in strawrbrerry.
rmuk ( @rmuk@feddit.uk ) English3•12 days agoI love strawrbrerry mllilkshakes.
slappypantsgo ( @slappypantsgo@lemm.ee ) English1•12 days agoAt the liberry!
KyuubiNoKitsune ( @KyuubiNoKitsune@lemmy.blahaj.zone ) 1•12 days agoWay better than wrasprbrerry
bratorange ( @bratorange@feddit.org ) 9•13 days agoIm gone print this and hang it into office
Zoop ( @Zoop@beehaw.org ) 3•13 days agoIt appears you may have accidentally a word
Gamma ( @GammaGames@beehaw.org ) English9•14 days agoBut I thought vibe coding was good actually 😂
harsh3466 ( @harsh3466@lemmy.ml ) 10•14 days agoVibe coding is a hilarious term for this too. As if it’s not just letting AI write your code.
GenosseFlosse ( @GenosseFlosse@feddit.org ) 8•13 days agoBut what site is he talking about?
slappypantsgo ( @slappypantsgo@lemm.ee ) English6•13 days agoHoly crap, it’s real!
thickertoofan ( @thickertoofan@lemm.ee ) English5•13 days agotaste of his own medicine