Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
mage_of_dragons
@mage_of_dragons@mastodon.social  ·  activity timestamp 3 months ago

Due to a rise of vibecoding, I have invented a simple detector script, that can determine whether some code was written by AI or not:

bash<br/>#!/bin/bash<br/>set -euo pipefail<br/>IFS=$&#39;\n\t&#39;</p><p>filename=&quot;${$1:?please provide a filename}&quot;<br/>if [[ &quot;$filename&quot; ~= *.rs ]]<br/>then<br/> echo &quot;Not AI!&quot;<br/> exit 0<br/>fi</p><p>echo &quot;AI!&quot;<br/>exit 1<br/>

#rust #rustlang #ai #bash

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.13 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login