MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/b61snk/that_famous_function/ejimhrd
r/ProgrammerHumor • u/Synedh • Mar 27 '19
176 comments sorted by
View all comments
Show parent comments
28
Pure random guess but perhaps there was an off by one (or more) when parsing the parameter string, which resulted in:
command = "minecraft.exe --ram=8096" args = { "ram": "809" } command = "minecraft.exe --ram=8096 #yoloswag" args = { "ram": "8096", "#yoloswa": null }
4 u/H_Psi Mar 27 '19 and I needed to allocate more ramdedicated ram, you say? 4 u/Jacoman74undeleted Mar 27 '19 Deditated wam you say? 2 u/PAT_The_Whale Mar 28 '19 A deditated wamboghini you say? 1 u/WeAreABridge Mar 27 '19 Maybe. I have no idea.
4
and I needed to allocate more ram
dedicated ram, you say?
4 u/Jacoman74undeleted Mar 27 '19 Deditated wam you say? 2 u/PAT_The_Whale Mar 28 '19 A deditated wamboghini you say?
Deditated wam you say?
2 u/PAT_The_Whale Mar 28 '19 A deditated wamboghini you say?
2
A deditated wamboghini you say?
1
Maybe. I have no idea.
28
u/git-fucked Mar 27 '19
Pure random guess but perhaps there was an off by one (or more) when parsing the parameter string, which resulted in: