Admin of Europe Pub
Lemmy: @tfm@europe.pub
PieFed: @tfm@piefed.europe.pub
- 69 Posts
- 45 Comments
tfm@piefed.europe.pubto Selfhosted@lemmy.world•18% of people running Nextcloud don't know what database they are usingEnglish81·1 day ago
It gets MUCH funnier over time.
import sys import time from typing import Iterable, Callable, Any class ProgressSimulator: """ A class to simulate and display the progression of a hacking process, with unnecessary abstraction and complexity for dramatic effect. """ def __init__(self, description: str = "FBI"): self.description = description self.progress_steps = [0, 20, 40, 60, 80, 100] self.messages = [ f"Starting Hack...", *[f"Hacking {self.description} {step}%" for step in self.progress_steps], f"{self.description} Hacked Successfully" ] def generate_progress(self) -> Iterable[str]: """Generates the progress messages.""" for message in self.messages: yield message def display_progress(self, delay: float = 0.5) -> None: """Displays the progress messages with a delay.""" for message in self.generate_progress(): print(message) time.sleep(delay) def execute_hack(self, callback: Callable[[str], Any] = print) -> None: """Executes the hacking process with a callback for each step.""" for message in self.generate_progress(): callback(message) def create_hacking_sequence(description: str = "FBI") -> ProgressSimulator: """Factory function to create a hacking sequence.""" return ProgressSimulator(description) def main() -> None: """Main function to orchestrate the hacking simulation.""" hacking_sequence = create_hacking_sequence() hacking_sequence.display_progress() if __name__ == "__main__": main()
You should really watch it.
tfm@piefed.europe.pubto DACH - Deutschsprachige Community für Deutschland, Österreich, Schweiz@feddit.org•An welchem Tag haben die meisten Menschen Geburtstag?English7·2 days agoWeihnachtszeit inspiriert möglicherweise zur Familiengründung
tfm@piefed.europe.pubOPto BoycottUnitedStates@europe.pub•Donald Trump posting week-old photo raises eyebrows amid health speculationEnglish2·4 days agoSure Thiel is extremely powerful. But so are others, and when Trump dies, they are all trying to fill the vacuum.
tfm@piefed.europe.pubOPto BoycottUnitedStates@europe.pub•Donald Trump posting week-old photo raises eyebrows amid health speculationEnglish13·4 days agoDepends on his political support. MAGA doesn’t really care about Vance. He isn’t able to behave like Trump (hopefully).
Billionaires are billionaires. They are all crap
tfm@piefed.europe.pubOPto BoycottUnitedStates@europe.pub•Tesla sales plunge 40% in Europe as Chinese EV rival BYD's tripleEnglish2·8 days agoA lot of corruption probably
tfm@piefed.europe.pubto Technology@lemmy.world•Tesla sales plunge 40% in Europe as Chinese EV rival BYD's tripleEnglish691·9 days agoI’m sure the free market knows what’s right /s
tfm@piefed.europe.pubto Technology@lemmy.world•Tesla sales plunge 40% in Europe as Chinese EV rival BYD's tripleEnglish62·9 days agoLet me guess, the stock did go up?
Not just that. They are also mostly responsible for deregulation which is harming our environment, extreme and wasteful consumerism, and so much more.
They are basically cancer to society.
It still has the eyeballs unfortunately
tfm@piefed.europe.pubto No Stupid Questions@lemmy.world•My brother got arrested for a dime bag. His picture got put up on the jails website. And they advertise. So shouldn't my brother get paid at least a little for providing clicks?English11·9 days agoTo promote it to politicians probably
tfm@piefed.europe.pubto Technology@lemmy.world•Uncomfortable Questions About Android Developer VerificationEnglish1·9 days agoTrue
Will check that
I cared enough to copy and paste it from Reddit. Thought it was funny and that it should be in the Fediverse.
tfm@piefed.europe.pubto Technology@lemmy.world•Uncomfortable Questions About Android Developer VerificationEnglish1·9 days agoBut not everyone cares, unfortunately. The masses will always be exposed to this shit.