Live data from Hacker News

93% of Paint Splatters Are Valid Perl Programs (2019)

mcmillen.dev

11–20 of 170 posts

Re: 93% of Paint Splatters Are Valid Perl Programs (2019)

#11
post #8

This is obviously just a bit of fun, but looking at the output examples, I think the OCR used may be flawed in that it's heavily optimised to produce characters used in natural language (alpha & spaces) rather than to produce e.g. operators common in code. The number of "special characters" output is extremely small. This will bias it heavily toward producing identifiers, which will be valid in most common programmin…

The examples at the bottom of the page are mostly special characters, like the valid program `;i;c;;#\\?z{;?;;fn':.;, `

Re: 93% of Paint Splatters Are Valid Perl Programs (2019)

#12

Earlier quoted context omitted.

I’m sorry the code you produced made you so unhappy EDIT: verb tense changed

Any particular reason for the insult? I don't recall saying anything bad to you.

Just a wild guess, but perhaps they read your hyperbole literally?

Re: 93% of Paint Splatters Are Valid Perl Programs (2019)

#13

Can we talk about the original tweet some? How DO we let kids be kids in this age where all the other kids wanna do is be on YouTube and TikTok?

I don't have kids myself but my I have nieces and nephews. They all play outside and do normal kid stuff. They get a little bit of screen time but their parents limit it.

Oldest one is 6 now, so not sure what that will be like going into their teen years. I feel like that's when it will be harder to get them offline but we will see

Re: 93% of Paint Splatters Are Valid Perl Programs (2019)

#16

I wonder what the equivalent result would be for Raku (aka, the language formerly known as Perl 6). By the way, the first Raku Conference is happening in a few weeks, Aug. 6–8 https://conf.raku.org

Given that Raku's design originally stems from the "strict" subset of Perl 5, this would never work. This only works when Perl runs in non-strict pre-5 mode (which is the default before 7.0).

Re: 93% of Paint Splatters Are Valid Perl Programs (2019)

#17

Can we talk about the original tweet some? How DO we let kids be kids in this age where all the other kids wanna do is be on YouTube and TikTok?

Summer camp has worked really well for us this year. The 6 y/o comes home absolutely filthy with knowledge of ground bees.

Re: 93% of Paint Splatters Are Valid Perl Programs (2019)

#18

Earlier quoted context omitted.

I’m sorry the code you produced made you so unhappy EDIT: verb tense changed

Any particular reason for the insult? I don't recall saying anything bad to you.

You said you wrote some code, and the memory of it makes you still wake up screaming. What’s the alleged insult, exactly?

Re: 93% of Paint Splatters Are Valid Perl Programs (2019)

#19

Earlier quoted context omitted.

Any particular reason for the insult? I don't recall saying anything bad to you.

Just a wild guess, but perhaps they read your hyperbole literally?

I doubt it. I looked them up (because I care about people, and don't actually want to hurt them), and it seems that Perl is a big part of their repertoire. Perl means a lot to them, and my flippant comment was probably taken as "calling their baby ugly."

So, @peteretep, you have my sincere apology. It was a flippant remark. At the time I wrote it (mid-1990s), Perl was the best way to write portable CGI code. I took the time to learn it, and got fairly good at it.

Since then, I have found my muse in other languages, but I sincerely did not want to give offense. I doubt that deleting the comment would help.

Re: 93% of Paint Splatters Are Valid Perl Programs (2019)

#20

That's a fun read. I once wrote an entire CMS in Perl. I still wake up, screaming, sometimes. [UPDATE] It appears as if my flippant remark caused upset. I am sincerely sorry that this was the case. No offense was meant. @peteretep, you have my sincere apology. It was a flippant remark. At the time I wrote it (mid-1990s), Perl was the best way to write portable server-side code. I took the time to learn it, and got fa…

I’m sorry the code you produced made you so unhappy EDIT: verb tense changed

Why do people post nasty things like this?
Post reply on HN