def random_python_joke():
    """Return a random Python-specific joke."""
    return random.choice([
        "Why did the Python live on land? Because it was above C-level!",
        "import antigravity",
        "Why did the list break up with the tuple? Because it wanted more space.",
        "Why do Python devs prefer snakes? They already know how to handle exceptions.",
        "Why did the function get a promotion? It had a lot of class."
    ])

def random_stackoverflow_joke():
    """Return a random Stack Overflow joke."""
    return random.choice([
        "Stack OverflowError: You have reached the end of the internet.",
        "Why did the developer go to Stack Overflow? To overflow their stack.",
        "Stack Overflow: Where your question is marked duplicate before you finish typing.",
        "Stack Overflow: Come for the answers, stay for the snarky comments."
    ])

def random_commit_message():
    """Return a random funny commit message."""
    return random.choice([
        "Fixed a bug you never knew existed.",
        "It compiles. Ship it!",
        "Here be dragons.",
        "I have no idea what I'm doing.",
        "This is not the commit message you are looking for."
    ])
"""Jokes, programmer humor, and random funnies."""
import random

def random_joke():
    """Return a random joke."""
    return random.choice([
        "Why do programmers prefer dark mode? Because light attracts bugs!",
        "Why do Java developers wear glasses? Because they don't see sharp.",
        "How many programmers does it take to change a light bulb? None, that's a hardware problem!",
        "A SQL query walks into a bar, walks up to two tables and asks: 'Can I join you?'",
        "There are only 10 types of people in the world: those who understand binary and those who don't.",
        "To understand recursion, you must first understand recursion.",
        "I would tell you a UDP joke, but you might not get it.",
        "Why did the developer go broke? Because he used up all his cache.",
        "Why do Python programmers have low self-esteem? Because they're constantly comparing their self to others.",
        "Why did the function return early? Because it had a date!"
    ])

def random_programmer_joke():
    """Return a random programmer joke."""
    return random_joke()

def random_404_message():
    """Return a random 404 error message."""
    return random.choice([
        "404: Joke not found.",
        "404: Sense of humor missing.",
        "404: The punchline escaped.",
        "404: Programmer on coffee break.",
        "404: This is not the joke you're looking for."
    ])

def excuse_for_bug():
    """Return a random excuse for a bug."""
    return random.choice([
        "It works on my machine.",
        "That's a feature, not a bug.",
        "I thought you were handling that.",
        "I must have missed that email.",
        "I was just about to do that.",
        "The code was fine yesterday.",
        "It’s a hardware issue.",
        "It’s a known issue.",
        "It’s intermittent.",
        "It’s a Heisenbug."
    ])

def fortune_cookie():
    """Return a random fortune cookie message."""
    return random.choice([
        "You will debug a bug nobody else can find.",
        "A new framework will appear. Ignore it.",
        "Your code will pass all tests. Eventually.",
        "Beware of off-by-one errors.",
        "You will inherit legacy code."
    ])
