MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/o0ut2y/maximum_call_stack_size_exceeded/h1xwykd
r/ProgrammerHumor • u/ElectricOstrich57 • Jun 16 '21
225 comments sorted by
View all comments
860
I hope that you, like any other programmer, spent several hours writing an image manipulation app to do this recursively instead of doing it in 5 minutes by hand. And your reasoning for it is to "save time"
410 u/kris159 Jun 16 '21 Sadly they didn't, you can see 6 layers deep that the very bottom right panel is Padme's full face, the same size as the panel above it 291 u/chhuang Jun 16 '21 This is outrageous 130 u/ImposterAmongUs Jun 16 '21 It’s unfair! 95 u/groucho_barks Jun 16 '21 It's treason, then 42 u/[deleted] Jun 16 '21 Off with their head! 14 u/LSApologist Jun 16 '21 Not yet 7 u/Extension-Ad-2294 Jun 16 '21 To the plank with them. AND wish them bad tidings as they pass. 6 u/psst099 Jun 17 '21 This is outrageous 84 u/FututiRedesignuMatii Jun 16 '21 Dissapointing, it could've been resized & pasted a few more times to the point where it was a few pixels and not noticeable anymore. 113 u/HearingNo8617 Jun 16 '21 plot twist: there is a base case and it was hit 51 u/Pit_27 Jun 16 '21 Base case was op giving up 19 u/HearingNo8617 Jun 16 '21 Giving up is all of our base cases on this blessed day 7 u/Pit_27 Jun 16 '21 Amen 11 u/ReubenIsForScuba Jun 16 '21 All your base case are belong to us → More replies (1) → More replies (6) 26 u/B0n3 Jun 16 '21 Save time. For the next time 19 u/[deleted] Jun 16 '21 Shit. I hard coded the image dimensions in there, it doesn't work with this new format.....I'll just go in here and change this one line....aaaand... 81 u/returnFutureVoid Jun 16 '21 This is the way. 41 u/TheDroidNextDoor Jun 16 '21 This Is The Way Leaderboard1. u/Flat-Yogurtcloset293 475775 times.2. u/_RryanT 22744 times.3. u/max-the-dogo 8489 times...165279. u/returnFutureVoid 1 times.beep boop I am a bot and this action was performed ^automatically. 0 u/[deleted] Jun 16 '21 [deleted] 0 u/[deleted] Jun 16 '21 [deleted] 11 u/[deleted] Jun 16 '21 edited May 27 '24 one governor cooperative workable future frightening gold zephyr butter instinctiveThis post was mass deleted and anonymized with Redact 11 u/grimonce Jun 16 '21 This is the way. → More replies (3) → More replies (4) 11 u/eisaletterandanumber Jun 16 '21 Install ImageMagick then run the following for each iteration:convert img.png \( +clone -resize 50% -gravity SouthEast \) -composite img.png → More replies (1) 5 u/Prince705 Jun 16 '21 With a base case, right? → More replies (7)
410
Sadly they didn't, you can see 6 layers deep that the very bottom right panel is Padme's full face, the same size as the panel above it
291 u/chhuang Jun 16 '21 This is outrageous 130 u/ImposterAmongUs Jun 16 '21 It’s unfair! 95 u/groucho_barks Jun 16 '21 It's treason, then 42 u/[deleted] Jun 16 '21 Off with their head! 14 u/LSApologist Jun 16 '21 Not yet 7 u/Extension-Ad-2294 Jun 16 '21 To the plank with them. AND wish them bad tidings as they pass. 6 u/psst099 Jun 17 '21 This is outrageous 84 u/FututiRedesignuMatii Jun 16 '21 Dissapointing, it could've been resized & pasted a few more times to the point where it was a few pixels and not noticeable anymore. 113 u/HearingNo8617 Jun 16 '21 plot twist: there is a base case and it was hit 51 u/Pit_27 Jun 16 '21 Base case was op giving up 19 u/HearingNo8617 Jun 16 '21 Giving up is all of our base cases on this blessed day 7 u/Pit_27 Jun 16 '21 Amen 11 u/ReubenIsForScuba Jun 16 '21 All your base case are belong to us → More replies (1) → More replies (6)
291
This is outrageous
130 u/ImposterAmongUs Jun 16 '21 It’s unfair! 95 u/groucho_barks Jun 16 '21 It's treason, then 42 u/[deleted] Jun 16 '21 Off with their head! 14 u/LSApologist Jun 16 '21 Not yet 7 u/Extension-Ad-2294 Jun 16 '21 To the plank with them. AND wish them bad tidings as they pass. 6 u/psst099 Jun 17 '21 This is outrageous
130
It’s unfair!
95 u/groucho_barks Jun 16 '21 It's treason, then 42 u/[deleted] Jun 16 '21 Off with their head! 14 u/LSApologist Jun 16 '21 Not yet 7 u/Extension-Ad-2294 Jun 16 '21 To the plank with them. AND wish them bad tidings as they pass. 6 u/psst099 Jun 17 '21 This is outrageous
95
It's treason, then
42 u/[deleted] Jun 16 '21 Off with their head! 14 u/LSApologist Jun 16 '21 Not yet 7 u/Extension-Ad-2294 Jun 16 '21 To the plank with them. AND wish them bad tidings as they pass. 6 u/psst099 Jun 17 '21 This is outrageous
42
Off with their head!
14 u/LSApologist Jun 16 '21 Not yet 7 u/Extension-Ad-2294 Jun 16 '21 To the plank with them. AND wish them bad tidings as they pass. 6 u/psst099 Jun 17 '21 This is outrageous
14
Not yet
7 u/Extension-Ad-2294 Jun 16 '21 To the plank with them. AND wish them bad tidings as they pass. 6 u/psst099 Jun 17 '21 This is outrageous
7
To the plank with them. AND wish them bad tidings as they pass.
6 u/psst099 Jun 17 '21 This is outrageous
6
84
Dissapointing, it could've been resized & pasted a few more times to the point where it was a few pixels and not noticeable anymore.
113 u/HearingNo8617 Jun 16 '21 plot twist: there is a base case and it was hit 51 u/Pit_27 Jun 16 '21 Base case was op giving up 19 u/HearingNo8617 Jun 16 '21 Giving up is all of our base cases on this blessed day 7 u/Pit_27 Jun 16 '21 Amen 11 u/ReubenIsForScuba Jun 16 '21 All your base case are belong to us → More replies (1)
113
plot twist: there is a base case and it was hit
51 u/Pit_27 Jun 16 '21 Base case was op giving up 19 u/HearingNo8617 Jun 16 '21 Giving up is all of our base cases on this blessed day 7 u/Pit_27 Jun 16 '21 Amen 11 u/ReubenIsForScuba Jun 16 '21 All your base case are belong to us → More replies (1)
51
Base case was op giving up
19 u/HearingNo8617 Jun 16 '21 Giving up is all of our base cases on this blessed day 7 u/Pit_27 Jun 16 '21 Amen 11 u/ReubenIsForScuba Jun 16 '21 All your base case are belong to us → More replies (1)
19
Giving up is all of our base cases on this blessed day
7 u/Pit_27 Jun 16 '21 Amen
Amen
11
All your base case are belong to us
→ More replies (1)
26
Save time. For the next time
19 u/[deleted] Jun 16 '21 Shit. I hard coded the image dimensions in there, it doesn't work with this new format.....I'll just go in here and change this one line....aaaand...
Shit. I hard coded the image dimensions in there, it doesn't work with this new format.....I'll just go in here and change this one line....aaaand...
81
This is the way.
41 u/TheDroidNextDoor Jun 16 '21 This Is The Way Leaderboard1. u/Flat-Yogurtcloset293 475775 times.2. u/_RryanT 22744 times.3. u/max-the-dogo 8489 times...165279. u/returnFutureVoid 1 times.beep boop I am a bot and this action was performed ^automatically. 0 u/[deleted] Jun 16 '21 [deleted] 0 u/[deleted] Jun 16 '21 [deleted] 11 u/[deleted] Jun 16 '21 edited May 27 '24 one governor cooperative workable future frightening gold zephyr butter instinctiveThis post was mass deleted and anonymized with Redact 11 u/grimonce Jun 16 '21 This is the way. → More replies (3) → More replies (4)
41
1. u/Flat-Yogurtcloset293 475775 times.
u/Flat-Yogurtcloset293
2. u/_RryanT 22744 times.
u/_RryanT
3. u/max-the-dogo 8489 times.
u/max-the-dogo
..
165279. u/returnFutureVoid 1 times.
u/returnFutureVoid
beep boop I am a bot and this action was performed ^automatically.
0 u/[deleted] Jun 16 '21 [deleted] 0 u/[deleted] Jun 16 '21 [deleted] 11 u/[deleted] Jun 16 '21 edited May 27 '24 one governor cooperative workable future frightening gold zephyr butter instinctiveThis post was mass deleted and anonymized with Redact 11 u/grimonce Jun 16 '21 This is the way. → More replies (3) → More replies (4)
0
[deleted]
0 u/[deleted] Jun 16 '21 [deleted] 11 u/[deleted] Jun 16 '21 edited May 27 '24 one governor cooperative workable future frightening gold zephyr butter instinctiveThis post was mass deleted and anonymized with Redact 11 u/grimonce Jun 16 '21 This is the way. → More replies (3)
11 u/[deleted] Jun 16 '21 edited May 27 '24 one governor cooperative workable future frightening gold zephyr butter instinctiveThis post was mass deleted and anonymized with Redact
one governor cooperative workable future frightening gold zephyr butter instinctive
This post was mass deleted and anonymized with Redact
Install ImageMagick then run the following for each iteration:
convert img.png \( +clone -resize 50% -gravity SouthEast \) -composite img.png
5
With a base case, right?
860
u/jegueverde Jun 16 '21
I hope that you, like any other programmer, spent several hours writing an image manipulation app to do this recursively instead of doing it in 5 minutes by hand. And your reasoning for it is to "save time"