TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #884 · 5.10

Роскосмос пару дней назад опубликовал отчёт о том, почему упала "Луна-25". Там конечно канцелярит, но можно примерно понять, что двигатель коррекции получил неверные данные от акселерометра: из-за возможного попадания в один массив данных команд с различными приоритетами их исполнения прибором Это очень похоже на программную ошибку, а это моя сфера, и я решил над ситуацией поразмыслить. Хейтеры сразу стали строчить комментарии в стиле "Ололо, наняли каких-то идиотов, которые простейшие тесты не провели". Тут обычно справедливо вспоминают аварию с европейской ракетой Ариан-5 в 1996 году. Там буквально из-за пары строчек кода в результате неправильного приведения числовых типов ракета за 7 млрд баксов развалилась на куски в воздухе. Бывает. Что касается Роскосмоса, при всей его сомнительной репутации, объяснение "Дураки не провели тесты" звучит лично для меня неправдоподобно. На мой личный взгляд возможны два варианта: 1. Если в описании ошибки слово "приоритет" обозначает какой-то признак внутри объекта команды, значит, на входе в приёмный модуль эти команды не были отфильтрованы. Выглядит как грубая ошибка, целый логический блок упущен. Вряд ли этот блок вообще не написан, скорее всего он не выполнился. Такое бывает, если в тестовой среде есть какое-то условие, которого нет в рабочей, и именно это условие отвечает за выполнение участка кода. Сталкивался с таким миллион раз. Самое дикое из последнего: код парсит эксель-таблицу с числами. Разработчик написал, запустил проверил, прогнал тесты, всё ок. Отправляем в прод — все числа будто бы рандомно меняются на другие. Запускаем снова — у всех разработчиков функционирует нормально, а в проде на сервере нет. Таблица одна и та же. Можете подумать, почему так. Ответ: у разработчиков стоит русская локаль и десятичный разделитесь это запятая, а на проде в докере точка. При парсинге на проде запятая уже интерпретируется как разделитель тысячных разрядов. 2. Куда вероятнее, что слово "приоритет" в описании ошибки обозначает время, а, значит, список команд просто не был отсортирован, и в обработчик уже после актуальных значений попали какие-нибудь начальные нулевые данные, сбившие логику. По косвенному описанию проблемы очень похоже именно на это. Значит, на тестах всегда порядок возникновения команд соответствовал порядку их прихода, а в реальности перестал соответствовать. Вообще, работать с железом очень сложно. Какую-нибудь схемку заглючило от холода, она задержала ответ от датчика на миллисекунду, и всё. Никто не знал, что такая проблема возможна, пока она не возникла. Мне рассказывали о таком случае: юзер логинится на сайт и иногда логин проходит, а иногда нет. Логин и пароль те же самые. Просто в случайные моменты времени ему возвращают токен авторизации, а в другие моменты времени ошибку 403. Никакой закономерности нет вообще. Нет зависимости от времени суток и даты. Сервер точно работает стабильно и не падает все 100% времени. Почему так может быть? Ответ: у сервиса авторизации два инстанса, перед которыми балансировщик нагрузки. В одном инстансе данные для авторизации есть, в другом нет. Балансировщик при примерно одинаковой нагрузке включает просто случайный выбор между ними. В общем, программисты иногда допускают такие косяки, что какая-то мелочь может привести к серьёзной аварии. Это я вам говорю как программист, который пишет для атомных станций :) #dev

Hashtags

Резултати

Намерени 14 подобни публикации

Търсене: #pycon

当前筛选 #pycon清除筛选
djangoproject

@djangoproject · Post #587 · 29.03.2018 г., 06:09

https://us.pycon.org/2018/events/edusummit/ In 2018, #PyCon will be holding its sixth annual Python Education Summit. The Summit is a gathering of teachers and educators focused on bringing coding literacy, through Python, to as broad a group of audiences as possible. We invite educators from all venues to consider joining the discussion, share insights, learn new techniques and tools and generally share their passion for education. We are looking for educators from many venues: authors; schools, colleges, universities; community-based workshops; online programs; and government. Not only will we have a wide array of full-blown talks, we will also have a round of lightning talks!

Hashtags

djangoproject

@djangoproject · Post #419 · 20.08.2017 г., 09:25

