Skip to content

Plain Text - Dylan Beattie - NDC Oslo 2021

2022 54 min NDC Conferences en YouTube

Software is complicated. Machine learning, microservice architectures, message queues... every few months there's another revolutionary idea to consider, another framework to learn. And underneath so many of these amazing ideas and abstractions is text. When you work in software, you spend your life working with text. Some of those text files are source code, some are configuration files, some of them are documentation. Editors, revision control systems, programming languages - everything from C# and HTML to Git and VS Code is based on the idea of "plain text files". But... what if I told you there's no such thing? When we say something is a "plain text file", we're relying on a huge number of assumptions - about operating systems, editors, file formats, language, culture, history... and, most of the time, that's OK. But when it goes wrong, "plain text" can lead to some of the weirdest bugs you've ever seen... why is there Chinese in the event logs? Why is the city of Aarhus in the wrong place? And why does Magnus Mårtensson always have trouble getting into the USA? Join Dylan Beattie for a fascinating look into the hidden world of text files - from the history of mechanical teletypes to encodings, collations and code pages. We'll look at some memorable bugs, some golden rules for working with plain text - and we'll even find out the story behind the mysterious phrase "pike matchbox" and what it has do with driving in Belarus. Check out more of our featured speakers and talks at https://ndcconferences.com/ https://ndcoslo.com/

Chapters

  1. 0:00 Start
  2. 0:32 Intro
  3. 3:19 The Cooking Wheatstone Telegraph System
  4. 5:48 Trinary Encoding
  5. 6:51 International Morse Code
  6. 10:58 Carriage Return
  7. 16:03 Journey with Plain Text
  8. 17:41 Code Page 437
  9. 20:05 8-Bit Encoding
  10. 20:46 The Harry Potter Envelope
  11. 24:26 Unicode Consortium
  12. 30:46 Danish Spelling Reform
  13. 34:40 Normalization Forms
  14. 35:22 Inline Strings
  15. 41:29 Utf-8 Encoding
  16. 43:05 Emoji
  17. 46:09 Flags
  18. 46:23 Regional Symbol Indicators
  19. 46:46 The Alphabetical Tags
  20. 47:32 Republic of China
Channel
NDC Conferences
Views
225