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

TGINSIGHT SIMILAR POSTS

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

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

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

Hashtags

Резултати

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

Търсене: #effect

当前筛选 #effect清除筛选
Journey to Fluency

@fluencyinenglish · Post #7410 · 12.11.2019 г., 06:31

#vocabulary #collocations #effect @fluencyinenglish @ieltsstrategies 🤞Sharing is caring🤞 ❇️Effect 🔹side effect an unwanted and unplanned effect that something has – used especially (about drugs and medical treatment) Common side effects of the drug may include headaches and muscle pains. 🔹after effects bad effects that continue for a long time after the thing that caused them A traumatic experience can have severe psychological after-effects war. 🔹repercussions /ˌriːpəˈkʌʃəns $ -pər-/ the effects that happen later as a result of an event or decision, especially a range of effects that continue for a long time The scandal could have serious repercussions for her career.The judge’s decision is likely to have important repercussions for future cases of this kind. 🔹a knock-on effect used when something has an effect on something, which then has an effect on something else Higher oil prices have a knock-on effect on other fuels ❇️VERBS have an effect on something/somebody Eating junk food will eventually have an effect on your health. 🔹have the effect of doing somethingThe news had the effect of making everyone feel better. 🔹produce an effect formalIf we combine these sounds, they produce an effect that is almost jazzy. 🔹feel an effect (=notice it)Small companies will feel the effect of the recession first. 🔹lessen/reduce an effect (=make an effect smaller or less severe)The government must take action to reduce the effects of pollution. 🔹cushion the effect of something(=make it less bad)Lower mortgage rates will cushion the effect of rising house prices. 🔹an effect lasts (=continues)The effect of the drug lasts about six hours. 🔹an effect wears off (=gradually stops)The effect of the anaesthetic was beginning to wear off. ❇️ADJECTIVES 🔹big/majorThe teachers’ strike had a big effect on many schools. 🔹significant/substantial/marked (=quite big)Global warming could have a significant effect on agriculture in many parts of the world. 🔹profound/powerful (=very big, in a way that changes someone or something significantly )My father’s death had a profound effect on me. 🔹dramatic (=very big and sudden)Taking the new drug had a dramatic effect on his health. 🔹negligible/minimal formal (=very small)The advertising campaign had a negligible effect on demand. 🔹immediate (=quick and sudden)The announcement had an immediate effect on stock prices. good Inflation can sometimes have some good effects on the economy. @fluencyinenglish @ieltsstrategies 🔹positive/beneficial (=good, or helping someone or something in some way)The incident had a very positive effect on his career.badWorking too hard was beginning to have a bad effect on my health. 🔹negative/detrimental (=bad or harmful)the negative effects of low rainfall @fluencyinenglish @ieltsstrategies 🔹harmful/damaging (=causing harm or damage to something or someone)the harmful effects of drinking too much alcoholSome of the effects can be quite damaging. 🔹visible/noticeable (=an effect that you can clearly see)He drank five beers, but they did not seem to have any visible effect on him. @fluencyinenglish @ieltsstrategies 🔹the adverse effects formal (=the bad effects)No one told them about the adverse effects of smoking marijuana. 🔹the long-term/short-term effect(=having an effect for a long or short time)Many boxers suffer with the long-term effects of punches to the head. @fluencyinenglish @ieltsstrategies 🔹a knock-on effect (=an effect that is caused by something that has happened before)The strike could have a knock-on effect at other airports. @fluencyinenglish @ieltsstrategies 🔹a cumulative effect (=the effect of many things happening one after the other)The cumulative effect of these policies will be to push up inflation. 🔹the desired effect (=the effect you want) @fluencyinenglish @ieltsstrategies 🔹the full effect (=the whole effect) 🔹a calming/soothing effect (=one that makes you feel less angry, excited, or nervous) @fluencyinenglish @ieltsstrategies

Journey to Fluency

@fluencyinenglish · Post #6435 · 14.09.2018 г., 12:15