https://in.pycon.org/2017/ #PyCon India, the premier conference in India on using and developing the Python programming language is conducted annually by the Python developer community. It attracts the best Python programmers from across the country and abroad. 2nd-3rd Nov, Workshop/Devsprints 4th-5th Nov, Conference Days 🔷Data Analysis and Visualization - Data Analysis and Visualization 🔷Standard library - Python Standard library features, usage 🔷Python 3k - Features, Python 2 to 3 migration experience, Writing compatible 2 and 3 code 🔷Web Development - Web Development, API design etc ... 🔷Infrastructure - Automation, Deployment 🔷Network Programming - Socket programming, Async IO, Twisted, Gevent 🔷Testing - Unit Testing, Selenium, py.test, Nose 🔷Security - Web Security, Server Security, Cryptography, Encryption 🔷Scientific Computing - Scientific/Numeric Libraries 🔷Concurrency - Parallel Processing, Async IO 🔷Embedded Python - Embedded Python, Device Interfacing, Robotics, Raspberry Pi, Arduino 🔷Core Python - Language Features, Python Implementations, Standard Library, Algorithms, C APIs

Hashtags

djangoproject

@djangoproject · Post #417 · 20.08.2017 г., 04:41

https://pune.pycon.org/2018/ Getting Involved #PyCon Pune is a community event and is volunteer-driven. People from the community come forward to volunteer and help make the conference better. Anybody attending PyCon Pune is welcome to volunteer, but you must be registered to volunteer.

Hashtags

djangoproject

@djangoproject · Post #416 · 20.08.2017 г., 04:37

https://pune.pycon.org/2017/ 🔸[Writing Beautiful Code] by Anand Chitipothu 🔸[You can help develop Python - and you should!] by Stephen Turnbull 🔸[Writing Beautiful Code] by Anand Chitipothu 🔸[Hacking Mailing Lists - The Mailman 3 API Ecosystem] by Florian Fuchs 🔸[Pagure: Past, Present and Future] by Farhaan Bukhsh 🔸[Create an impact with "Good Documentation"] by Vidya Iyengar 🔸[Testing native binaries using CFFI] by Noufal Ibrahim 🔸[i18n-ise Django Apps] by Sundeep Anand 🔸[Keynote by John 'warthog9' Hawley] by Kushal Das 🔸[Keynote by Nick Coghlan] by Kushal Das 🔸[Building trust in releases] by Nigel Babu 🔸[Django on Steroids — Lessons from Scale] by Sanket Saurav #pycon

Hashtags

djangoproject

@djangoproject · Post #367 · 04.07.2017 г., 13:34

https://pycon-au.org/ #Pycon Australia 2017 Melbourne(August 3-8, 2017, Melbourne Convention Centre): ♦️Unit Testing with Requests ♦️Lightflow - A lightweight, distributed workflow system ♦️Passing the Baton: Succession planning for your project ♦️Time is an illusion ♦️Prototyping Python Microservices in Production ♦️Programming Lego Mindstorms robots with Python ♦️Secrets of a WSGI master. ♦️Code Reviews Using Art Critique Principles ♦️Decoding the Frustrations and Vulnerabilities of Modern Text Processing ♦️An introduction to nodepool ♦️Improving Your Documentation: A talk for developers who want to write stuff good ♦️StarLAB: Developing a hardware based learning platform for students ♦️The Wizardry of Metaprogramming ♦️Video recording conferences and user groups using Python ♦️Messy Sensor Data: A Programmer’s Cleaning Guide ♦️Python vs Punch Out ♦️When Do We Belong? ♦️Covered in Bees! Deploying an app to 6 platforms in 20 minutes

Hashtags

djangoproject

@djangoproject · Post #366 · 04.07.2017 г., 13:14

