MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w3kpb4/purepythonmagic/p75ezln/?context=3
r/ProgrammerHumor • u/mezantrop • 1d ago
24 comments sorted by
View all comments
-5
"Magic"
file went from 320 bytes to 230, so impressive (massive /s). That is just sad, should be easily achievable in under 50 bytes. Not even trying.
Edit: I may have vastly overestimated how far 50 bytes goes in python, doing it 90 is actually pretty good
8 u/mikaleowiii 1d ago You mean KB ? (which therefore isn't very impressive) -2 u/QuestionableEthics42 1d ago No, but 50 bytes prob isn't actually possible in python, I overestimated how much 50 bytes is. Can be done in 90 without compressing the payload though. 4 u/mikaleowiii 1d ago I meant OP's file sizes -1 u/QuestionableEthics42 1d ago Omg I'm blind haha. That makes more sense now. I missed that is was actually kb, wow
8
You mean KB ? (which therefore isn't very impressive)
-2 u/QuestionableEthics42 1d ago No, but 50 bytes prob isn't actually possible in python, I overestimated how much 50 bytes is. Can be done in 90 without compressing the payload though. 4 u/mikaleowiii 1d ago I meant OP's file sizes -1 u/QuestionableEthics42 1d ago Omg I'm blind haha. That makes more sense now. I missed that is was actually kb, wow
-2
No, but 50 bytes prob isn't actually possible in python, I overestimated how much 50 bytes is. Can be done in 90 without compressing the payload though.
4 u/mikaleowiii 1d ago I meant OP's file sizes -1 u/QuestionableEthics42 1d ago Omg I'm blind haha. That makes more sense now. I missed that is was actually kb, wow
4
I meant OP's file sizes
-1 u/QuestionableEthics42 1d ago Omg I'm blind haha. That makes more sense now. I missed that is was actually kb, wow
-1
Omg I'm blind haha. That makes more sense now. I missed that is was actually kb, wow
-5
u/QuestionableEthics42 1d ago edited 1d ago
"Magic"
file went from 320 bytes to 230, so impressive (massive /s). That is just sad, should be easily achievable in under 50 bytes. Not even trying.
Edit: I may have vastly overestimated how far 50 bytes goes in python, doing it 90 is actually pretty good