this post was submitted on 08 Apr 2025
488 points (98.2% liked)

Programmer Humor

34929 readers
214 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Bye bye stack was nice knowing you.

you are viewing a single comment's thread
view the rest of the comments
[–] pineapplelover@lemm.ee 1 points 4 days ago (1 children)

Would it be an infinite file then? I guess unless you restrain the max file size. But as you're zooming in, it will keep making more microscopic image, it's kind of like a function that keeps approaching x value yet never reached it.

My brain hurts

[–] hihi24522@lemm.ee 4 points 4 days ago

Well the svg file itself wouldn’t be, but whatever tries to render the image might think the file is infinite since it’d loop around forever. Come to think of it, I’d imaging there are probably safeguards in place to prevent svg files like this hypothetical one from being opened because they’d run as an infinite loop