Remember to participate in our weekly votes on subreddit rules! Every Tuesday is YOUR chance to influence the subreddit for years to come!
Read more here, we hope to see you next Tuesday!
For a chat with like-minded community members and more, don't forget to join our Discord!
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
from apple.ios.app_guidelines.dont_exit_programatically import explanation
from forgetfulness import *
Apparently the app exiting could be interpreted as a crash. If your app has a way to close without the user pressing Home, it'll get rejected from the App Store.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
[A young Michael Scott ("The Office", US) shakes the hand of his boss, Ed Truck. Ed stands head and shoulders above Michael, he smiles proudly as Michael looks on nervously/worriedly. Each person is labelled:]
Ed: My manager appreciating me for creating a button that closes the app
making transcripts follow that rule would make them not be transcripts anymore, since the text wouldn't be the original. I think it's thoughtful to make them an exception
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
I remember reading about a well known game from the late 90's early 00's where during development it would always crash and give an error message whenever it was closed. The devs couldn't figure out how to fix it, so they instead changed the error message to say something like "Thank you for playing our game!".
Warning: memory has been depreciated and some features may not be implemented with your current version, such as variable names of game objects. If anyone remembers what game I'm talking about, please provide a hotfix to the above code.
I lately had to put a kill command for MS access into a .bat because the access tool we are using to track time crashes so much and freezes to often that I can’t be arsed to open the task manager every time. Even closing it normally takes ages..
from highschool import story
from features import bug
When I was in high school I took a game programming class, which was pretty rad, and by the time our capstone project rolled around, one of my friends hadn't finished all the levels.
"No problem, I'll take care of this for you."
I wrote a function that would shell out shutdown -f or something equivalent to the terminal so his computer would simply and catastrophically crash DURING his presentation but before the part he never actually completed. I felt pretty proud, although I'm sure nobody bought it lol.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
•
u/AutoModerator Jun 30 '23
Remember to participate in our weekly votes on subreddit rules! Every Tuesday is YOUR chance to influence the subreddit for years to come! Read more here, we hope to see you next Tuesday!
For a chat with like-minded community members and more, don't forget to join our Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
206
u/huxx__ Jun 30 '23
import UnexpectedFeatureit's not a bug, but a feature.74
u/Quirky-Stress-823 Jun 30 '23
Hope you're not an iOS developer, since having a button to close the app is against the rules.
616
u/DevilEmpress Jun 30 '23
Now you just change the button to a little x
208
u/Salanmander Jun 30 '23
Thank you for playing Wing Commander!
56
u/Bee-Aromatic Jun 30 '23
from story import acceptance_criteriaThe requirements said the button had to close the app. They did not specify how. That’s an implementation detail.
46
u/astheriae Jun 30 '23 edited Jun 30 '23
Image Transcription: Meme
[A young Michael Scott ("The Office", US) shakes the hand of his boss, Ed Truck. Ed stands head and shoulders above Michael, he smiles proudly as Michael looks on nervously/worriedly. Each person is labelled:]
Ed: My manager appreciating me for creating a button that closes the app
Michael: Button that crashes the app
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!
6
u/Color_blinded Jun 30 '23
I remember reading about a well known game from the late 90's early 00's where during development it would always crash and give an error message whenever it was closed. The devs couldn't figure out how to fix it, so they instead changed the error message to say something like "Thank you for playing our game!".
6
u/[deleted] Jul 01 '23
Damn
3
u/GoingToSimbabwe Jun 30 '23
I lately had to put a kill command for MS access into a .bat because the access tool we are using to track time crashes so much and freezes to often that I can’t be arsed to open the task manager every time. Even closing it normally takes ages..
7
u/PVNIC Jun 30 '23
import I refuse to succumb to this python tyranny!"And it also stores a file with the stacktrace when I clicked the button? That's a great feature, good thinking!"
2
u/RedJaVa Jul 01 '23
You're welcome guys
1
u/[deleted] Jun 30 '23
1
u/__noodlejs__ Jul 01 '23
When I was in high school I took a game programming class, which was pretty rad, and by the time our capstone project rolled around, one of my friends hadn't finished all the levels.
"No problem, I'll take care of this for you."
I wrote a function that would shell out
shutdown -for something equivalent to the terminal so his computer would simply and catastrophically crash DURING his presentation but before the part he never actually completed. I felt pretty proud, although I'm sure nobody bought it lol.1
u/LoveConstitution Jul 02 '23
Unplug the conputer before demo
1
u/dashun090909 Jul 02 '23
import intendedThe crash works faster than my actual attempt at a button that closes the app
1
u/[deleted] Jul 04 '23
I remember programming a microcontroller, and wanting a button to reset it, but i could not be arsed to look up how to do it so i just divided by 0;
-3
u/[deleted] Jul 01 '23
import fuckThisSubTired of this bullshit
0
u/[deleted] Jun 30 '23
[deleted] — view deleted comment
1
u/[deleted] Jun 30 '23
[removed] — view removed comment
1
u/[deleted] Jun 30 '23
[removed] — view removed comment
1
u/[deleted] Jun 30 '23
[removed] — view removed comment
1
u/[deleted] Jun 30 '23
[removed] — view removed comment
1
u/[deleted] Jun 30 '23
[removed] — view removed comment
1
u/[deleted] Jun 30 '23 edited Jun 30 '23
[removed] — view removed comment
1
u/[deleted] Jun 30 '23
[removed] — view removed comment
1
u/[deleted] Jun 30 '23
[removed] — view removed comment
1
u/[deleted] Jul 01 '23
[removed] — view removed comment
1
u/[deleted] Jul 01 '23
[removed] — view removed comment
1
u/[deleted] Jul 01 '23
[removed] — view removed comment
1
u/[deleted] Jul 01 '23 edited Jul 02 '23
[removed] — view removed comment
1
u/[deleted] Jul 01 '23
[removed] — view removed comment
1
u/[deleted] Jul 02 '23
[removed] — view removed comment
0
u/[deleted] Jul 01 '23
[deleted] — view deleted comment