News for hackers. Stuff that matters.
Re:Raku: A Language for Gremlins by flir on Monday August 07, 2023 @08:16PM (#37042788)
I thought about that. I thought the compiler could error with "Insufficient data for meaningful answer" until you'd added enough digits that the sequence was unambiguous.

Then I tried it in OEIS and there are too many sequences that start [1,2,3,4,5,] - I think we may be stuck with generators and yield. But they're not exactly delightful.

Re:Raku: A Language for Gremlins by Sharlin on Tuesday August 08, 2023 @05:08AM (#37046326)
> "Insufficient data for meaningful answer"

Nice reference, by the way.

Re:Raku: A Language for Gremlins by kragen on Tuesday August 08, 2023 @05:01PM (#37055401)
oh fuck, i missed that
Re:Raku: A Language for Gremlins by mst on Tuesday August 08, 2023 @08:00AM (#37047638)
Convert https://trout.me.uk/data.jpg to sixels and have the compiler emit that?
Re:Raku: A Language for Gremlins by flir on Tuesday August 08, 2023 @05:46PM (#37055888)
> sixels

Thanks! My build scripts just got that little bit more entertaining (for me. not for the other devs).

Re:Raku: A Language for Gremlins by kragen on Tuesday August 08, 2023 @04:43PM (#37055187)
you could special-case arithmetic sequences