#vocabulary #collocations #effect @fluencyinenglish @ieltsstrategies 🤞Sharing is caring🤞 ❇️Effect 🔹side effect an unwanted and unplanned effect that something has – used especially (about drugs and medical treatment) Common side effects of the drug may include headaches and muscle pains. 🔹after effects bad effects that continue for a long time after the thing that caused them A traumatic experience can have severe psychological after-effects war. 🔹repercussions /ˌriːpəˈkʌʃəns $ -pər-/ the effects that happen later as a result of an event or decision, especially a range of effects that continue for a long time The scandal could have serious repercussions for her career.The judge’s decision is likely to have important repercussions for future cases of this kind. 🔹a knock-on effect used when something has an effect on something, which then has an effect on something else Higher oil prices have a knock-on effect on other fuels ❇️VERBS have an effect on something/somebody Eating junk food will eventually have an effect on your health. 🔹have the effect of doing somethingThe news had the effect of making everyone feel better. 🔹produce an effect formalIf we combine these sounds, they produce an effect that is almost jazzy. 🔹feel an effect (=notice it)Small companies will feel the effect of the recession first. 🔹lessen/reduce an effect (=make an effect smaller or less severe)The government must take action to reduce the effects of pollution. 🔹cushion the effect of something(=make it less bad)Lower mortgage rates will cushion the effect of rising house prices. 🔹an effect lasts (=continues)The effect of the drug lasts about six hours. 🔹an effect wears off (=gradually stops)The effect of the anaesthetic was beginning to wear off. ❇️ADJECTIVES 🔹big/majorThe teachers’ strike had a big effect on many schools. 🔹significant/substantial/marked (=quite big)Global warming could have a significant effect on agriculture in many parts of the world. 🔹profound/powerful (=very big, in a way that changes someone or something significantly )My father’s death had a profound effect on me. 🔹dramatic (=very big and sudden)Taking the new drug had a dramatic effect on his health. 🔹negligible/minimal formal (=very small)The advertising campaign had a negligible effect on demand. 🔹immediate (=quick and sudden)The announcement had an immediate effect on stock prices. good Inflation can sometimes have some good effects on the economy. @fluencyinenglish @ieltsstrategies 🔹positive/beneficial (=good, or helping someone or something in some way)The incident had a very positive effect on his career.badWorking too hard was beginning to have a bad effect on my health. 🔹negative/detrimental (=bad or harmful)the negative effects of low rainfall @fluencyinenglish @ieltsstrategies 🔹harmful/damaging (=causing harm or damage to something or someone)the harmful effects of drinking too much alcoholSome of the effects can be quite damaging. 🔹visible/noticeable (=an effect that you can clearly see)He drank five beers, but they did not seem to have any visible effect on him. @fluencyinenglish @ieltsstrategies 🔹the adverse effects formal (=the bad effects)No one told them about the adverse effects of smoking marijuana. 🔹the long-term/short-term effect(=having an effect for a long or short time)Many boxers suffer with the long-term effects of punches to the head. @fluencyinenglish @ieltsstrategies 🔹a knock-on effect (=an effect that is caused by something that has happened before)The strike could have a knock-on effect at other airports. @fluencyinenglish @ieltsstrategies 🔹a cumulative effect (=the effect of many things happening one after the other)The cumulative effect of these policies will be to push up inflation. 🔹the desired effect (=the effect you want) @fluencyinenglish @ieltsstrategies 🔹the full effect (=the whole effect) 🔹a calming/soothing effect (=one that makes you feel less angry, excited, or nervous) @fluencyinenglish @ieltsstrategies

Journey to Fluency

@fluencyinenglish · Post #6256 · 16.07.2018 г., 10:31

#collocations #effect #vocabulary @ieltsstrategies @fluencyinenglish لغت effect هم ‌در رایتینگ و سپیکینگ معمولا کاربرد زیادی در آزمون آیلتس پیدا می کند. زیرا، در برخی از سوالات از ما خواسته میشه که تاثیرات یک سری عوامل را چه از لحاظ منفی و‌چه مثبت توضیح دهیم. در ادامه کالوکیشن های مهم که همراه با effect می آیند را برای شما آورده ایم. @ieltsstrategies @fluencyinenglish ✅Crippling/destructive/damaging effect تاثیر مخرب @ieltsstrategies @fluencyinenglish ✅ culminative effect تاثیر کلی ✅ To ease the effect of sth عواقب/اثرات .... را کاهش دادن. @ieltsstrategies @fluencyinenglish ✅Ameliorate/cushion/lessen/minimize/reduce the effect of sth اثر/تاثیر چیزی را کاستن @ieltsstrategies @fluencyinenglish ✅marginal/negligible/subtle effect تاثیر ناچیز @ieltsstrategies @fluencyinenglish ✅lasting effects تاثیرات ماندگار @ieltsstrategies @fluencyinenglish ✅knock-on effect تاثیر نا مطلوب، پی آمدهای ناگوار @ieltsstrategies @fluencyinenglish ✅ yo-yo effect نوسان، ترقی و تنزل ✅ undesirable effect اثر نامطلوب @ieltsstrategies @fluencyinenglish ✅ permanent/lasting/ long term effect تاثیر دایمی @ieltsstrategies @fluencyinenglish

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