• Ethan
    link
    fedilink
    English
    67 months ago

    “Feeding garbage to OCR” is a really boring way of generating text. I was assuming it would be something more interesting, like creating a symbolic representation of the splatters and generating text from that. Using OCR is basically piping /dev/urandom to perl and seeing what happens. The fact that they’re valid perl programs is worth a laugh but the generation method is totally uninteresting.

    • @BatmanAoD@programming.dev
      link
      fedilink
      37 months ago

      I agree that a symbolic representation of the splatters would probably be more interesting. The whole point is that random character sequences are often valid Perl, though, so changing the generation method wouldn’t change that aspect.

      • Ethan
        link
        fedilink
        English
        07 months ago

        The whole point is that random character sequences are often valid Perl

        When I read the headline I also assumed “valid Perl program” meant it did something interesting. I was expecting to read an article about an interesting image to text conversion process that produced non-trivial Perl programs.