https://pycon-au.org/ #Pycon Australia 2017 Melbourne(August 3-8, 2017, Melbourne Convention Centre): ♦️Bayesian inference & machine learning ♦️Practical testing with pytest ♦️Django & JavaScript: A long and complicated friendship ♦️Python to the (Little) People: teaching 300,000 students Python through the DT Curriculum ♦️Tuning In with SDR & Python ♦️Building the next-generation Conversational AI with Python and Deep Learning ♦️Using Python in a Data Hackathon ♦️Reflections on the Use of Python and Pygame in Senior IT ♦️Loop better: a deeper look at iteration in Python ♦️Using MicroPython in the wild ♦️Teaching Object-Oriented Programming with Python ♦️Program all the things - How to develop IoT devices using MicroPython ♦️Oh, I Found a Security Issue ♦️Learn You a PyTorch! ♦️Offline Django with Service Workers ♦️Python in Primary School ♦️Software for the Murchison Widefield Array radio telescope ♦️MicroPython for ESP32 ♦️Finding Currajong - Fuzzy string searches in Python ♦️Teaching MicroPython with the BBC micro:bit at NCSS ♦️hunter2: A Symphony of Password Horror The Messaging of Things ♦️Rapid GUI development for IOT systems ♦️Let's Run Python on a Supercomputer! ♦️Teaching Python: Adapting to Diversity ♦️Multitenant applications: how and why ♦️Horrors of Distributed Systems ♦️MicroPython Energy Monitoring ♦️Tracking Land Conversion with the Eye in the Sky ♦️iPad App Development with Python ♦️Visualising data in Python ♦️Red User, Blue User, MyUser, auth.User ♦️Programming, Python, and Student-Directed Projects ♦️Using Python For Creating Hardware To Record FOSS Conferences ♦️DNA sequencing and analysis in a remote environment; Nanopore sequencing and FPGA boards. ♦️Teaching Python Online to Primary Students ♦️Word Embeddings everywhere, Which one to choose! ♦️Bowerbirds of Technology: Architecture and Operations at Less-Than-Facebook Scale ♦️Learn by Doing: Getting Students into FOSS ♦️From PyPI to Production: Shipping Software Responsibly. ♦️Improving PySpark Performance: Spark performance beyond the JVM ♦️How Django helped us make a better conference website ♦️PEP 498: The Monologue ♦️Comprehensible Comprehensions ♦️A Really Gentle Introduction to Asyncio ♦️Concurrency and Parallelism From The Ground Up ♦️Python: Ludicrous mode (with Django) ♦️Syntax Hijacking: Genius or Evil? ♦️Fighting the controls: madness and tragedy for programmers ♦️One Data Pipeline to Rule Them All ♦️Introduction to profiling python performance with SystemTap ♦️Harnessing the APIs you didn't know existed ♦️Analysing a TwitterBot using TextBlob, NLTK and Python ♦️Call a C API from Python becomes more enjoyable with CFFI ♦️Scaling Down: Running Large Sites Locally ♦️The Importance of Design: maybe the users aren't wrong? ♦️Mocking: virtual reality for your Python tests ♦️Organizing conferences for learners: How we made it work in Namibia ♦️Wordsmiths - Operational Transformation in Python ♦️Identity 2.0: the what, why and how of social and federated login ♦️Stereo Vision ♦️The Business of Community ♦️Front-end integration testing for back-end developers ♦️Automated Python Powered Turret ♦️GraphQL: how to make clients enjoy using your API ♦️We're no strangers to VoIP: Building the National Rick Astley Hotline ♦️How to write a container daemon in Python ♦️Why'd it have to be snakes: Porting Swift to Jupyter ♦️Gradual Typing in Python ♦️Don't Look Back in Anger: Wildman Whitehouse and the Great Failure of 1858 ♦️Hot reloading Python web-servers at scale Python 3 for People Who Haven't Been Paying Attention ♦️State Machines ♦️The four kinds of documentation, and why you need to understand what they are ♦️Lessons from building serverless services in bleeding edge python

Hashtags

djangoproject

@djangoproject · Post #368 · 04.07.2017 г., 13:39

http://2017.djangocon.com.au/ #DjangoCon AU: August 4, 2017 #PyCon AU: August 5 - 6, 2017 Sprints: August 7 - 8, 2017 🔷Django and JavaScript: A long and complicated friendship 🔷Bowerbirds of Technology: Architecture and Operations at Less-Than-Facebook Scale 🔷Loop better: a deeper look at iteration in Python 🔷Oh, I Found a Security Issue 🔷Offline Django with Service Workers 🔷hunter2: A Symphony of Password Horror 🔷Multitenant applications: how and why 🔷Horrors of Distributed Systems 🔷Red User, Blue User, MyUser, auth.User

djangoproject

@djangoproject · Post #508 · 26.11.2017 г., 22:12

The unexpected effectiveness of Python in #science. In a keynote on the first day of #PyCon 2017, Jake VanderPlas looked at the relationship between #Python and science. Over the last ten years or so, there has been a large rise in the amount of Python code being used—and released—by scientists. There are reasons for that, which VanderPlas described, but, perhaps more importantly, the growing practice of releasing all of this code can help solve one of the major problems facing science today: https://lwn.net/Articles/724255/

12
ПредишнаСтр. 1 от 2Следваща