home.social

#assert — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #assert, aggregated by home.social.

  1. The Karlspreis (Karl Prize) was presented on Thursday in the Aachen Town Hall's coronation hall to Mario Draghi, the former President of the European Central Ba... news.osna.fm/?p=45946 | #news #assert #calls #draghi #euro

  2. The Karlspreis (Karl Prize) was presented on Thursday in the Aachen Town Hall's coronation hall to Mario Draghi, the former President of the European Central Ba... news.osna.fm/?p=45946 | #news #assert #calls #draghi #euro

  3. The Karlspreis (Karl Prize) was presented on Thursday in the Aachen Town Hall's coronation hall to Mario Draghi, the former President of the European Central Ba... news.osna.fm/?p=45946 | #news #assert #calls #draghi #euro

  4. The Karlspreis (Karl Prize) was presented on Thursday in the Aachen Town Hall's coronation hall to Mario Draghi, the former President of the European Central Ba... news.osna.fm/?p=45946 | #news #assert #calls #draghi #euro

  5. 🚀 New #C++26 feature: a user-friendly #assert macro! Because, obviously, developers have been desperately waiting for a fluffy, hand-holding version of assert to validate the runtime conditions of their existential dread. 🙄 So, next time your code implodes, at least it will do so with a polite apology. 🤦‍♂️
    sandordargo.com/blog/2026/03/2 #macro #newfeature #developerhumor #programminglife #runtimevalidation #HackerNews #ngated

  6. 🚀 New #C++26 feature: a user-friendly #assert macro! Because, obviously, developers have been desperately waiting for a fluffy, hand-holding version of assert to validate the runtime conditions of their existential dread. 🙄 So, next time your code implodes, at least it will do so with a polite apology. 🤦‍♂️
    sandordargo.com/blog/2026/03/2 #macro #newfeature #developerhumor #programminglife #runtimevalidation #HackerNews #ngated

  7. 🚀 New #C++26 feature: a user-friendly #assert macro! Because, obviously, developers have been desperately waiting for a fluffy, hand-holding version of assert to validate the runtime conditions of their existential dread. 🙄 So, next time your code implodes, at least it will do so with a polite apology. 🤦‍♂️
    sandordargo.com/blog/2026/03/2 #macro #newfeature #developerhumor #programminglife #runtimevalidation #HackerNews #ngated

  8. 🚀 New #C++26 feature: a user-friendly #assert macro! Because, obviously, developers have been desperately waiting for a fluffy, hand-holding version of assert to validate the runtime conditions of their existential dread. 🙄 So, next time your code implodes, at least it will do so with a polite apology. 🤦‍♂️
    sandordargo.com/blog/2026/03/2 #macro #newfeature #developerhumor #programminglife #runtimevalidation #HackerNews #ngated

  9. 🚀 New #C++26 feature: a user-friendly #assert macro! Because, obviously, developers have been desperately waiting for a fluffy, hand-holding version of assert to validate the runtime conditions of their existential dread. 🙄 So, next time your code implodes, at least it will do so with a polite apology. 🤦‍♂️
    sandordargo.com/blog/2026/03/2 #macro #newfeature #developerhumor #programminglife #runtimevalidation #HackerNews #ngated

  10. Franziska Brantner, co‑chair of the Greens, urged Europe to increase its pace and confidence in dealings with U.S. President Donald Trump on digital independenc... news.osna.fm/?p=34572 | #news #amid #assert #digital #europe

  11. Franziska Brantner, co‑chair of the Greens, urged Europe to increase its pace and confidence in dealings with U.S. President Donald Trump on digital independenc... news.osna.fm/?p=34572 | #news #amid #assert #digital #europe

  12. Franziska Brantner, co‑chair of the Greens, urged Europe to increase its pace and confidence in dealings with U.S. President Donald Trump on digital independenc... news.osna.fm/?p=34572 | #news #amid #assert #digital #europe

  13. Franziska Brantner, co‑chair of the Greens, urged Europe to increase its pace and confidence in dealings with U.S. President Donald Trump on digital independenc... news.osna.fm/?p=34572 | #news #amid #assert #digital #europe

  14. Franziska Brantner, co‑chair of the Greens, urged Europe to increase its pace and confidence in dealings with U.S. President Donald Trump on digital independenc... news.osna.fm/?p=34572 | #news #amid #assert #digital #europe

  15. Заменяем лишние if-проверки на assert для инвариантов кода в C/C++

    Многие разработчики привыкли везде ставить if-проверки, даже для условий, гарантированных кодом. Зачем проверять то, что не может нарушиться? Такие проверки создают шум в коде и мусор в релизе. Assert решает эту проблему: документирует допущения и исчезает из финальной сборки. В статье покажу все преимущества assert'ов и предостерегу от подводных камней их использования.

    habr.com/ru/articles/962668/

    #C++ #C #assert #инварианты #ifelse #NDEBUG #Design_by_Contract #код_как_документация

  16. Design by Contract на минималках: пишем assertions и улучшаем устойчивость на Go

    Всем привет! Меня зовут Александр Иванов, я старший разработчик в YADRO, работаю над созданием средств управления элементами опорной сети и пишу на Go. Мы с командой разрабатываем продукт для сервисов сотовой связи — качество нашей работы влияет на пользовательский опыт тысяч людей. Поэтому часто мы ищем решения, как повысить устойчивость работы кода в продакшене. Об одном из таких решений я расскажу в этой статье. Design by Contract — подход к проектированию ПО, в котором взаимодействие компонентов системы основано на контрактах. Контракты описывают ожидания вызываемой и вызывающей функции и улучшают производительность кода.

    habr.com/ru/companies/yadro/ar

    #dbc #design_by_contract #defensive_programming #assertion #assert #продакшен #производительность

  17. Careful when using Python's `assert` statement: Normally you can use parentheses to wrap long lines in Python without using backslashes. For `assert` it doesn't work:

    assert(some_condition,
    "Some description")

    This never fails, as Python's `assert` seens an `assert statement with a tuple as condition. This really has to be written like this:

    assert some_condition, \
    "Some description"

    I just fell into that trap for you.

    #Python #Assert #Mistakes

  18. Careful when using Python's `assert` statement: Normally you can use parentheses to wrap long lines in Python without using backslashes. For `assert` it doesn't work:

    assert(some_condition,
    "Some description")

    This never fails, as Python's `assert` seens an `assert statement with a tuple as condition. This really has to be written like this:

    assert some_condition, \
    "Some description"

    I just fell into that trap for you.

    #Python #Assert #Mistakes

  19. Careful when using Python's `assert` statement: Normally you can use parentheses to wrap long lines in Python without using backslashes. For `assert` it doesn't work:

    assert(some_condition,
    "Some description")

    This never fails, as Python's `assert` seens an `assert statement with a tuple as condition. This really has to be written like this:

    assert some_condition, \
    "Some description"

    I just fell into that trap for you.

    #Python #Assert #Mistakes

  20. Careful when using Python's `assert` statement: Normally you can use parentheses to wrap long lines in Python without using backslashes. For `assert` it doesn't work:

    assert(some_condition,
    "Some description")

    This never fails, as Python's `assert` seens an `assert statement with a tuple as condition. This really has to be written like this:

    assert some_condition, \
    "Some description"

    I just fell into that trap for you.

    #Python #Assert #Mistakes

  21. Careful when using Python's `assert` statement: Normally you can use parentheses to wrap long lines in Python without using backslashes. For `assert` it doesn't work:

    assert(some_condition,
    "Some description")

    This never fails, as Python's `assert` seens an `assert statement with a tuple as condition. This really has to be written like this:

    assert some_condition, \
    "Some description"

    I just fell into that trap for you.

    #Python #Assert #Mistakes

  22. The recent US military action against Venezuela has ignited a renewed call within Germany for a significant shift in Europe's geopolitical posture. Omid Nouripo... news.osna.fm/?p=29529 | #news #assert #europe #global #itself

  23. The recent US military action against Venezuela has ignited a renewed call within Germany for a significant shift in Europe's geopolitical posture. Omid Nouripo... news.osna.fm/?p=29529 | #news #assert #europe #global #itself

  24. The recent US military action against Venezuela has ignited a renewed call within Germany for a significant shift in Europe's geopolitical posture. Omid Nouripo... news.osna.fm/?p=29529 | #news #assert #europe #global #itself

  25. Заменяем лишние if-проверки на assert для инвариантов кода в C/C++

    Многие разработчики привыкли везде ставить if-проверки, даже для условий, гарантированных кодом. Зачем проверять то, что не может нарушиться? Такие проверки создают шум в коде и мусор в релизе. Assert решает эту проблему: документирует допущения и исчезает из финальной сборки. В статье покажу все преимущества assert'ов и предостерегу от подводных камней их использования.

    habr.com/ru/articles/962668/

    #C++ #C #assert #инварианты #ifelse #NDEBUG #Design_by_Contract #код_как_документация

  26. Заменяем лишние if-проверки на assert для инвариантов кода в C/C++

    Многие разработчики привыкли везде ставить if-проверки, даже для условий, гарантированных кодом. Зачем проверять то, что не может нарушиться? Такие проверки создают шум в коде и мусор в релизе. Assert решает эту проблему: документирует допущения и исчезает из финальной сборки. В статье покажу все преимущества assert'ов и предостерегу от подводных камней их использования.

    habr.com/ru/articles/962668/

    #C++ #C #assert #инварианты #ifelse #NDEBUG #Design_by_Contract #код_как_документация

  27. Заменяем лишние if-проверки на assert для инвариантов кода в C/C++

    Многие разработчики привыкли везде ставить if-проверки, даже для условий, гарантированных кодом. Зачем проверять то, что не может нарушиться? Такие проверки создают шум в коде и мусор в релизе. Assert решает эту проблему: документирует допущения и исчезает из финальной сборки. В статье покажу все преимущества assert'ов и предостерегу от подводных камней их использования.

    habr.com/ru/articles/962668/

    #C++ #C #assert #инварианты #ifelse #NDEBUG #Design_by_Contract #код_как_документация

  28. [Перевод] Один assert на тест. А может быть, нет?

    Команда Spring АйО перевела статью эксперта Михаила Поливахи о том, почему правило о единственном assert'е на тест иногда можно и нужно нарушать.

    habr.com/ru/companies/spring_a

    #java #kotlin #assert #test #spring #spring_boot #spring_framework #springboot #testing #testing_strategy

  29. [Перевод] Один assert на тест. А может быть, нет?

    Команда Spring АйО перевела статью эксперта Михаила Поливахи о том, почему правило о единственном assert'е на тест иногда можно и нужно нарушать.

    habr.com/ru/companies/spring_a

    #java #kotlin #assert #test #spring #spring_boot #spring_framework #springboot #testing #testing_strategy

  30. [Перевод] Один assert на тест. А может быть, нет?

    Команда Spring АйО перевела статью эксперта Михаила Поливахи о том, почему правило о единственном assert'е на тест иногда можно и нужно нарушать.

    habr.com/ru/companies/spring_a

    #java #kotlin #assert #test #spring #spring_boot #spring_framework #springboot #testing #testing_strategy

  31. [Перевод] Один assert на тест. А может быть, нет?

    Команда Spring АйО перевела статью эксперта Михаила Поливахи о том, почему правило о единственном assert'е на тест иногда можно и нужно нарушать.

    habr.com/ru/companies/spring_a

    #java #kotlin #assert #test #spring #spring_boot #spring_framework #springboot #testing #testing_strategy

  32. Design by Contract на минималках: пишем assertions и улучшаем устойчивость на Go

    Всем привет! Меня зовут Александр Иванов, я старший разработчик в YADRO, работаю над созданием средств управления элементами опорной сети и пишу на Go. Мы с командой разрабатываем продукт для сервисов сотовой связи — качество нашей работы влияет на пользовательский опыт тысяч людей. Поэтому часто мы ищем решения, как повысить устойчивость работы кода в продакшене. Об одном из таких решений я расскажу в этой статье. Design by Contract — подход к проектированию ПО, в котором взаимодействие компонентов системы основано на контрактах. Контракты описывают ожидания вызываемой и вызывающей функции и улучшают производительность кода.

    habr.com/ru/companies/yadro/ar

    #dbc #design_by_contract #defensive_programming #assertion #assert #продакшен #производительность

  33. Design by Contract на минималках: пишем assertions и улучшаем устойчивость на Go

    Всем привет! Меня зовут Александр Иванов, я старший разработчик в YADRO, работаю над созданием средств управления элементами опорной сети и пишу на Go. Мы с командой разрабатываем продукт для сервисов сотовой связи — качество нашей работы влияет на пользовательский опыт тысяч людей. Поэтому часто мы ищем решения, как повысить устойчивость работы кода в продакшене. Об одном из таких решений я расскажу в этой статье. Design by Contract — подход к проектированию ПО, в котором взаимодействие компонентов системы основано на контрактах. Контракты описывают ожидания вызываемой и вызывающей функции и улучшают производительность кода.

    habr.com/ru/companies/yadro/ar

    #dbc #design_by_contract #defensive_programming #assertion #assert #продакшен #производительность

  34. Design by Contract на минималках: пишем assertions и улучшаем устойчивость на Go

    Всем привет! Меня зовут Александр Иванов, я старший разработчик в YADRO, работаю над созданием средств управления элементами опорной сети и пишу на Go. Мы с командой разрабатываем продукт для сервисов сотовой связи — качество нашей работы влияет на пользовательский опыт тысяч людей. Поэтому часто мы ищем решения, как повысить устойчивость работы кода в продакшене. Об одном из таких решений я расскажу в этой статье. Design by Contract — подход к проектированию ПО, в котором взаимодействие компонентов системы основано на контрактах. Контракты описывают ожидания вызываемой и вызывающей функции и улучшают производительность кода.

    habr.com/ru/companies/yadro/ar

    #dbc #design_by_contract #defensive_programming #assertion #assert #продакшен #производительность

  35. RT by @cleanenergy_EU: 📌Open Call: Apply for mentorship programme to address #energypoverty for persons with disabilities.
    #ASSERT is looking for 25 pairs of municipalities & intermediaries across five pilot countries🌐Cyprus, France, Greece, Italy, Spain
    ⏲️Apply by 3 March
    🖱️energy-poverty.ec.europa.eu/no
    ---
    nitter.privacydev.net/EPAH_EU/

  36. RT by @cleanenergy_EU: 📌Open Call: Apply for mentorship programme to address #energypoverty for persons with disabilities.
    #ASSERT is looking for 25 pairs of municipalities & intermediaries across five pilot countries🌐Cyprus, France, Greece, Italy, Spain
    ⏲️Apply by 3 March
    🖱️energy-poverty.ec.europa.eu/no
    ---
    nitter.privacydev.net/EPAH_EU/

  37. Почему мы отказались от выражения «assert» в Python

    В текущем проекте на Python мы практически полностью отказались от использования выражений с ключевым словом assert , и в этой статье я расскажу почему. Рассмотрим кейсы где использование выражений assert уместно, а где оно может выстрелить в ногу, и как этого избежать.

    habr.com/ru/articles/876170/

    #python #assert #exception #исключения #pytest #pydantic #линтер #интерпретатор #баги #ошибки

  38. Почему мы отказались от выражения «assert» в Python

    В текущем проекте на Python мы практически полностью отказались от использования выражений с ключевым словом assert , и в этой статье я расскажу почему. Рассмотрим кейсы где использование выражений assert уместно, а где оно может выстрелить в ногу, и как этого избежать.

    habr.com/ru/articles/876170/

    #python #assert #exception #исключения #pytest #pydantic #линтер #интерпретатор #баги #ошибки

  39. Почему мы отказались от выражения «assert» в Python

    В текущем проекте на Python мы практически полностью отказались от использования выражений с ключевым словом assert , и в этой статье я расскажу почему. Рассмотрим кейсы где использование выражений assert уместно, а где оно может выстрелить в ногу, и как этого избежать.

    habr.com/ru/articles/876170/

    #python #assert #exception #исключения #pytest #pydantic #линтер #интерпретатор #баги #ошибки

  40. Почему мы отказались от выражения «assert» в Python

    В текущем проекте на Python мы практически полностью отказались от использования выражений с ключевым словом assert , и в этой статье я расскажу почему. Рассмотрим кейсы где использование выражений assert уместно, а где оно может выстрелить в ногу, и как этого избежать.

    habr.com/ru/articles/876170/

    #python #assert #exception #исключения #pytest #pydantic #линтер #интерпретатор #баги #ошибки

  41. [blog] Tester en javasscript

    Poursuite de mes réflexions sur la manière de faire des tests unitaires en javascript rapidement sans devoir utiliser de librairies tiers, simplement avec console.assert.

    Aujourd'hui, rajouter un peu de couleur dans la console.

    omacronides.com/notes/2024-12-

    #javascript #test #assert #code

  42. [blog] Tester en javasscript

    Poursuite de mes réflexions sur la manière de faire des tests unitaires en javascript rapidement sans devoir utiliser de librairies tiers, simplement avec console.assert.

    Aujourd'hui, rajouter un peu de couleur dans la console.

    omacronides.com/notes/2024-12-

    #javascript #test #assert #code

  43. [blog] Tester en javasscript

    Poursuite de mes réflexions sur la manière de faire des tests unitaires en javascript rapidement sans devoir utiliser de librairies tiers, simplement avec console.assert.

    Aujourd'hui, rajouter un peu de couleur dans la console.

    omacronides.com/notes/2024-12-

    #javascript #test #assert #code

  44. [blog] Tester en javasscript

    Poursuite de mes réflexions sur la manière de faire des tests unitaires en javascript rapidement sans devoir utiliser de librairies tiers, simplement avec console.assert.

    Aujourd'hui, rajouter un peu de couleur dans la console.

    omacronides.com/notes/2024-12-

    #javascript #test #assert #code