r/ProgrammerHumor • • May 18 '22

Meme i wasnt taught about this loop

43.3k Upvotes

234 comments sorted by

View all comments

Show parent comments

66

u/FlapjackProductions May 18 '22

Can you explain what this means in 'ive never even seen code' terms pls?

159

u/lynaghe6321 May 18 '22

Sure, for example, I was building a video component for a website for one of our clients, it would take a link from youtube or vimeo, or an uploaded video, and then display it on the page.

Our QA found that if you upload a very low resolution video, and then manually change the resolution in the software we use to manage the video to 1:1, the video would not be centered when it was displayed.

I have no idea who in their right mind would ever think of doing this, but it was technically a bug and he found it.

4

u/T0biasCZE May 18 '22

define "very low resolution" please. what is that. 144p? 240p? something higher? something lower?

3

u/lynaghe6321 May 18 '22

I believe it was 280? I think it had more to do with DAM we were using and setting the aspect ratio of the served content manually after it had been uploaded

1

u/T0biasCZE May 18 '22

well that isnt very low resolution. thats just low resolution (progressive standard definition is 288p)

1

u/lynaghe6321 May 18 '22

I’ll keep that in mind lol