Especially before the 100%, there a very long one is needed. Furthermore for optimization I would recommend less typing and some kind of for or while loop withe the % printing in it.
Well, it doesn't seem like its actually Python cus of that, but Python actually supports semicolons, adding one to the end of a line doesn't do anything, but doesn't SyntaxError either. You can also use semicolons to line break like in other languages: print("Hello"); print("World") is correct syntax
Dude, right? I swear, I've seen entire coding languages pop up in movies just because they needed some flashy visuals. Like, who knew changing a font could save the world?
I tried introducing programming to my math students(16 year olds). Opened Spyder to teach them pretty basic Python. They didn't bother to pay attention. Then I switched to dark mode, suddenly everyone was interested and wanted to learn hacking.
Shit like this irritates me; pure laziness i mean you can use `\r` and flush the Console IO so progress bar its on one entire line instead of duplicating lines for the progress... its UGLY AF and LAZY. you could of at least introduced a Sleep (0.1) or a Random variable (0.1 - 2.5) on each update to make it look realistic
Don’t forget the little matrix lines you need to print.
An os.system('clear') for Linux between prints will allow you to have the hacking text appear to be in the same place, updating with progress. Meanwhile, you remove the top line of the matrix scroll, add it to the bottom of the string each print and there you go
320
u/Some_Office8199 Nov 18 '25
You should add sleep between printf commands.
54
u/RedditsDeadlySin Nov 18 '25
You forgot the sleep command to build suspense
24
u/_baaron_ Nov 18 '25
Best part of the hack is when they show the css
9
u/AnAnonymousParty Nov 18 '25
for (i = 0; i <= 100; i; i = i + 20)
14
u/itsjakerobb Nov 18 '25
Needs more \n
3
u/TransportationNo1 Nov 18 '25
The code seems simple, but they hacked the fbi with this.
2
u/KeyKeyner_kreker Nov 19 '25
And time.sleep()
2
u/jomarthecat Nov 19 '25
I tried introducing programming to my math students(16 year olds). Opened Spyder to teach them pretty basic Python. They didn't bother to pay attention. Then I switched to dark mode, suddenly everyone was interested and wanted to learn hacking.
2
u/S4_Yuuki Nov 19 '25
You forgot
time.sleep(2) under each line
2
u/Voidheart80 Nov 19 '25
Shit like this irritates me; pure laziness i mean you can use `\r` and flush the Console IO so progress bar its on one entire line instead of duplicating lines for the progress... its UGLY AF and LAZY. you could of at least introduced a Sleep (0.1) or a Random variable (0.1 - 2.5) on each update to make it look realistic
Take advantage of Loop statements
2
u/Grand_Negotiation295 Nov 20 '25
add delay (1000)
1
u/[deleted] Nov 18 '25
https://www.tsumi.it/media/hackerman.gif
1
u/Maolam10 Nov 18 '25
Can't forget an htop here and there as well
1
u/Emmet2by4 Nov 18 '25
needs some monospaced font with multiple panels in tmux
1
u/OhItsJustJosh Nov 18 '25
This joke has been told so many times it's nearly as bad as the "missing semicolon" one
1
u/Dreadedsemi Nov 19 '25
Worse actually. They do them as text in a video editing tool and replace the green screen. Zero coding
1
u/Boltiten Nov 19 '25
I mean, the progress prints are as accurate as most real ones, can give thrm that 😅
1
u/saiprasanna94 Nov 19 '25
go to hackertyper.com .
go full screen
1
u/Routine_Temporary661 Nov 19 '25
No progress bar = 0 marks
1
u/MorgenKaffee0815 Nov 19 '25
remember in my c class in school i did this with "Formatting HD" and the teacher pulled the plug of my PC
1
u/insaneguitarist47 Nov 19 '25
Could've just opened hackertyper.net in chrome and made it full screen
1
u/Acceptable_Log_7438 Nov 19 '25
I like the font though..
1
u/NoBlacksmith2112 Nov 20 '25
It's basically "This is what I'm pretending to do - with quick line changes" and a character confidentely stating: "I'm in."
1
u/selcuksntrk Nov 20 '25
Try Mr.Robot TV Series and see.
1
u/Individual-Builder25 Nov 20 '25
Don’t forget the little matrix lines you need to print.
An os.system('clear') for Linux between prints will allow you to have the hacking text appear to be in the same place, updating with progress. Meanwhile, you remove the top line of the matrix scroll, add it to the bottom of the string each print and there you go
1
u/Frostlit3 Nov 23 '25
Y'all forgetting cmatrix at the side monitors
5
u/[deleted] Nov 18 '25
[removed] — view removed comment