• 0 Posts
  • 38 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle


  • UTF-8 is an encoding for unicode, that means it’s a way of representing a unicode string as actual bytes on a computer.

    It is variable length and works by using the first bits of each byte to indicate how many bytes are are needed to represent the current character.

    Python also uses an encoding, as you describe in the article, but it’s different to UTF-8. Unlike unicode, all characters in Python’s representation of the unicode string use the same number of bytes, which is the maximum that any individual unicode character in the string needs.

    I’d probably mess up a more detailed explanation of UTF-8 or Python’s representation, so I’ll let you look into how they work in more detail if you’re interested.








  • It probably really depends on the project, though I’d probably try and start with the tests that are easiest/nicest to write and those which will be most useful. Look for complex logic that is also quite self-contained.

    That will probably help to convince others of the value of tests if they aren’t onboard already.







  • Of the 1,723 adults surveyed across the UK, 73% said technology companies should, by law, have to scan private messaging for child sexual abuse and disrupt it in end-to-end encrypted environments.

    Found this interesting. I found the survey results here: https://docs.cdn.yougov.com/68pn2b6b57/NSPCC_OnlineSafetyBill_230427_W.pdf

    The exact question I believe is being referred to was:

    And do you think technology companies should or should not be required by law to use accredited technology to identify child sexual abuse in end-to-end encrypted messaging apps?

    This seems like a really bad question, since it implies a coexistence of end to end encryption and big tech companies being able to read people’s messages, which doesn’t really make sense (or at least requires more clarification on what that would mean). The question as it is is basically “do you think child sexual abuse is bad”.