#CodingFail

N-gated Hacker Newsngate
2025-03-31

πŸš«πŸ”’ "ICE kicking out everyone who's not glued to their keyboard with enabled! πŸ˜‚ Need help? Contact the 'We're Sorry You Didn't Code Correctly' . πŸ“žπŸ’»"
rochesterfirst.com/rochester/i

2022-11-19

After spending 2 hours doing complex coding in #PsychoPy, the programme crashed & none of my changed were saved 😩. At least that takes care of Mondayβ€˜s to-do list πŸ€·β€β™€οΈ. #AcademicMastodon #CodingFail

JPTownleyjoshtownley
2022-11-16
FiXato (fallback)FiXato
2020-10-22

```
from hashlib import md5
md5 = None
if condition == True:
md5 = md5(local_file.read_bytes()).hexdigest()
```

It took me too long to realise why was complaining that NoneType wasn't callable...

Yes, I need sleep...

(For the non-coders or other sleep-deprived, I was overwriting the function I was calling with 'nothing' by reusing the function name as variable name...)

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst