Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » binary - text converter
- Jeffalo
- Scratcher
1000+ posts
binary - text converter
i made this with some codes i found online
https://jeffalobob.github.io/Binary-Text/
https://jeffalobob.github.io/Binary-Text/
disclaimer: sometimes my posts are pretty critical of the scratch team (especially my older ones), but i really do scratch & scratch team. jvvg made a short essay thing about the scratch team, which is a pretty good read, if you want a different perspective for the scratch team's actions.
- MegaApuTurkUltra
- Scratcher
1000+ posts
binary - text converter
In python this is just
Why is a whole webpage hogging 40MB of RAM necessary for this again?
lambda text: ' '.join(['{:08b}'.format(ord(c)) for c in text]) lambda binary: ''.join([chr(int(b, 2)) for b in binary.split()])
Why is a whole webpage hogging 40MB of RAM necessary for this again?
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- Jeffalo
- Scratcher
1000+ posts
binary - text converter
because it looks good In python this is justlambda text: ' '.join(['{:08b}'.format(ord(c)) for c in text]) lambda binary: ''.join([chr(int(b, 2)) for b in binary.split()])
Why is a whole webpage hogging 40MB of RAM necessary for this again?
disclaimer: sometimes my posts are pretty critical of the scratch team (especially my older ones), but i really do scratch & scratch team. jvvg made a short essay thing about the scratch team, which is a pretty good read, if you want a different perspective for the scratch team's actions.
- Discussion Forums
- » Advanced Topics
- » binary - text converter