Python, Boot, Manchester code, Security, Bad Web, Cloud risks
- EuroPython Die Threads @ YouTube. Nice talk, good jokes. Thredo @ GitHub. Also the library is nice, because it solves many of the issues, which are often extremely annoying when programming with threads for first time, and or implementing something which isn't quite trivial to implement. And the thread cancellation and deadlock / timeout stuff is just great. I've been using for computing mostly process pools because that's easy and simple to manage and works around the Global interpreter lock GIL. Support for Async-Blocking is awesome feature. Waiting for data is sleeping, why it should block other threads. kw: Python, thredo, dabeaz
- Requests is compared to the horrible urllib and httplib2 which of course do work, but are quite painful to use at times. You'll just need bit more code than would be necessary if those would be simpler to use. I don't personally use requests, if it's not required, because it's just yet another dependency to add.
- I just can't stop loving Python's f-strings Literal String Interpolation , because it's much cleaner than the other alternatives.
- Studied how to setup dynamic boot partition mirroring with GUID partition table (GPT, EFI) when using Windows Server 2016. And after that installed a few systems with that specific configuration successfully. - Job done. Some of the related processes are enjoyably complex and guaranteed to require expert. As well as probably going to fail on first try when you don't know exactly what to do, in fine detail and how to adapt the instructions to the situation.
- Also played during vacation with concurrent.futures stuff, even if I haven't actually used it for anything in production yet. - I guess I mentioned using TheadingMixIn module for one project, it was surprisingly easy after you understood the basic concepts. Also ssl wrap_socket is totally awesome. I haven't used Base Event Loop , but I'm aware hat it does in asyncio and when required I'll be using it. Probably I've slightly duplicated it's functionality when using queues and threads, in non-Pythonic way.
- Manchester code. Yet one more way to encode data, which is quite nice.
- Security, Bugs, Risks and reporting. Watched a horrifying documentary about some American companies, which basically fired everyone raising alarms about security issues, privacy flaws and so on. Their clear attitude was that it costs time and money to fix the issues. It's better to fire people whom report the problems. Also because problems aren't ever reported, there's no way to discuss the problems and fix the problems. This is quite different policy from companies which offer clear incentives for the reports. Therefore company culture can make absolute night and day between total security disaster and actually pretty good security. kw: Cyber Security, Policy, Politics, Culture, Company, Business.
- Why you shouldn't use cloud? Well, it happened. Google suddenly closed my account without any prior notice. That's exactly why I've always got multiple backups (different locations & technologies) and why I don't trust cloud services. Simultaneously locked me out of my content on Google services. That's why I've got backups of my cloud data, of course. But I'm pretty sure there's a lot of people whom don't have private backups of all the data they're storing on cloud. That's just a disaster waiting to happen. You've been warned.